Error Building Play : Failed to build apk.

Hi ! I have this error ( never before -__- ):

Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details.
C:\Program Files\Java\jdk1.7.0_51\bin\java.exe -Xmx1024M“C:/Users/Anthony/android-sdks ools” -Dfile.encoding=UTF8 -jar “C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar” -

Error: Not a file ‘C:\Users\Anthony\Documents\21Project’


I tried to set JAVA_HOME as environmental variable.
To move java.exe from 32bits folder to 64bits folder.
But … again this error …
Some one has the solution
without sending me this :wink: :


I had a similar problem like this not too long ago but instead it was related to the ZipAlign file, I managed to fix it by simply copying this file from Android\sdk ools to the build-tools.

Hope this helps!

well, you could try to re-download the latest Android SDK version, update it and check if this resolves the problem. Also make sure your copying the file rather than moving it.

Try this link:

I get this problem randomly. It happens sometimes when I am loading to the LG G5 from Unity, if it does, I try again, it usually works, sometimes. Very unusual.

you can resolve this problem here: - YouTube