Godot Version
Godot v4.2.1 stable.official
Question
New to Godot here and I’ve been trying (and failing) to export a test .aab file to an android device for about 10 days now. I’ve been able to resolve a mountain of errors, but the latest one confuses me. I get this error:
Task :compileDebugJavaWithJavac FAILED
/Users/folder_name/folder_name_2/GodotGames/Game_Test/android/build/src/com/godot/game/Godot>App.java:44: error: package R does not exist
setTheme(R.style.GodotAppMainTheme);
^
1 error
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:compileDebugJavaWithJavac’.
Compilation failed; see the compiler error output for details.
What I think the error is telling me is that I don’t have a “R” package and thus when attempting to retrieve a style for the Godot App Main Theme an exception is generated.
I have no idea of what to do to resolve this, no idea what the R package is and if/where I’m creating or using a Godot App Main Theme. Any assistance would greatly help this newbie.