android studio gradle refresh failed (The system c

2019-09-09 12:56发布

I am receiving following error in android studio gradle

Error:C:\Users\Subash.gradle\caches\2.2.1\scripts\asLocalRepo16_1ny8gqikcqanmkspcmvyfsub7\InitScript\initscript\cache.properties (The system cannot find the file specified)

1条回答
你好瞎i
2楼-- · 2019-09-09 13:17

If I understand right this problem can be solved with a simple correction of the path of the file that contains the correct version of gradle.

You can find it in Android Studio -> Preferences -> Gradle -> service directory path.

You must find the correct version of gradle to run smoothly. I have [gradle-2.4-rc-1].

I hope this can help you to solve your problem.

查看更多
登录 后发表回答