gradle老问题

问题1

What went wrong:
A problem occurred configuring project ‘:XXX(这个是你的项目)’.
java.io.FileNotFoundException: /AndroidManifest.xml (No such file or directory)

解决方法:rm -rf ~/.gradle/caches

问题2

What went wrong:
A problem occurred configuring root project ‘XXXX’(这个是你的项目).
Could not resolve all dependencies for configuration ‘:classpath’.
Timeout waiting to lock artifact cache (/xxx/xxx/.gradle/caches/modules-2). It is currently in use by another Gradle instance.

解决方法:这问题是你命令行的gradle在编译你的项目,Android studio也在编译你的项目。你停止其中一个就行了再重新编译就行了

感谢您的观看,对您有用就分享出去吧 !

© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容