• Building
  • Android "App not installed" in Godot 3.3.2, no problems in 3.2.3

I have a project that I can export to apk and install on my phone without problems in Godot 3.2.3. But when I open the exact same project in Godot 3.3.2, trying to install the apk will say "App not installed". Also clicking the android logo in editor to try to run from there will say "Could not install app".

(Note: I am able to export and install a different project in Godot 3.3.2.)

What could make the difference?

When I upgraded from 3.2.3 to 3.2.4 RC3, which eventually became 3.3, some of the Android export settings were lost, and I had to reset them.

Check both Editor >> Editor Settings >> General >> Export >> Android, and Project >> Export >> Android.

You could also try installing from the command line with adb, and see if you get any error messages.

Thank you for the tip. When I install through adb I get the following error message: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1028936773.tmp/base.apk: Attempt to get length of null array] After some searching, this provided an answer: https://godotengine.org/qa/20988/android-installation-fails

  • Checking the apk with ./jarsigner -verify -verbose -certs xxx.apk showed: no manifest and unsigned
  • Manually signing made it installable: ./jarsigner -verbose -keystore debug.keystore -storepass android -keypass android xxx.apk androiddebugkey

But I have no idea why it doesn't work automatically for this project. (The difference with the other working project is that that one uses a custom build, maybe that has some influence)

15 days later

@GForce said: Thank you for the tip. When I install through adb I get the following error message: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1028936773.tmp/base.apk: Attempt to get length of null array] After some searching, this provided an answer: https://godotengine.org/qa/20988/android-installation-fails

  • Checking the apk with ./jarsigner -verify -verbose -certs xxx.apk showed: no manifest and unsigned
  • Manually signing made it installable: ./jarsigner -verbose -keystore debug.keystore -storepass android -keypass android xxx.apk androiddebugkey

But I have no idea why it doesn't work automatically for this project. (The difference with the other working project is that that one uses a custom build, maybe that has some influence)

I have to sign it manually too.

6 days later

Update in case it helps anyone. I now checked, when I use custom build for this app, it indeed also works without having to manually sign