0 votes

I'am exporting a game to android, and i already set up the keystone and etc, everything alright. But when i try to install it on the android, it just shows "The apk was not installed". My friends also had this message, and i don't know what could be the reason, i alredy export a game a while ago and it worked properly.

Godot version 3.2.1
in Engine by (27 points)

Check this. Problems while installing your apk can be different based on your Android version.

can i change the apk version when extracting or something?

1 Answer

0 votes

first step:

jdk installation
just press download:
https://adoptopenjdk.net/index.html?variant=openjdk8&jvmVariant=hotspot
and go through installation

step 2:
if you have android sdk update it there are tutorials and if you dont have it download it and go through installation steps

step 3:
copy this into cmd

keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12

step 4:
go to editor settings/android
abd: C:/Users/ your user name /AppData/Local/Android/Sdk/platform-tools/adb.exe

jdk: C:/Program Files/AdoptOpenJDK/jdk-8.0.275.1-hotspot/bin/jarsigner.exe

debug keystore: C:/Users/ your user name /debug.keystore

debug user: androiddebugkey
debug pass: android

and yayyyy your done!!!

by (262 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.