Hi, i tried to package Android apk file for the first time and run into problem:
i created empty new mobile c++ based project with Unreal engine 4.9.2 from GitHub
downloaded and installed Nvidia CodeWorksforAndroid 1R3(selected 1R1 in menu before installation)
with android-ndk-r10e, apache-ant-1.8.2, jdk1.7.0_71 android-sdk API 23
Connected my device Nexus 4, it appeared in UEditor devices list OK.
Created all environment variables, filled in android SDK paths in UEditor
Started Package Project-> Android ETC1
and after a while got a failure.
I have a few questions for you and a couple things to try.
Have you tried any other versions of the editor? If not, could you give 4.10.1 a try? Multiple fixes around Android packaging went in with the 4.10 builds.
Have you tried a Blueprint project just to see if the issue still occurs?
When you mention you made an “empty new mobile C++ project”, did you base this project off any of the templates? This could help in trying to reproduce the issue on our end.
Can you try changing the “SDK API Level” to “latest” and also packaging for “Android - All” or ETC2?
Installed TADP 3.0r4
Installed 4.10.1 from Launcher,
Created empty blank Blueprint project set to Mobile/Tablet
Specified paths to Android SDK, NDK, Apache ant, JDK
packaged successful for Android ETC1
Thanks!