so i got a bit deep in this error so it would probably be more efficient for me to work on this by myself but i wanted to record what’s going on as far as i understood it.
- so first of all when i try to launch on UE4, the software gives an error about Android
UATHelper: Packaging (Android (ATC)): ERROR: cmd.exe failed with args /c “D:\unrealtest\m1\Intermediate/Android/APK\gradle\rungradle.bat” :app:assembleDebug
- when i googled that, this article was what i found: ERROR: cmd.exe failed with args - UE4 AnswerHub
some replies that made the most sense are about Android SDK settings in Android Studio. some recommend to uninstall and install a specific version of the product.
- i did that as well and went through the Android Setup for Quest steps on UE4 website: Setting Up Android SDK and NDK for Unreal | Unreal Engine Documentation
when i went through the steps, the 3rd step involves opening the file
SetupAndroidand accepting the Android SDK Agreement but when i try to do that, i get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
... 5 more
- So when I googled that error, i found this page: Failed to install android-sdk: "java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema" - Stack Overflow
-i did try uninstalling and installing java but nothing changed.
-so i tried the second most popular respond for that question but what happened was when i commanded
flutter doctorin command prompter it says that that is not a recognized command.so now i am a bit deeper in the error.
i have two internal harddisks and the programs are distributed to both of them -incl. Epic Games, Android and Java but I don’t know why that would be a problem.
nothing works… please help…