Error packaging (unkown error) what's wrong ?!

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 ??

i’m using ue 4.15.1

and i try in 4.14.3 but it’s same error

here is the log

link text

please if any one have solution for this problem ?

thank you.

isi any one can helpe ??

Hey yhak2017,

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.

Let me know if you have further questions.

Thanks,

i;ll try to download sdk from nvidia again and i;ll tell you

thank you

and another thing when i tried to packaging it to win64 it show same error

here is the log can you help me please ?

link text

i wonder what is my problem ?? my laptop is modern and the editor run smoothly

The UATHelper points to these errors:

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

Let me know if you have further questions.

Thank you,

thanks for your help

after fix error by disable some plugins it packing successfully .

but when i;m running the .exe a massage appear and i cant open it

here is the massage pic :

132644-m.png

can you tell me whats wrong or what i missed ???

that happened when i’m trying to open the .exe file.

You need to make sure your packaged project contains a DefaultEngine.ini in the directory mentioned.

hi.

thank you for help

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 >

link text

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.

LogTemp:Display: IPP ERROR: Application exception: System.IO.DirectoryNotFoundException: ?㨩 ?????? ??? ??? ?? ??꫟? 'C:\Users\acer\AppData\Local\Apple Computer\MobileDevice\Provisioning Profiles'.
LogTemp:Display:    ??? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

Above are the error I found to be outstanding that could be causing your issue to occur.

Cheers,

thank you for replying

i know how to search error but i can’t find any thing on google to solve it
i wonder if you can help me to fix this problem

thanks again

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.

Best of luck!

H

thank you AndrewHurley
my issus are solved by downloading jdk latest version from theire website
now i can packing my games
thank’s again.