Umar_Guc
(Umar_Guc)
November 19, 2022, 4:50pm
1
Build is constantly failing and giving error or warnings
UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c “E:\Projects\Games\Flappy Ninja\FlappyNinja\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleRelease
has it ever worked?
because usually that means your jdk 8 isn’t installed
or you are running a different android studio than android 4
its jdk 8
jre 8
android studio 4
sdk 29
ndk 21
anything else or any missing and no compile for you.
It’s NDK 25b for 5.1 - Check the release notes
1 Like
Umar_Guc
(Umar_Guc)
November 20, 2022, 2:34pm
4
I am using canary 4.2 or something??? usally its bulding the app fine but there is a problem with the admob ads its not showing any ads… and so I looked into warnings and did a couple of things like update the JDK version and it started failing so… I think this is the issue that is causing the ads to not show up…? Please help
Umar_Guc
(Umar_Guc)
November 20, 2022, 2:35pm
5
I am not using 5.1 I am using 5.0
Umar_Guc
(Umar_Guc)
November 20, 2022, 2:36pm
6
Plus what are these warrnings??? what is happing because they are constantly showing fail or success and the ads are not showing at all.
you can’t update the jdk
that’s why gradle is failing
it uses jdk 8 not the latest version
that’s why its saying “cannot find the path”
its looking for objects it needs in the jdk 8
Umar_Guc
(Umar_Guc)
November 21, 2022, 4:08pm
8
Still the same error but previous warnings are gone
looking at you original post
it should only be an astc build, not multi
but you need to use the setup android.bat in unreal/engine/extras/android
Umar_Guc
(Umar_Guc)
November 22, 2022, 7:53pm
10
I think I have pin point the problem… the android.bat gives error
Please check the Android Studio install.ng sdk-tools-windows-4333
Umar_Guc
(Umar_Guc)
November 23, 2022, 7:50am
11
But the thing is I dont know how to solve this problem, like what is install.ng SDK-tool-windows-4333
Umar_Guc
(Umar_Guc)
November 23, 2022, 5:25pm
12
android.bat is constantly says mapping new ns to old ns.
And I am not able to update gradle its the issue
Umar_Guc
(Umar_Guc)
November 24, 2022, 8:15am
13