2
I created a "game" and I’m willing to do build for android devices... but I’m getting the error:
Error building Player: Win32exception: Applicationname='C:/Users/Lucas/Appdata/Local/Android/android-sdk tools aapt.exe', Commandline='package --auto-add-overlay -v -f -m -J gen -M Androidmanifest.xml -S "res" -I "C:/Users/Lucas/Appdata/Local/Android/android-sdk Platforms android-21 android.jar" -F bin/Resources.ap_', Currentdirectory='Temp/Stagingarea'
I have the SDK and Java installed. How do I make it work?
This is the first time you’ve tried to compile?
– Felipe Douradinho
What version of the SDK, 64bit or 32bit?
– Felipe Douradinho
Yes, I compiled for PC and it worked.. the problem is when I build for Andoid... and the sdk is 64bit
– mrlucasrib
Try to copy
c:\windows\system32\java.exe
proc:\windows\syswow64
please (whereC:
is its unit ofWindows
)– Felipe Douradinho
N worked :-/
– mrlucasrib
Try to install the version too
32bit
ofSDK
– Felipe Douradinho
And if it doesn’t work, try copying the
java.exe
of the installation folders of theJava
forc:\windows\syswow64
. Finally, check ifJAVA_HOME
is in your OS environment variables (Windows or Linux)– Felipe Douradinho
Take a look at this as well: http://stackoverflow.com/questions/24501944/unity3d-android-build-error-win32-exception-zipalign
– Felipe Douradinho
goes to sdk folder and search by appt.exe when find copy to tools folder
– tuti