Download

Packaging error, been stuck on this for awhile now (4.12)

Hi, for anyone who can help me out, I’ve been stuck on this android packaging error for awhile now and I haven’t gotten any traction through answerhub sadly.
Here is a link to my full answer hub: Packaging error for Android 4.12 (ios works) - UE4 AnswerHub

The game packages fine for IOS, so this has to be something specifically related to packaging for android.
I’ve also looked at other threads similar to this but haven’t been able to find anything that works for me.

Creating makefile for AnimalHunter (no existing makefile)
Performing full C++ include scan (no include cache file)
NDK version: 19, GccVersion: 4.9
building WITHOUT VULKAN define
Parsing headers for AnimalHunter
Running UnrealHeaderTool “C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\AnimalHunter.uproject” “C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Build\Android\AnimalHunter\Development\AnimalHunter.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for AnimalHunter in 4.300907 seconds
Compiling Native code with NDK API ‘android-19’
Performing 9 actions (4 in parallel)
[1/9] clang++.exe AnimalHunter.h [armv7-es2]
[2/9] clang++.exe UELinkerFixupsName.h [armv7-es2]
[3/9] clang++.exe Module.UniversalMobileAds.cpp [armv7-es2]
[4/9] clang++.exe UniversalMobileAds.generated.cpp [armv7-es2]
[5/9] clang++.exe UELinkerFixups.cpp [armv7-es2]
[6/9] clang++.exe AnimalHunter.cpp [armv7-es2]
[7/9] clang++.exe MyClass.cpp [armv7-es2]
[8/9] arm-linux-androideabi-ar.exe UE4-UniversalMobileAds-armv7-es2.a
C:/NVPACK/android-ndk-r11c oolchains/arm-linux-androideabi-4.9\prebuilt/windows-x86_64\bin/arm-linux-androideabi-ar.exe: creating C:/Users/funkstatic/Documents/Unreal Projects/AnimalHunter/Plugins/UniversalMobileAds/Binaries/Android/UE4-UniversalMobileAds-armv7-es2.a
[9/9] clang++.exe AnimalHunter-armv7-es2.so
Total build time: 36.52 seconds
NDK version: 19, GccVersion: 4.9
Receipt Filename: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Binaries\Android\AnimalHunter.target
AndroidPlugin: …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds\UniversalMobileAds_APL.xml
AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml

APL: …/…/…/…/Users/funkstatic/Documents/Unreal Projects/AnimalHunter/Plugins/UniversalMobileAds/Source/UniversalMobileAds/UniversalMobileAds_APL.xml

APL: …\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml

====7/31/2016 8:56:19 PM====PREPARING TO MAKE APK=================================================================

==== Writing to shim file C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====

==== Shim data file up to date so not writing. ====

==== Writing to template target file C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Build\Android\src\com\ChristinaTran\AnimalCatcher\AlarmReceiver.java ====

==== Template target file up to date so not writing. ====

==== Writing to template target file C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Build\Android\src\com\ChristinaTran\AnimalCatcher\DownloaderActivity.java ====

==== Template target file up to date so not writing. ====

==== Writing to template target file C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Build\Android\src\com\ChristinaTran\AnimalCatcher\OBBDownloaderService.java ====

==== Template target file up to date so not writing. ====
Cleaning up files based on template dir C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Build\Android\src\com\ChristinaTran\AnimalCatcher
Building Java with SDK API level ‘android-22’
C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Binaries\Android\AnimalHunter-armv7-es2.apk is out of date due to newer input file C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Binaries\Android\AnimalHunter-armv7-es2.so
APL Init: armeabi-v7a
Universal Mobile Ads init
GearVR init
Oculus Signature Files (osig) will be removed from APK
bPackageDataInsideApk = False

====7/31/2016 8:56:19 PM====PREPARING NATIVE CODE=================================================================

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/Android copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/AdColony copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/AdMob copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/Chartboost copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/Conversant copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/FacebookAudienceNetwork copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/InMobi copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/MillennialMedia copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/TapJoy copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/UnityAds copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

Directory …\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Plugins\UniversalMobileAds\Source\UniversalMobileAds/…/…/ThirdPartyLibraries/AndroidAddons/Vungle copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK

====7/31/2016 8:56:20 PM====UPDATING BUILD CONFIGURATION FILES====================================================
Updating project.properties, local.properties, and build.xml…
Updating project.properties, local.properties, and build.xml…
Updating project.properties, local.properties, and build.xml…
Updating project.properties, local.properties, and build.xml…

==== Writing new GameActivity.java file to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====

Copying new .so C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Binaries\Android\AnimalHunter-armv7-es2.so file to jni folder…
Preparing native code for debugging…

File …/…/Engine//Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_0/Libs/armeabi-v7a/libvrapi.so copied to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK/libs/armeabi-v7a/libvrapi.so

====7/31/2016 8:56:29 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================
Making .apk with Ant… (note: it’s safe to ignore javac obsolete warnings)
Duplicated project name in import. Project custom_rules defined first in C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\custom_rules.xml and again in C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\custom_rules.xml
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

BUILD FAILED
C:\NVPACK\android-sdk-windows ools\ant\build.xml:888: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:890: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:902: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:283: null returned: 1

Total time: 10 seconds
Making .apk with Ant again to show errors
Buildfile: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\build.xml
[getbuildtools] Using latest Build Tools: 24.0.1

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\NVPACK\android-sdk-windows

-setup:
[echo] Project Name: AnimalHunter
[gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for AnimalHunter…
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed…
[mkdir] Created dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\bin\rsObj
[mkdir] Created dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for AnimalHunter…
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with ‘debug’…

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\NVPACK\android-sdk-windows

-setup:
[echo] Project Name: google-play-services_lib_ver_7_8_0
[gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for google-play-services_lib_ver_7_8_0…
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed…
[echo] ----------
[echo] Resolving Dependencies for google-play-services_lib_ver_7_8_0…
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found Deleted Target File
[aapt] Generating resource IDs…
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
[javac] Compiling 1 source file to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\classes
[echo] Creating library output jar file…

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode…

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\res
[crunch] To destination dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\res
[crunch] Crunched 0 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources…

-package:
[echo] Library project: do not package apk…

-post-package:

-do-debug:
[echo] Library project: do not create apk…
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\build.prop

-post-build:

debug:

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\NVPACK\android-sdk-windows

-setup:
[echo] Project Name: unity-ads
[gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for unity-ads…
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[gettarget] WARNING: No minSdkVersion value set. Application will install on all Android versions.
[echo] ----------
[echo] Creating output directories if needed…
[echo] ----------
[echo] Resolving Dependencies for unity-ads…
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found Deleted Target File
[aapt] Generating resource IDs…
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
[javac] Compiling 1 source file to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\classes
[echo] Creating library output jar file…

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode…

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\res
[crunch] To destination dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\res
[crunch] Crunched 0 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources…

-package:
[echo] Library project: do not package apk…

-post-package:

-do-debug:
[echo] Library project: do not create apk…
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\build.prop

-post-build:

debug:

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\NVPACK\android-sdk-windows

-setup:
[echo] Project Name: millennial-media
[gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for millennial-media…
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed…
[echo] ----------
[echo] Resolving Dependencies for millennial-media…
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found Deleted Target File
[aapt] Generating resource IDs…
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
[javac] Compiling 2 source files to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\classes
[echo] Creating library output jar file…
[jar] Building jar: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\classes.jar

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode…

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\res
[crunch] To destination dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\res
[crunch] Crunched 0 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources…

-package:
[echo] Library project: do not package apk…

-post-package:

-do-debug:
[echo] Library project: do not create apk…
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\build.prop

-post-build:

debug:
Duplicated project name in import. Project custom_rules defined first in C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\custom_rules.xml and again in C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\custom_rules.xml
[getbuildtools] Using latest Build Tools: 24.0.1

nodeps:

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\NVPACK\android-sdk-windows

-setup:
[echo] Project Name: downloader_library
[gettype] Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for downloader_library…
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed…
[echo] ----------
[echo] Resolving Dependencies for downloader_library…
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found Deleted Target File
[aapt] Generating resource IDs…
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] No need to generate new BuildConfig.

-pre-compile:

-compile:
[javac] Compiling 1 source file to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\classes
[echo] Creating library output jar file…

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode…

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\res
[crunch] To destination dir: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\res
[crunch] Crunched 0 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources…

-package:
[echo] Library project: do not package apk…

-post-package:

-do-debug:
[echo] Library project: do not create apk…
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\build.prop
[propertyfile] Updating property file: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\build.prop

-post-build:

debug:

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files…
[aidl] Found 1 AIDL files.
[aidl] Compiling 1 AIDL files.
[echo] ----------
[echo] Handling RenderScript files…
[echo] ----------
[echo] Handling Resources…
[aapt] Found Deleted Target File
[aapt] Generating resource IDs…
[echo] ----------
[echo] Handling BuildConfig class…
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 25 source files to C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\bin\classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

-post-compile:

-obfuscate:

-dex:
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\bin\classes
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\classes.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\bin\classes.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\unity-ads\bin\classes.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\bin\classes.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\libs\google-play-services-analytics.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\FacebookAudienceNetwork.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\Vungle.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\MoPub.Volley.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\SystemUtils.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\ExoPlayer.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\Chartboost.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\millennial-media\libs\mm-ad-sdk.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\TapJoyMopub.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\libs\google-play-services-plus.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\TapJoy.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\NineOldAndroids.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\InMobi.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\libs\google-play-services-ads.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\AdColony.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\libs\google-play-services-base.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\android-support-v7-recyclerview.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\Dagger.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\picasso.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\JavaX.Inject.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\google-play-services_lib_ver_7_8_0\libs\google-play-services-games.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\VrApi.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\android-support-v4.jar
[dex] input: C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\libs\Conversant.jar
[dex] Pre-Dexing C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate\Android\APK\JavaLibs\downloader_library\bin\classes.jar -> classes-63b65bcab993bbd96b351f1281f34743.jar
[dx] java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
[dx] at java.lang.ClassLoader.defineClass1(Native Method)
[dx] at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
[dx] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[dx] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
[dx] at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
[dx] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
[dx] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[dx] at java.security.AccessController.doPrivileged(Native Method)
[dx] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[dx] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
[dx] at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
[dx] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[dx] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[dx] at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
[dx] Exception in thread “main”

BUILD FAILED
C:\NVPACK\android-sdk-windows ools\ant\build.xml:888: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:890: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:902: The following error occurred while executing this line:
C:\NVPACK\android-sdk-windows ools\ant\build.xml:283: null returned: 1

Total time: 10 seconds
UnrealBuildTool Exception: System.IO.FileNotFoundException: Could not find file ‘C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK/bin/AnimalHunter-debug.apk’.
File name: ‘C:\Users\funkstatic\Documents\Unreal Projects\AnimalHunter\Intermediate/Android/APK/bin/AnimalHunter-debug.apk’
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
at UnrealBuildTool.UEDeployAndroid.PrepTargetForDeployment(UEBuildTarget InTarget)
at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String] Arguments)

Please let me know if someone has suggestions for how to fix this. Sadly I’ve been stuck for about 3 weeks now on this guy.

Unsupported major.minor version 52.0, this is Java 8. I see you are using the UniversalMobileAds plugin. Did you remember to set the Java version to 1.7? [MENTION]GameDNA Studio[/MENTION] can likely help you.

Thanks so much for getting back to me!

I have been chatting with them but java version hadn’t come up (I’ll be sure to mention it now.)
When you say set Java version to 1.7, in what location exactly are you referring to?

My path in my project settings>Android SDK> location of java, is pointing at my install of jdk1.7.0_71

Or is this located somewhere else I’m unaware of?

Thanks again for taking the time to help.

You should change build.xml as described in docs in section “Getting started”.

Change:


<property name="java.target" value="1.5" />
<property name="java.source" value="1.5" />

to


<property name="java.target" value="7" />
<property name="java.source" value="7" />

But probably you have already changed it so it’s not the problem. People affected by this issue generally have problems with migrate from 4.11 to 4.12 and the new CodeWorks. Make sure that you updated to CodeWorks 1R4 (and you changed Android SDK paths) and you don’t have installed SDK greater than 22.