Build failed

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

android versions

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

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

I am not using 5.1 I am using 5.0

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

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

I think I have pin point the problem… the android.bat gives error

Please check the Android Studio install.ng sdk-tools-windows-4333

But the thing is I dont know how to solve this problem, like what is install.ng SDK-tool-windows-4333

android.bat is constantly says mapping new ns to old ns.
And I am not able to update gradle its the issue

I think the gradle is updated successfully since it package without any error… but android ads are not showing… plus the android.bat has same warning

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01