Export Godot Project to Android 2022 | Release and Debug APK

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 92

  • @Bogdan-Dode
    @Bogdan-Dode 10 місяців тому +4

    My KeyTool was in JBR folder RUN CMD as ADMIN!
    C:\Program Files\Android\Android Studio\jbr\bin!!!!!

  • @slaps_zrz
    @slaps_zrz 2 роки тому +6

    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
      @jozef18591 2 роки тому +3

      same

    • @jozef18591
      @jozef18591 2 роки тому +3

      I've been trying to solve this problem for days , and nothing worked

    • @slaps_zrz
      @slaps_zrz 2 роки тому +1

      @@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 :)

    • @rl_ledge9284
      @rl_ledge9284 2 роки тому

      Got exactly the same but with error #2 instead of #1

    • @puriceful
      @puriceful Рік тому

      I am also wrong but code 2

  • @Dosedmonkey
    @Dosedmonkey 10 місяців тому +1

    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.

  • @pseudo-CraftingTable
    @pseudo-CraftingTable Рік тому +2

    Bro, you are really a life saver! Lots of thanks!

  • @doomart6573
    @doomart6573 10 місяців тому +1

    I was completely lost and now it all seems so easy, TYSM.

  • @paul_musique
    @paul_musique Рік тому +1

    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
      @HeckrayAnims Рік тому

      damn , same here did you find any fix?

    • @paul_musique
      @paul_musique Рік тому +2

      @@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

    • @HeckrayAnims
      @HeckrayAnims Рік тому

      @@paul_musique i see, gotta check It out

    • @Aleeeec
      @Aleeeec 8 місяців тому

      How did you fix it?

    • @PaulMaillard-d9j
      @PaulMaillard-d9j 8 місяців тому

      just read the reply@@Aleeeec

  • @csubh
    @csubh Рік тому +2

    you earned a sub :)

  • @bmzgaming
    @bmzgaming Рік тому +1

    I'm facing "apksigner" returned with error #2
    how to solve it?

  • @vinciarts
    @vinciarts Рік тому +1

    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. 🤔

    • @CatPawns
      @CatPawns Рік тому

      Probably it just removes printing to console.

  • @nitrogamesstudios5276
    @nitrogamesstudios5276 Рік тому +6

    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,

    • @12hr27
      @12hr27 Рік тому +2

      Do the other j folder

    • @sadiqsheikh8499
      @sadiqsheikh8499 Рік тому

      Same

    • @herehere3139
      @herehere3139 Рік тому

      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

    • @skillshot_studio
      @skillshot_studio Рік тому

      same with me

  • @ericgagnon4747
    @ericgagnon4747 9 місяців тому +2

    Thanks ! But I would prefer your video without the music.

  • @marlonhelder
    @marlonhelder Рік тому +2

    Thank you very much for the content!

  • @nesyta1749
    @nesyta1749 4 місяці тому

    And debugging is not possible? Do you have to export to APK every time you test it and then reinstall it on your phone?

  • @princeedhwardhezmi6469
    @princeedhwardhezmi6469 9 місяців тому

    We have isssue with apksigner buld tools failed to execute, any idea how to solve that?

  • @Muhammad-xc8zx
    @Muhammad-xc8zx Рік тому

    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

  • @waterteafan9264
    @waterteafan9264 Рік тому +2

    App not installed, what

  • @hakikistudio1635
    @hakikistudio1635 Рік тому +1

    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
      @Soulcode-k 5 місяців тому

      Were you able to solve it please help

    • @Soulcode-k
      @Soulcode-k 5 місяців тому

      I am also facing this problem

    • @hakikistudio1635
      @hakikistudio1635 5 місяців тому +1

      @@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

    • @ZeeGameDev
      @ZeeGameDev 5 місяців тому +1

      I'm having the same problem right now ​@@hakikistudio1635

  • @chedev
    @chedev Рік тому

    could not find keystore error why is that i folowed the entire thing?

  • @killerbean9071
    @killerbean9071 Рік тому

    I have an error target platform required ETC2/ASTC texture compression. What that mean . what should I do for solve that

    • @ti5jrurti5jrur
      @ti5jrurti5jrur Рік тому

      change the texture compression algorithm

    • @ilya-istanbul
      @ilya-istanbul 11 місяців тому

      In Godot: Project Settings / General / Rendering / Textures ---> On the right section click on the "Import ETC2 ASTC" option at the "VRAM Compression" title.

  • @kinggingerbread
    @kinggingerbread 8 місяців тому

    How to decrease file size ?
    As the apk u exported has nothing but still taking 22000kb of space

    • @cjdaylight3407
      @cjdaylight3407 26 днів тому

      if you export with nothing it will export engine files so 22mb for engine is normal

  • @Prosecute_V
    @Prosecute_V Рік тому +1

    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 )

  • @gamerguy8261
    @gamerguy8261 Рік тому

    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

    • @dicode1q
      @dicode1q  Рік тому +1

      SDK path is not set properly.

    • @gamerguy8261
      @gamerguy8261 Рік тому

      @@dicode1q thx i fixed it

    • @chedev
      @chedev Рік тому

      @@gamerguy8261 HOW??

  • @bruhnah4life
    @bruhnah4life Рік тому

    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

    • @dicode1q
      @dicode1q  Рік тому

      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

  • @Bittu_Ahirwar
    @Bittu_Ahirwar Рік тому

    I have "apksigner code error 1 in godot" can you explain how to fix it
    In chat -

    • @dicode1q
      @dicode1q  Рік тому +2

      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

    • @Bittu_Ahirwar
      @Bittu_Ahirwar Рік тому

      Thankyou so much, I try it.

  • @drac8854
    @drac8854 Рік тому

    I am hsing godot 4 beta 3
    There its giving error
    Code signing: 'apksigner' returned with error #2

    • @dicode1q
      @dicode1q  Рік тому

      Username or password is wrong

    • @drac8854
      @drac8854 Рік тому

      Ok
      Debug wale keystore me username password kya h?
      I guess password to kuch nahi h.

    • @drac8854
      @drac8854 Рік тому

      @@dicode1q username and password are same as in video.

    • @drac8854
      @drac8854 Рік тому

      @@dicode1q note this needs JDK 11

    • @dicode1q
      @dicode1q  Рік тому

      Agar latest Android studio use karoge to JDK 11 hi milegi.

  • @ljkij1957
    @ljkij1957 4 місяці тому

    mine doesnt have a jre folder

  • @cyrexproject666
    @cyrexproject666 Рік тому +1

    brooo pls "apksinger returned with error #2"!

    • @dicode1q
      @dicode1q  Рік тому +1

      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.

  • @ceo-potato
    @ceo-potato Рік тому

    Thanks :D

  • @KENISEG
    @KENISEG Рік тому

    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?

  • @nick3ne826
    @nick3ne826 Рік тому +1

    ty bro

  • @yayayaydbudaiu723
    @yayayaydbudaiu723 Рік тому

    it says could not find keystore pls help

    • @dicode1q
      @dicode1q  Рік тому

      Path provide of keystore is not correct

  • @ALIAli-di8ph
    @ALIAli-di8ph Рік тому +3

    Teach us how to extract games from the phone in godot please 😭😭😭😭🥰🇮🇶✌️

  • @noone3060
    @noone3060 Рік тому

    nice guide 💌

  • @bishnupahari3353
    @bishnupahari3353 2 роки тому +1

    Can u pls make a video on how to do it without android studio

    • @dicode1q
      @dicode1q  2 роки тому

      you can watch this video: ua-cam.com/video/c7_JxGX8oxc/v-deo.html

    • @bishnupahari3353
      @bishnupahari3353 2 роки тому

      @@dicode1q thanks

  • @M.FeastXDD
    @M.FeastXDD Рік тому +4

    woooow all of this just for android export ;-;

    • @Dosedmonkey
      @Dosedmonkey 10 місяців тому

      its free lol, can pay £50 a month for someone elses software to do it.

  • @bishnupahari3353
    @bishnupahari3353 2 роки тому

    Nice but cant we do it without android studio. If we can pls make a video on it

    • @dicode1q
      @dicode1q  2 роки тому

      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.

    • @bishnupahari3353
      @bishnupahari3353 2 роки тому

      @@dicode1q can u pls make a video on it. Android studio lags on my pc so pls

  • @Czif
    @Czif Рік тому

    great tutorial

  • @lolmemetv5957
    @lolmemetv5957 Рік тому +1

    thanks s lot

  • @user-vsdf82fd9s
    @user-vsdf82fd9s Рік тому

    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.

  • @owenlloyd2528
    @owenlloyd2528 Рік тому

    Thanks

  • @Brae_Gym
    @Brae_Gym Рік тому

    I need help because when i add the command that you put on the screen it just said error

  • @nournajah1315
    @nournajah1315 2 роки тому

    java.lang.IllegalArgumentException: Unsupported class file major version 63
    help please

    • @dicode1q
      @dicode1q  2 роки тому

      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.