혹시나 이런 에러가 뜬다면?


아놔 참내.. 대빠 짜증나네요.


열나게 찾아보다가 유니티 버젼업도 해보고  Admob plugin 다시 지웠다가 깔았따 삽질하다가 

드디어 찾았습니다.


C:\Users\[윈도우계정 폴더]\.gradle\caches


저기 caches 폴더안에 내용 싹 다 지우세요. 그리고 다시 컴파일 하면 문제없이 실행됩니다.



아래는 에러의 내용입니다.


CommandInvokationFailure: Gradle build failed. 


C:\Program Files\Java\jdk1.8.0_92\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-2.14.jar" 


org.gradle.launcher.GradleMain "assembleRelease" stderr[ FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':GoogleMobileAdsPlugin'. > Could not open cp_proj remapped class cache for a3z4zdl5fcobdida8j688jy8w (C:\Users\Jiseob.RYU\.gradle\caches\2.14\scripts-remapped\build_3jmypqtfkm6e3lteukob7oq4o\a3z4zdl5fcobdida8j688jy8w\cp_proj57408229). > Unexpected lock protocol found in lock file. Expected 3, found 0. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. ] stdout[ BUILD FAILED Total time: 2.254 secs ] exit code: 1 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.GradleWrapper.RunJava (System.String args, System.String workingdir, UnityEditor.Android.Progress progress) UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, UnityEditor.Android.Progress progress) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI()