Could not find file [project]-debug.apk

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! :slight_smile:

[link text][2]

Hey dsenter,

Sorry for the delay.

Have a look at the following threads:

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.

Have a great day

Hi Sean,

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.

link text

I’m experiencing the same issue, tried those threads but they didn’t solve the problem.

I have a couple more suggestions:

  • 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 only have one noticeable difference in my project, which is that I specify android-19 instead of using latest for NDK API Level. Give that a shot:

][1]

I’m still getting errors when I enter ‘latest’ and ‘android-19’.

Try using matchndk instead of latest for your SDK API Level. Let me know if that makes a difference for you.

It did not make a difference.

Run me through your exact process so that I can test this on my end. Maybe we have some different settings somewhere that are responsible for this.

You said you reproduced it in a clean project, what steps did you follow exactly? Were you packaging for Android-All?

Thanks

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).

Attached is my SDK manager.

Update:

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.

I am getting the same error, any solutions?