playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 966 forks source link

it's not possible to create APK #1601

Open yruizw opened 7 years ago

yruizw commented 7 years ago

Hi there, Running under Unity 5.5.0p4, my project is having an error and is not possible create the apk, before the plugin installation this was working properly, I'm getting the following error that is now very easy to understand :

CommandInvokationFailure: Failed to build apk. /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/yruizw/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" -

stderr[ Error: Not a file '/MocData/BetApps/MochikApp/Games/UnityProjects/Yupana/YupanaII' ] stdout[

] exit code: 255 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEdiditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.HostView:OnGUI()

Apart of this for some reason I'm getting some warnings before this

WARNING: No compatible versions of com.android.support:support-v4 required by (com.google.android.gms:play-services-basement:10.0.1), will try using the latest version 24.0.0 UnityEngine.Debug:Log(Object)

Regards Yuri

claywilkinson commented 7 years ago

This looks like you're missing a directory or files? stderr[ Error: Not a file '/MocData/BetApps/MochikApp/Games/UnityProjects/Yupana/YupanaII' ]