Error:(33, 0) Gradle DSL method not found: 'apt()'
来源:互联网 发布:linux中批量删除用户 编辑:程序博客网 时间:2024/05/29 08:13
gradle配置会碰到的问题
错误:
Error:(33, 0) Gradle DSL method not found: 'apt()'
Possible causes:<ul><li>The project 'TestSlider' may be using a version of Gradle that does not contain the method.
<a href="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
解决方法:
在当前.gradle文件中添加:
apply plugin: 'android-apt'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
0 0
- Error:(33, 0) Gradle DSL method not found: 'apt()'
- 解决: Gradle DSL method not found: 'apt()'
- Gradle DSL method not found: 'apt()'
- 关于Android studio出现Error:(44, 0) Gradle DSL method not found: 'apt()' 错误的解决办法
- error Gradle DSL method not found: 'android()'
- Error:Gradle DSL method not found: 'has()'
- Error:(16, 0) Gradle DSL method not found: 'runProguard()'
- Error:(16, 0) Gradle DSL method not found: 'runProguard()'
- Error:(16, 0) Gradle DSL method not found: 'android()'
- Error:(16, 0) Gradle DSL method not found: 'Android()'
- Error:(16, 0) Gradle DSL method not found: 'android()'
- Error:(27, 0) Gradle DSL method not found: 'compileSdkVersion()'
- Error:(23, 0) Gradle DSL method not found: 'google()'
- Gradle DSL method not found
- Gradle DSL method not found
- 解决Error:Gradle DSL method not found: 'install()'
- Android Studio Error:Gradle DSL method not found: 'has()'
- Android Studio Error:Gradle DSL method not found: 'has()'
- 第二册第十一单元
- hdu 1864(01背包容量为浮点数)
- 根据 Rodrigues 旋转公式、旋转矩阵以及主轴方向反求旋转角
- Linux运维笔记-文档总结-NFS网络文件系统和autofs自动挂载服务
- 连接池技术
- Error:(33, 0) Gradle DSL method not found: 'apt()'
- spring中lazy-init
- 【问题解决】com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entr
- 将tensorflow训练好的模型移植到android
- ImageView显示图片不变形
- 多线程辅助类之数组(一)
- 绝版题
- Fatal error: Call to undefined function curl_init() 报错解决
- 51nod 1298 圆与三角形(基础题,计算几何)