android studio 再次出问题,到怀疑人生。
报错 Could not get unknown property ‘com’ for root project
代码肯定是没有问题,都能正常运行,
处理方式
分两步:
第一:file–>invalidate caches and restart
第二部,找到我的gradle 目录:
E:\gradle_files
删除 下面的caches里面的全部文件,问题解决
参考:
https://*.com/questions/59422617/error-could-not-get-unknown-property-com-for-root-project-myapp-of-type-org
相关文章
- 09-26Could not get unknown property ‘com‘ for root project
- 09-26[Android]编译错误:Could not get unknown property 'release' for SigningConfig container
- 09-26Could not get unknown property ‘versions‘ for object of type com.android.build.gradle.AppExtension
- 09-26解决:Could not get unknown property 'android' for project ':fluttertoast' of type org.gradle.api.Project