Android app not installing

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Pedro Karut Gimenez
:warning: Old Version Published before Godot 3 was released.

Hi Guys! I have finished my game and I successufully exported it to Windows and Linux but when I export it to Android, the game simply doesn’t install. Anybody has had this problem? I am using Linux Ubuntu 14.04 and I hava Android Studio installed, Godot Engine 2.1 stable and the export templates. Any help would be appreciated.Thanks in advance :slight_smile:

How did you install it to Android device?
One click deploy in Godot editor?
Copy apk to device and run apk?
adb install command?

volzhs | 2016-08-23 03:41

Yes! One click deploy on the engine and then I copied to the smartpone and tried to install

Pedro Karut Gimenez | 2016-08-23 12:51

I yet can’t run the app :frowning:

Pedro Karut Gimenez | 2016-08-23 14:17

Any failure message on terminal when one click deploy in godot editor?
Try to run godot editor in terminal.

volzhs | 2016-08-23 15:32

Thanks!
The error message is:
"Warning:
This jar contains entries whose certificate chain is not validated.
This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate’s expiration date (2044-01-08) or after any future revocation date.

Re-run with the -verbose and -certs options for more details.
Uninstalling previous version: Motorola XT1058
Failure [DELETE_FAILED_INTERNAL_ERROR]
Installing into device (please wait…): Motorola XT1058
[100%] /data/local/tmp/tmpexport.apk
pkg: /data/local/tmp/tmpexport.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Reverse result: 0
Reverse result2: 0
Starting: Intent { act=android.intent.action.MAIN cmp=org.godotengine.jogogodot/org.godotengine.godot.Godot }
Error type 3
Error: Activity class {org.godotengine.jogogodot/org.godotengine.godot.Godot} does not exist."

Pedro Karut Gimenez | 2016-08-23 15:46

I had the same problem and was able to fixed it in the android settings… the Debug Keystore User and Debug Keystore Pass must match the user and password used when generating the keystore… Hope this helps

carlosuh | 2016-12-04 17:05

Please do NOT use not English characters on code or file system. Android gives error “APP NOT INSTALLED”

Okan Ozdemir | 2020-02-26 17:02

:bust_in_silhouette: Reply From: volzhs

[INSTALL_PARSE_FAILED_NO_CERTIFICATES] means that you didn’t specify keystore.
Fill the debug keystore parts at Settings > Editor Settings > Android for One click deploy.
And if you want to release it, you need to fill the Keystore part at Export > Android > Keystore.

You can make a keystore with keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
You can use this keystore on both one click deploy and export release.

Also, default debug keystore can be found in this location.

  • Windows Vista, 7, 8: C:\Users<user>.android\
  • Linux/OS X : ~/.android/

Information of this default debug keystore is below.

  • User alias : androiddebugkey
  • Password : android

Hi volzhs!
I did what you suggested, I used the default keystore and put the alias and the password above and I got this error:

Failure [DELETE_FAILED_INTERNAL_ERROR]
Installing into device (please wait…): Motorola XT1058
[100%] /data/local/tmp/tmpexport.apk
pkg: /data/local/tmp/tmpexport.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Reverse result: 0
Reverse result2: 0
Starting: Intent { act=android.intent.action.MAIN cmp=org.godotengine.jogogodot/org.godotengine.godot.Godot }
Error type 3
Error: Activity class {org.godotengine.jogogodot/org.godotengine.godot.Godot} does not exist.

Pedro Karut Gimenez | 2016-08-23 20:39

i have same issue now , have you found a solution ?

Fariskurd | 2017-09-26 12:10

:bust_in_silhouette: Reply From: Stepan_1990

Perhaps one or more files in your project contain the in its name invalid characters. Try using only a-z 0-9 and _. (It’s not all valid characters. There’s more.) It helped me.

My problem is solved with this way. Thank you.

canmese | 2019-03-29 21:42

Took me four days, reinstalled Android studio, JDK, etc. And finally, the problem was this. Thanks a lot.

ajargrey | 2019-04-20 17:02

Gracias amigo, me funcionó esto. Saludos desde México

EAeliasalejandro | 2019-11-28 07:05

Thank you! I didn’t know that you couldn’t include like “ñ” character that is used in spanish in names of the resources, I think is a big fail from Godot

abrajam | 2020-07-19 04:15

is “-” also invalid?

gemboy444 | 2021-03-17 03:59

My problem solves too. Thank You!!

Sylbur81PL | 2021-03-24 15:16