Hello, I’m having trouble getting my android project to package. I’ve looked through the forum for other issues that people have had but haven’t found a solution. I’ve made sure the right packages are installed via the SDK manager and tried a number of different things in the SDK config in the UE4 editor. Here is what I have at the moment, hoping for some help!
It looks like those users experienced the same issue and were able to resolve it. Let me know if that helps at all, otherwise, feel free to leave a comment to reopen the issue and I’ll be glad to continue to investigate.
Thanks for the reply. I actually looked at both of those posts before posting myself. Unfortunately, they did not help and the problem persists. I just did a fresh install of UE4 and Codeworks. Put ‘android-19’ in the NDK API box and compared my SDK manager to the screenshots from the 2nd link you provided and made sure they match. After all that, the problem still persists. I am pretty stuck.
I attached the output log from the fresh project after reinstalling everything.
Try deleting your Saved and Intermediate folders and packaging again.
Try packaging a clean project to see if you get the same errors. If so, it’s likely an issue with the SDK setup.
If you can successfully package a clean project, try migrating the content from a copy of your current project to a new project and see if that works for you.
I deleted the saved and intermediate folders but still had the same errors. It also failed after I tried to package a clean project. The problem must be with my SDK setup but I’m not sure what the problem could be, I’ve followed the SDK install documentation exactly and compared my SDK settings to that in the above link.
I launch UE4, I’m using v4.15.2 at the moment. Create a new project using one of the templates, set it to mobile/tablet, scalable 2D and 3D, and no starter content. Then once the project is created I simply go to File >> Package Project >> Android >> Android (All).
I found an older version of the NVPACK and NVIDIA folders on an extra harddrive that I know worked in the past and replaced my current version with that, then ran the SDK manager and did any updates it needed. After that I updated my environment variables and made sure everything else matched up.
Then I created a fresh project and attempted to package for android, at this point the package still failed. I looked through the output log and the error messages remain the same. Short of trying this on a different computer (which I am currently attempting), I’m not sure where to go for a solution.
Edit: Versions used in older version that I copied over - android-ndk-r10e, apache-ant-1.8.2
That’s odd. Unfortunately, I’m not really sure what could be causing this issue on your end. The only thing I can recommend now is trying on another PC or deleting everything and starting over from scratch again following the documentation to make sure there isn’t anything that you’ve overlooked somewhere during the setup process.