-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Export to Android fails with INSTALL_PARSE_FAILED_NO_CERTIFICATES if debug keystore unspecified #27574
Comments
Updated to be a UX "improvement" request now that I figured out the problem. |
I'm getting the same error when running my app though adb. How come? |
@akien-mga I think this is fixed by e3e5a1b |
@volzhs I wonder as this commit was included in OP says:
I think not specifying the debug key might indeed be prevented by e3e5a1b, but maybe it's still possible to export with a debug key and wrong username/password that would trigger this error. |
Thanks. Regrettably it didn't pan out to a real-time check like shown in the screen shot because I couldn't figure out a good way to optimize it. I moved it to a pre-export check that will stop the export early if the password/username isn't correct and give you an error message telling you what's wrong. |
Nice, thanks for fixing this! (Three years in the making 😁 ) |
Godot version: 3.1
OS/device including version: Windows 8
Issue description: Running on Android fails. It should succeed (valid APK)
This is similar to #18222. When I run/export on Android, nothing happens. Exporting the APK file and then installing it via ADB shows this error:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1971499572.tmp/base.apk: Attempt to get length of null array]
The root cause? I didn't specify a debug key, or I didn't specify the correct user name and password. Specifying those, fixes the problem.
My ask: make the failure reason more clear to the user. (Especially for users without Android experience, it would be best to see the error in a Godot pop-up of some sort.)
The text was updated successfully, but these errors were encountered: