Wow! Thank you so much! I have tried to set this up over 3 times with no success using the unreal docs and several other tutorials (which were way longer and none of them worked.) I genuinely didn't think it was possible until finding this perfect tutorial. Nice job! Liked and subscribed👍
Thank you for sharing this. When I install Android studio I am not getting the NVPACK folder. Can you explain where that happened in your video please. :)
My NVPACK folder installed to C: drive (C:\NVPACK). If unsure where your NVPACK folder is then open up Android Studio, go to your SDK manager and then look at the top and it will show you where it installs the NDK's. ibb.co/bvcztGm
I have a error, LogPlayLevel: Error: Error: Could not create the Java Virtual Machine. LogPlayLevel: Error: Error: A fatal exception has occurred. Program will exit. LogPlayLevel: Invalid maximum heap size: -Xmx8192M Anyone know how to get past this?
My NVPACK folder installed to C: drive (C:\NVPACK). If unsure where your NVPACK folder is then open up Android Studio, go to your SDK manager and then look at the top and it will show you where it installs the NDK's. ibb.co/bvcztGm
@@Akiraa20 My problem is, that the file names are in English and my file names are German, but i also can't find the corresponding file. "NVPACK" but there was nothing either
Hello, Regarding your reflection capture error, here a thread with someone having a similar issue but it would be level related: forums.unrealengine.com/t/sphere-reflection-capture-error/277235 I've never had the rungtadle.bat error so its hard for me to comment on a solution but there is a thread here on Epic Forums discussing it which might offer a possible solution: forums.unrealengine.com/t/android-cant-package-intermediate-android-apk-gradle-rungradle-bat-app-assembledebug/444974/30
When you're asking for help, you need to first help yourself by spelling the error messages correctly. You mean GRADLE. The word is GRADLE. NOT Gtadle... c'mon man.
Can anyone please help me? I am getting an issue where I try to package the project and it works like normal until it says Build Failed. It says Execution failed for task ':app:compileReleaseJavaWithJavac '. Any help would be appreciated.
The JDK install folder does not contain a folder named JRE + on package im getting this error: Error: ERROR: The NDK API requested 'android-30' not installed in C:/Users/adria/AppData/Local/Android/Sdk/ndk/21.1.6352462/meta/platforms.json
You need to make sure that the full path names are in the android SDK paths within UE4: forums.unrealengine.com/t/cant-accept-android-sdk-license/423701/5
sir for different android version like oreo, how to kow about which sdk and ndk to use?? please also reffer any guide if possible. and thanks for the video😊.
I no longer have access to an Android phone to do tests etc but for Oreo, you would want either 8.0 or 8.1 SDK (API 26/27) Platform installed rather than Android 10.0 (API 29)and then you would want SDK tools 26.0.0 and 26.0.2. I think the NDK version in the video should be fine. Then in UE4 when setting up the Android SDK, you want to change the SDK version to relate to the one you're using ie. android-26 (10.05 in the video) Again I do not have an Android phone or tablet to test this so no idea if it would work. This is a good reference to see each Android version and their related API and SDK: docs.microsoft.com/en-us/xamarin/android/platform/oreo?tabs=windows
@@thegameplay4398 These resources might help you: th-cam.com/video/rH1WVLiAfYQ/w-d-xo.html forums.unrealengine.com/t/i-cant-package-my-project-for-android-it-just-opens-the-unreal-documentation-website/138850
@@NitishDiwakar No fix yet, it wont let me post a link on here but someone gave me settings advice for packaging on unreal forums. You can see if they work for you. Anyway i can privately message?
how do you get that java file? the link you show does not have jdk 1.8.77, its giving me these errors UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Caused by: java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "Daemon worker"]
Caused by: java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "Daemon worker"] UATHelper: Packaging (Android (ASTC)): at org.codehaus.groovy.vmplugin.v7.Java7.(Java7.java:45) and Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Daemon worker"] help plz
After 15 hours trying to fix this finally I found your tutorial and got it working on UE5! It was driving me crazy, thank you sir!!
I’ve been looking for a way to do this for months almost a year and this is the only one that I found that worked! Thank you so much!
Wow! Thank you so much!
I have tried to set this up over 3 times with no success using the unreal docs and several other tutorials (which were way longer and none of them worked.)
I genuinely didn't think it was possible until finding this perfect tutorial.
Nice job! Liked and subscribed👍
You are my hero! I really struggled to get this working, thanks again.
THANK YOU VERY MUCH, I tried thousands of tutorials only this one worked. GOD GIVE YOU MUCH HEALTH
Best Tutorial I have seen actually got a successful build through packaging for UE4 so thank you !!
Had to do some tweaking to the directory steps because I messed up the initial install location but I got it working in the end. Thanks for this!
Just got to love the holes you need to jump through for android. I'd say that's one thing unity has going for it. Great tutorial, not to fast.
Thank you for sharing this. When I install Android studio I am not getting the NVPACK folder. Can you explain where that happened in your video please. :)
My NVPACK folder installed to C: drive (C:\NVPACK). If unsure where your NVPACK folder is then open up Android Studio, go to your SDK manager and then look at the top and it will show you where it installs the NDK's. ibb.co/bvcztGm
@@Akiraa20 Thank you! Much appreciated.
Why u setup android 10 why u didn't use android 12 or 11? With android studio SDK settings?
Thanks a lot. It worked for me....👌👌👌💗💗💗
I have a error, LogPlayLevel: Error: Error: Could not create the Java Virtual Machine.
LogPlayLevel: Error: Error: A fatal exception has occurred. Program will exit.
LogPlayLevel: Invalid maximum heap size: -Xmx8192M
Anyone know how to get past this?
Thank you!!!!!!!!!!!!!! I can't believe that are so many missing steps from the documentation.
I dont have the NVPACK folder anywhere
My NVPACK folder installed to C: drive (C:\NVPACK). If unsure where your NVPACK folder is then open up Android Studio, go to your SDK manager and then look at the top and it will show you where it installs the NDK's. ibb.co/bvcztGm
@@Akiraa20 My problem is, that the file names are in English and my file names are German, but i also can't find the corresponding file. "NVPACK" but there was nothing either
what is error: Rungradle.bat and how do i solve it?
u got any solution
thank you!!! so good information! topical 😃😊
Bro I am getting an error "rungradle.bat" error
And somthing like reflection caption error
Hello,
Regarding your reflection capture error, here a thread with someone having a similar issue but it would be level related: forums.unrealengine.com/t/sphere-reflection-capture-error/277235
I've never had the rungtadle.bat error so its hard for me to comment on a solution but there is a thread here on Epic Forums discussing it which might offer a possible solution: forums.unrealengine.com/t/android-cant-package-intermediate-android-apk-gradle-rungradle-bat-app-assembledebug/444974/30
@@Akiraa20 thanks for the help 👍
When you're asking for help, you need to first help yourself by spelling the error messages correctly. You mean GRADLE. The word is GRADLE. NOT Gtadle... c'mon man.
@@OmegaMouse thank bro for for the correction
Sorry I didn't notice it
@@Unity_and_Peace Did you fixed it? If you did how?
Can anyone please help me? I am getting an issue where I try to package the project and it works like normal until it says Build Failed. It says Execution failed for task ':app:compileReleaseJavaWithJavac '. Any help would be appreciated.
Try this solution: forums.unrealengine.com/t/unreal4-26-2-cant-packaging-for-android-even-if-the-project-is-empty/236526/2
The JDK install folder does not contain a folder named JRE + on package im getting this error:
Error: ERROR: The NDK API requested 'android-30' not installed in C:/Users/adria/AppData/Local/Android/Sdk/ndk/21.1.6352462/meta/platforms.json
What do I do if the SDK is installed in the wrong location I don't know how to fix it
from Where are you downloading NVPACK
@@corecoders8093 I don't have file a called that
I downloaded everything that you have installed from the links as in the video there is no NVPACK!
did you find the solution? I have the same problem
wont let me gray out "accept sdk license" button
You need to make sure that the full path names are in the android SDK paths within UE4: forums.unrealengine.com/t/cant-accept-android-sdk-license/423701/5
sir for different android version like oreo, how to kow about which sdk and ndk to use?? please also reffer any guide if possible.
and thanks for the video😊.
I no longer have access to an Android phone to do tests etc but for Oreo, you would want either 8.0 or 8.1 SDK (API 26/27) Platform installed rather than Android 10.0 (API 29)and then you would want SDK tools 26.0.0 and 26.0.2. I think the NDK version in the video should be fine. Then in UE4 when setting up the Android SDK, you want to change the SDK version to relate to the one you're using ie. android-26 (10.05 in the video)
Again I do not have an Android phone or tablet to test this so no idea if it would work. This is a good reference to see each Android version and their related API and SDK: docs.microsoft.com/en-us/xamarin/android/platform/oreo?tabs=windows
Please help i followed all the steps i dont have the jdk folder and unreal engine opens up to a how to make an android game website when i package
You need to install the Java jdk, you can get it via here: www.oracle.com/java/technologies/downloads/#jdk17-windows
@@Akiraa20 Hi thank you verry much i installed it and achanged the directory but it still sens to the how to make an android game website
@@thegameplay4398 What part of the process is sending you to a website? Is it after you tell it to package the game? is it when you click a button?
@@Akiraa20 Its when i click on package multi
@@thegameplay4398
These resources might help you: th-cam.com/video/rH1WVLiAfYQ/w-d-xo.html
forums.unrealengine.com/t/i-cant-package-my-project-for-android-it-just-opens-the-unreal-documentation-website/138850
Do you have any idea why my successfully packaged apk file would crash instantly everytime I try to test it in an emulator? Thanks
I am facing the same issue (both in real device and emulator). Did you found a fix?
@@NitishDiwakar No fix yet, it wont let me post a link on here but someone gave me settings advice for packaging on unreal forums. You can see if they work for you. Anyway i can privately message?
This is not detailed tutorial. need to add about PATH and JDK!
thank you very much 🌹🌹
Thanks you so much ✨
Not sure why make this tutorial in the first place when you are not showing the audience the whole steps.
how do you get that java file? the link you show does not have jdk 1.8.77, its giving me these errors
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Caused by: java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "Daemon worker"]
Hey, thank you for the video.
Is there an email address I can get you on, please?
Caused by: java.lang.ExceptionInInitializerError: Exception org.codehaus.groovy.GroovyBugError [in thread "Daemon worker"]
UATHelper: Packaging (Android (ASTC)): at org.codehaus.groovy.vmplugin.v7.Java7.(Java7.java:45)
and
Exception java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 [in thread "Daemon worker"]
help plz
got any solution
same
This was happening for me with the java version. Try changing to 1.8 or 17 jdk