Gradle build failed > Could not create service of type ExecutionHistoryStore using ExecutionServices
Hi Guys I get Gradle failed for my project and it includes firebase & GameAnalitycs. I removed both of them but still get that error
I use android sdk, ndk , gradle from unity hub. console error is :
Trying to add file C:/.../Temp/gradleOut/libs/gameanalytics.aar to the list of ouptut files in the build report, but a file at that path has already been added. UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
What went wrong:
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
Could not create service of type ExecutionHistoryStore using ExecutionServices.createExecutionHistoryStore().
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
Cannot lock execution history cache (C:\Projects...\Temp\gradleOut.gradle\5.1.1\executionHistory) as it has already been locked by this process.
UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
thanks
Answer by Pradip07 · Feb 01, 2020 at 11:03 AM
Proper Delete the Cache C:/User/UserName/.gradle/cache folder only...
Your answer
![](https://koobas.hobune.stream/wayback/20220612221048im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Blank Project show error while create Android Build 0 Answers
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors and I've already fixed SDKs. 0 Answers
I'm getting IL2CPP build error for some reason 1 Answer
Android - Google Admob and Easy Mobile brakes build process 0 Answers
Need help with Gradle Build Unity error UnityEditor.BuildPlayerWindow+BuildMethodException 0 Answers