问题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
暂无评论内容