hi
i created a new 2d project an i want to test if the i can packaging it to android or windows
but it give my build error ( unknown error ) what’s wrong i had install sdk and ndk and jdk and select them but i don’t know why i can’t packaging ??
So looking at your logs, there are a number of lines which indicate the potential problem.
UATHelper: Packaging (Android (All)): BUILD FAILED
UATHelper: Packaging (Android (All)): D:\yuosof\Android\android-sdk\tools\ant\build.xml:597: The following error occurred while executing this line:
UATHelper: Packaging (Android (All)): D:\yuosof\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
UATHelper: Packaging (Android (All)): D:\yuosof\Android\android-sdk\tools\ant\build.xml:730: Unable to find a javac compiler;
UATHelper: Packaging (Android (All)): com.sun.tools.javac.Main is not on the classpath.
UATHelper: Packaging (Android (All)): Perhaps JAVA_HOME does not point to the JDK.
UATHelper: Packaging (Android (All)): It is currently set to "C:\Program Files (x86)\Java\jre1.8.0_111"
UATHelper: Packaging (Android (All)): Total time: 11 seconds
UATHelper: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramAndReturnResult: Making .apk with Ant again to show errors
UATHelper: Packaging (Android (All)): Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre1.8.0_111\lib\tools.jar
UATHelper: Packaging (Android (All)): Buildfile: C:\Users\acer\Documents\Unreal Projects\MyProject2\Intermediate\Android\APK\build.xml
Make sure everything is installed in the proper location and your SDKs are installed and referencing the proper location. Be sure to also configure your project for Android.
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol “void __cdecl EmptyLinkFunctionForStaticInitializationCreaturePackRuntimePlugin(void)”
Perhaps you have an undesirable symbol or space in your project’s name? From reading it, it says 'unresolved external symbol “void_cdecl”. Looking through a google search I found this link which might also point you in a helpful direction. Check to make sure all your SDK’s (Windows and Android are all up to date).
currently i had downloaded the sdk and ndk again from nvidia and config my new project for android and locate sdk and ndk and everything
but when packaging to android it say’s error ?
her is a log >
could you tell me please how to fix it i tried many times and other projects but still same error even after update sdk and ndk
when i packing for win it worked i just want to packing to android
I found two errors which I think could be the issue, but before I share those with you I would like to show you how I search logs as it generally falls on the users to narrow down the cause of the issue.
Open your logs, press the search function (Ctrl+F). Then search for keywords like, ‘Error’ and ‘Failed’. Then search through each mention of the word until you come across something worth noticing.
Unfortunately, I have reached the extent of my knowledge with your error, and can only provide solutions on how to go about locating the error. I did run a google search and found a post related to the error you are reporting.