Error:A problem occurred configuring root project 'testProject'.
> Could not open cp_proj class cache for build file 'E:\testProject\build.gradle' (C:\Users\cx\.gradle\caches\2.8\scripts\build_23c6mfkakzmi6u18917l1hu2i\cp_proj).
> Timeout waiting to lock cp_proj class cache for build file 'E:\testProject\build.gradle' (C:\Users\cx\.gradle\caches\2.8\scripts\build_23c6mfkakzmi6u18917l1hu2i\cp_proj). It is currently in use by another Gradle instance.
Owner PID: unknown
Our PID: 11668
Owner Operation: unknown
Our operation: Initialize cache
Lock file: C:\Users\cx\.gradle\caches\2.8\scripts\build_23c6mfkakzmi6u18917l1hu2i\cp_proj\cache.properties.lock
这个问题解决起来很简单,删除最后的路径下的文件就可以了。