Can someody help me? I followed your steps, installed android studio, created the debug keystore and tried to export it. Then the error appeared: 'apksigner' returned Error-Code #1. I already looked up for it in my browser but nothing worked.
@@jozef18591 same, tried the whole day, searched on godot forum, github, stackoverflow and all the sites. reinstalled everything, updated godot, installed different packages which the godot docs tutorial says. Still not working. Idk that was such a waste of time :)
ANyone know why i get this message: All 'apksigner' tools located in Android SDK 'build-tools' directory failed to execute. Please check that you have the correct version installed for your target sdk version? The resulting SPK is unsigned.
@@HeckrayAnims i don't really understand why it worked but i had to uninstall and reinstall everything. For some reason it was detecting my sdk was in version 33 and i needed 32 or less
What's the difference between debug and release keystore? I can select the debug keystore for release and it also works, without returning any alert. 🤔
My folder /bin only have one single file called .marker also I got this error applying the key: "keytool" is not recognized as an internal or external command,
Hello I get 'apksigner' returned with 127, I don't understand to solve, I go through youtube and google to find solving, I try follow it and none of them I can use, can u help me how to solve error 127
Hi, I get this error when I want to export in .aab format: [Export]: Could not export project files to gradle project what could the reason be? Thank you for your help
@@Soulcode-k not yet, I have tried to install different gradle versions, but nothing. I am using godot 3.x I have tried with 3.5.2 and it worked, but the API level is 32; now google wants the minium API level to be 33. So... I have installed 3.6 beta 4, which is supposed to support API level 33, but nothing... Since I have developed my game with godot ver 3, I really do not want to rewrite big chunks of my code to work with godot 4
In Godot: Project Settings / General / Rendering / Textures ---> On the right section click on the "Import ETC2 ASTC" option at the "VRAM Compression" title.
I have exported the apk and sent it to my phone but when installing it says app not installed also when exporting it says apksigner returned with error 1
If it is working on editor then maybe, things that you have used to make lightning didn't supported on Android platform. Since I don't know how you made lightning, I can't tell the exact issue
Unfortunately, I never encountered this error. But after looking on Google, i found that this happen when your keystore file is build with different JRE version which is not compatible by Godot. So, open Android studio and see for any updates on SDK and platform-tools. And then create a new keystore file. If the error is still there, then you can try to download java seperately and then create a new keystore file using it. If the new keystore file is still not working then, try it again with java 8. My installed SDK: API Level 33 My Platform-tools version: 33.0.3
Error code 2 means the username and password specified is not same as of the keystore file. Check for username and password. If you forgot, then create a new keystore file.
Sure, you can just download android SDK but then you have to download Command line tools first and then Download SDK from there. which is a bit complex process and increase the chance of making errors. Downloading Android studio is the far more simple and risk free.
Hi, I can understand your video even though I am not good at English. Thanks to this, I was able to make an apk file very easily. Thank you so much!! Have a good day.
Look like the SDK path is not correctly set in the editor or may be SDK path is not correctly set in the environment variable of your PC (Although this is done automatically while installing Android studio). If you are sure you have correctly provided SDK and Key store path in Godot. Then, you can try reinstalling Android studio. Also if you are using some plugins for your game then make sure it is setup correctly. you can also try to export without plugin and see if error is still there.
My KeyTool was in JBR folder RUN CMD as ADMIN!
C:\Program Files\Android\Android Studio\jbr\bin!!!!!
U save my time!
Can someody help me? I followed your steps, installed android studio, created the debug keystore and tried to export it. Then the error appeared: 'apksigner' returned Error-Code #1.
I already looked up for it in my browser but nothing worked.
same
I've been trying to solve this problem for days , and nothing worked
@@jozef18591 same, tried the whole day, searched on godot forum, github, stackoverflow and all the sites. reinstalled everything, updated godot, installed different packages which the godot docs tutorial says. Still not working. Idk that was such a waste of time :)
Got exactly the same but with error #2 instead of #1
I am also wrong but code 2
Okay I had to install OpenJDK 17 to get command prompty working for debug key, also didnt get error warning of debug key until i tried to save export.
Bro, you are really a life saver! Lots of thanks!
I was completely lost and now it all seems so easy, TYSM.
ANyone know why i get this message: All 'apksigner' tools located in Android SDK 'build-tools' directory failed to execute. Please check that you have the correct version installed for your target sdk version? The resulting SPK is unsigned.
damn , same here did you find any fix?
@@HeckrayAnims i don't really understand why it worked but i had to uninstall and reinstall everything. For some reason it was detecting my sdk was in version 33 and i needed 32 or less
@@paul_musique i see, gotta check It out
How did you fix it?
just read the reply@@Aleeeec
you earned a sub :)
I'm facing "apksigner" returned with error #2
how to solve it?
What's the difference between debug and release keystore? I can select the debug keystore for release and it also works, without returning any alert. 🤔
Probably it just removes printing to console.
My folder /bin only have one single file called .marker also I got this error applying the key: "keytool" is not recognized as an internal or external command,
Do the other j folder
Same
I have the most simple answer for you because i did the same. Make SURE to right click command prompt and "RUN AS ADMIN".. Sorry i feel your pain
same with me
Thanks ! But I would prefer your video without the music.
Thank you very much for the content!
And debugging is not possible? Do you have to export to APK every time you test it and then reinstall it on your phone?
Unfortunately yeah
We have isssue with apksigner buld tools failed to execute, any idea how to solve that?
Hello I get 'apksigner' returned with 127, I don't understand to solve, I go through youtube and google to find solving, I try follow it and none of them I can use, can u help me how to solve error 127
App not installed, what
Hi, I get this error when I want to export in .aab format:
[Export]: Could not export project files to gradle project
what could the reason be?
Thank you for your help
Were you able to solve it please help
I am also facing this problem
@@Soulcode-k not yet, I have tried to install different gradle versions, but nothing. I am using godot 3.x
I have tried with 3.5.2 and it worked, but the API level is 32; now google wants the minium API level to be 33.
So... I have installed 3.6 beta 4, which is supposed to support API level 33, but nothing...
Since I have developed my game with godot ver 3, I really do not want to rewrite big chunks of my code to work with godot 4
I'm having the same problem right now @@hakikistudio1635
could not find keystore error why is that i folowed the entire thing?
I have an error target platform required ETC2/ASTC texture compression. What that mean . what should I do for solve that
change the texture compression algorithm
In Godot: Project Settings / General / Rendering / Textures ---> On the right section click on the "Import ETC2 ASTC" option at the "VRAM Compression" title.
How to decrease file size ?
As the apk u exported has nothing but still taking 22000kb of space
if you export with nothing it will export engine files so 22mb for engine is normal
Idk why but android studio still don't work with my .apk file but it works on my phone ( at least I know it works ! thats nice )
I have exported the apk and sent it to my phone but when installing it says app not installed also when exporting it says apksigner returned with error 1
SDK path is not set properly.
@@dicode1q thx i fixed it
@@gamerguy8261 HOW??
Hello i already export to android but the problem is the lighting didnt cast to the surface even tho in the godot editor it is please help
If it is working on editor then maybe, things that you have used to make lightning didn't supported on Android platform.
Since I don't know how you made lightning, I can't tell the exact issue
I have "apksigner code error 1 in godot" can you explain how to fix it
In chat -
Unfortunately, I never encountered this error.
But after looking on Google, i found that this happen when your keystore file is build with different JRE version which is not compatible by Godot.
So, open Android studio and see for any updates on SDK and platform-tools.
And then create a new keystore file.
If the error is still there, then you can try to download java seperately and then create a new keystore file using it.
If the new keystore file is still not working then, try it again with java 8.
My installed SDK: API Level 33
My Platform-tools version: 33.0.3
Thankyou so much, I try it.
I am hsing godot 4 beta 3
There its giving error
Code signing: 'apksigner' returned with error #2
Username or password is wrong
Ok
Debug wale keystore me username password kya h?
I guess password to kuch nahi h.
@@dicode1q username and password are same as in video.
@@dicode1q note this needs JDK 11
Agar latest Android studio use karoge to JDK 11 hi milegi.
mine doesnt have a jre folder
brooo pls "apksinger returned with error #2"!
Error code 2 means the username and password specified is not same as of the keystore file.
Check for username and password.
If you forgot, then create a new keystore file.
Thanks :D
wtf, I have NOT the stupid JRE. but I was install ALL things from instructin from off site.
where is can I download this shit?
ty bro
it says could not find keystore pls help
Path provide of keystore is not correct
Teach us how to extract games from the phone in godot please 😭😭😭😭🥰🇮🇶✌️
nice guide 💌
Can u pls make a video on how to do it without android studio
you can watch this video: ua-cam.com/video/c7_JxGX8oxc/v-deo.html
@@dicode1q thanks
woooow all of this just for android export ;-;
its free lol, can pay £50 a month for someone elses software to do it.
Nice but cant we do it without android studio. If we can pls make a video on it
Sure, you can just download android SDK but then you have to download Command line tools first and then Download SDK from there. which is a bit complex process and increase the chance of making errors. Downloading Android studio is the far more simple and risk free.
@@dicode1q can u pls make a video on it. Android studio lags on my pc so pls
great tutorial
thanks s lot
Hi, I can understand your video even though I am not good at English. Thanks to this, I was able to make an apk file very easily. Thank you so much!! Have a good day.
Thanks
I need help because when i add the command that you put on the screen it just said error
java.lang.IllegalArgumentException: Unsupported class file major version 63
help please
Look like the SDK path is not correctly set in the editor or
may be SDK path is not correctly set in the environment variable of your PC (Although this is done automatically while installing Android studio).
If you are sure you have correctly provided SDK and Key store path in Godot. Then, you can try reinstalling Android studio.
Also if you are using some plugins for your game then make sure it is setup correctly. you can also try to export without plugin and see if error is still there.