Android Packaging failed :unknown Error
having trouble to package android game i recently update my android codework to 1R6 and i start getting this problem
plus i dont know why it keeps running to my other unrelated folders when i tried to package my game
i my settings and error logs here , please help thankyou
asked Apr 18 '17 at 03:39 PM in Packaging & Deployment
First thing - when you change something crutial in Java - delete the E:\Project\UNreal\RisekingdomProject\Intermediate\Android\ directory. Unreal has nasty problems with cacheing and sometimes You have to clear the cache yourself. I'm usually do it every build, just in case.
Second - always use the recommended codeworks, unless You are really good in modifying the engine and in Android overall :) You are using 1r5 now - so good.
Third - download all of the extras from Android SDK Manager. It doesn't weight much, but for instance - I can see You doesn't have Google Play Services downloaded which might be an issue.
Now, from the log I can see that there is an issue with extracting google play services from AAR:
Error: E:\Project\UNreal\RisekingdomProject\Intermediate\Android\APK\JavaLibs\play-services-ads-9.2.0 is not a valid project (AndroidManifest.xml not found).
Most of the JavaLibs are the directories extracted from AAR files located somewhere here:
E:\Apps\EpicGames\AndroidCode_Works\NVPACK\android-sdk-windows\extras\android\m2repository ....\Engine\Source\ThirdParty\Android\extras\google\m2repository ....\Engine\Source\ThirdParty\Android\extras\android\m2repository
This is why I recommend getting all of the extras from SDK Manager ;)
answered Apr 26 '17 at 08:37 AM
Check again your path you entered in the first picture
Or delete all android tools and reinstall it, maybe The update to Version 1R6 has modified or deleted some files
answered Apr 18 '17 at 04:55 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here