Problem with running Android

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

Hi Folks,
First of all, sorry for my bad english grammar.
I’m a beginner in android dev and godot.

I am getting the following error:

- Signed by "CN=Android Debug, O=Android, C=US"
    Digest algorithm: SHA1
    Signature algorithm: MD5withRSA, 2048-bit key

jar verified.

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 certi
ficate's expiration date (2045-02-07) or after any future revocation date.

Re-run with the -verbose and -certs options for more details.
Uninstalling previous version: Motorola XT1033
running cmdline: "C:/adb/adb.exe" "-s" "0423296986" "uninstall" "org.godotengine.alphadash"
Failure [DELETE_FAILED_INTERNAL_ERROR]
Installing into device (please wait..): Motorola XT1033
running cmdline: "C:/adb/adb.exe" "-s" "0423296986" "install" "-r" "C:\Users\Guilherme\AppData\Roaming/Godot/tmp/tmpexport.apk"
6769 KB/s (20724917 bytes in 2.989s)
        pkg: /data/local/tmp/tmpexport.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
running cmdline: "C:/adb/adb.exe" "-s" "0423296986" "reverse" "--remove-all"
running cmdline: "C:/adb/adb.exe" "-s" "0423296986" "reverse" "tcp:6096" "tcp:6096"
Reverse result: 0
running cmdline: "C:/adb/adb.exe" "-s" "0423296986" "reverse" "tcp:6010" "tcp:6010"
Reverse result2: 0
running cmdline: "C:/adb/adb.exe" "-s" "0423296986" "shell" "am" "start" "-a" "android.intent.action.MAIN" "-n" "org.godotengine.alphadash/org.godoten
gine.godot.Godot"
Starting: Intent { act=android.intent.action.MAIN cmp=org.godotengine.alphadash/org.godotengine.godot.Godot }
Error type 3
Error: Activity class {org.godotengine.alphadash/org.godotengine.godot.Godot} does not exist.

My debug keystore was generated with this snnipet:

"C:\Program Files\Java\jdk1.8.0_144\bin\keytool.exe" -genkey -v -keyalg RSA -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\User_Name\.android\debug.keystore" -dname "CN=Android Debug,O=Android,C=US" -validity 9999

It worked at first, but suddenly, it stopped (i’ve probably messed it up somehow).

editor settings:

https://i.imgur.com/vHzQFsS.png

Im stucked…

:bust_in_silhouette: Reply From: VitaZheltyakov

Try:

  • generate key in Android Studio
  • change version of Java

Hello VitaZheltyakov, thanks for the fast reply.

Tried but had no success.
This morning I’ve created a new project, an empty one, and it worked.
After that, I made a copy of my project and removed some assets until it worked.

It was fixed after the deletion of a Blender DAE scene, that was very detailed.
Can the size of the project be a problem?

mickeleti | 2017-09-23 15:45

Maybe you just need to reboot your PC to make it work. It’s what I’ve think because every thing you’ve downloaded has to restart like the message say after you’ve downloaded something. Maybe Android just didn’t tell you anything so it’s not user friendly to what I think.

KramchayDig | 2020-07-30 16:29