- Home /
Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details.
Hi I am getting the following exception when building for Android
Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details. C:\Program Files\Java\jdk1.7.0_07\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="D:/Android\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -
stderr[ Error: Not a file 'D:\UnityTeeterGame' ] stdout[
]
After adding app monitizing service to my app this error occured, so i have removed Adds in my app and everything work again. But I don't know the reason.
Answer by Patrick_van_Duyse · Mar 18, 2015 at 11:59 PM
Here is an identical question with a great solution: http://answers.unity3d.com/questions/621759/building-error-not-a-file-.html
Answer by Sisso · Oct 02, 2013 at 08:19 PM
Its appears to be caused by a corrupted plugin jar file where unity could not unpack to compile. Simple delete or recopty your plugin file and everything back to work.
This answer isn't helpful at all, where is the plugin jar file
Answer by saadali211 · Oct 21, 2017 at 03:35 PM
Here is New " Video Tutorial " on how to fix all the admob problems and implement it sucessfully
watch Now On Youtube https://www.youtube.com/watch?v=JRGd7UG-WdE