Android报错:Gradle相关 Error:Could not open cp_init class cache for initialization script
2016-10-16 14:34
676 查看
错误:
Error:Could not open cp_init class cache
for initialization script
解决方法:
根据错误日志中显示的Gradle的版本(如:2.1.0),在电脑中找到下面的路径(每个人都不一样,Administrator代表你的用户名)
C:\Users\Administrator\.gradle\caches\2.10
删掉scripts文件夹
Error:Could not open cp_init class cache
for initialization script
解决方法:
根据错误日志中显示的Gradle的版本(如:2.1.0),在电脑中找到下面的路径(每个人都不一样,Administrator代表你的用户名)
C:\Users\Administrator\.gradle\caches\2.10
删掉scripts文件夹
相关文章推荐
- Android Error:Could not open cp_proj remapped class cache for 3xnrgz1qgb5499aaninuigi7h
- Error:Could not determine the class-path for interface com.android.builder.model.NativeAndroidProjec
- Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- 解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- Error:Could not get unknown property ‘apkVariantData’ for object of type com.android.build.gradle.in
- 解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- 报错 Error:Timeout waiting to lock cp_proj class cache for build file 'D:\androidw\TuYeLiangPin\app\b
- Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject
- Error:Timeout waiting to lock cp_proj class cache for build file 'D:\androidw\TuYeLiangPin\app\bui
- android Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.
- 解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject
- Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- Error occurred during initialization of VM Could not reserve enough space for object heap
- Error occurred during initialization of VM Could not reserve enough space for object heap
- 我的Android进阶之旅------>解决Error:Could not find property 'compile' on org.gradle.api.internal.artifacts.
- Qt for Android - Internal Error: Could not find .pro file
- Android Studio Gradle Could not reserve enough space for object heap
- 【问题解决】Android Stdio报错:Error occurred during initialization of VM Could not reser
- Error:C:\Users\lqm\.gradle\caches\2.10\scripts\ijinit34_7wu3ex74z3a8e98fc8d35fuid\cp_init\cache.prop