godot: Exporting to android now fails with error code 20
Godot version: 72c44bafac6e280b5e1e99b417588624bfb5ecc6
OS/device including version: MacOS 10.15.12
Issue description: When compiling from 72c44bafac6e280b5e1e99b417588624bfb5ecc6 my android export is now broken where it was successful before.
when using a custom build I get this:
arguments
0: ./editor/godot.osx.opt.tools.64
1: --path
2: project
3: --export
4: android
5: ../export/android/GameOne.apk
Current path: /Users/mattiasmyhrman/Repositories/gameone
Godot Engine v3.2.rc.custom_build.7617336d7 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 775M OpenGL Engine
Registered camera FaceTime HD Camera (Built-in) with id 1 position 0 at index 0
export: begin: Exporting for Android steps: 105
export: end
ERROR: _fs_changed: Project export failed with error code 20 for preset 'android'.
At: editor/editor_node.cpp:634.
When not using a custom build it exports successfully however when pushing to device I get
adb: failed to install export/android/GameOne.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Starting: Intent { act=android.intent.action.MAIN cmp=org.godotengine.gameone/com.godot.game.GodotApp }
Error type 3
Error: Activity class {org.godotengine.gameone/com.godot.game.GodotApp} does not exist.
Both of these were working in rc1 IIRC so something seems to have happened with the manifest regeneration(?)
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 1
- Comments: 20 (8 by maintainers)
@Myran Maybe we could add an
--install-export-template <file>
command-line argument that installs a TPZ file or Android source ZIP in the right location. This way, the user doesn’t need to know in advance the version identifier to use. This means you’d have to run the Godot headless binary twice in CI environments, but it’s probably not an issue.Havent looked at this repo in a while and went digging. Its rough around the edges but it worked AFAIK. At this point the details are very hazy unfortunately…
Building the android export based on custom godot version (3.2 somewhere IIRC) using this script:
this is the android part in the gitlab CI which uses it.
the script “install_android_source.sh” :
See https://github.com/godotengine/godot-proposals/issues/1277. Nobody is currently working on implementing this feature, but pull requests are welcome 🙂