-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release apk export missing icons and splashes #50623
Comments
@noidexe Please upload a minimal reproduction project to make this easier to troubleshoot. Also, are you using the old APK-based way to export a project, or the new custom build/AAB-based way? |
Added an empty project with the icon and slashes, and a fresh signing key generated just as explained in the docs. I'm using the old APK-based way (the current default AFAIK). Here's a verbose log of a debug and release export. See the weird filenames when exporting as release:
When I export as release using 3.2.2 it generates the correct filenames |
The issue seems limited to the old method of exporting. If you install the android template, tick Custom Build and export as APK it seems to work just fine. Added it as a workaround in the issue description. |
Looks like the release build template was optimized when it wasn't in the past. Could be a side effect of the upgrade to the plugin version; I'll take a look. |
According to the documentation: So yes, release builds are optimized by default. It should be possible to disable that however. |
On 3.4 using the custom android template I get the same directory structure with short names (I guess that's the optimized one?) but the icon and splashes are there, so I don't know if that is the cause. |
Godot version
3.4.beta1.official
System information
Windows 10, GLES 3, GTX 2060
Issue description
Apks in release mode lack custom icons and splashes. It works well when doing debug exports.
Here's a comparison of the res folder in both apk (release on the left, debug on the right).Update: the directory structure seems unrelated to the error. When building the APK on release mode using the Androd Build Template all icons and splashes are exported correctly
Workaround: Install Android Build Template and select "Custom Build" in export settings
Steps to reproduce
Export debug and release apks
Minimal reproduction project
Icon and Splash Missing.zip
The text was updated successfully, but these errors were encountered: