报错:Could not get unknown property 'compile' for object of type
来源:互联网 发布:如何更改网络节点 编辑:程序博客网 时间:2024/06/07 07:05
android studio 新建Activity 的时候,莫名其妙的报了一个错误。 关键词'compile' , 那就去项目下的,gradle文件下看一下。
WTF? 怎么变成这个鬼样子...
那就很简单啦,原因是新建Activity的时候 gradle中的compile混乱了。
重构一下,重新Rebuild就没问题了
阅读全文
0 0
- 报错:Could not get unknown property 'compile' for object of type
- android studio新建google map Activity报错Error:Could not get unknown property 'compile' for object of ty
- Error:Could not get unknown property ‘apkVariantData’ for object of type com.android.build.gradle.in
- Could not get unknown property 'GROUP' for object of type org.gradle.api.publication.maven.internal.
- 错误Error:Could not get unknown property 'GROUP' for object of type org.gradle.api.publication.maven.i
- Error:Could not set unknown property 'supportHotplugComponent' for object of type com.tencent.bugly.
- Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' for project ':daternagepicker' of type or
- android studio导入library的错误No service of type Factory/Could not get unknown property
- Could not get unknown property 'mysigns' for SigningConfig container.
- Could not get unknown property 'release' for SigningConfig container.
- Could not get unknown property 'myConfig' for SigningConfig container
- Could not get unknown property 'myConfig' for SigningConfig container.
- :Could not get unknown property 'config' for SigningConfig container
- Could not get unknown property 'ANDROID_BUILD_SDK_VERSION'
- Could not get unknown property 'ANDROID_BUILD_SDK_VERSION'
- Could not get unknown property 'ANDROID_BUILD_SDK_VERSION' 解决方法
- Could not get unknown property 'ANDROID_BUILD_SDK_VERSION'
- [Android]编译错误:Could not get unknown property 'release' for SigningConfig container
- World Cup __(UVALive
- 模拟扫雷--Java控制台操作(二)
- 进行 Kotlin 实战开发前,你应了解的那些技术点
- HDU6063RXD and math
- Android网络框架xUtils的图片处理操作
- 报错:Could not get unknown property 'compile' for object of type
- spring+mybatis后台整合登录实例
- 敏捷宣言遵循的原则敏捷宣言遵循的原则
- CREATE DATABASE语句
- JStorm与Storm源码分析(三)--Scheduler,调度器
- java-求任意两个正整数的最大公约数和(GCD)和最小公倍数(LCM)
- Mac命令行获取当前时间,过去未来几天、几月、几年时间
- 1989-字符串分割
- 深入理解正则表达式高级教程