Closed zhaohongbogit closed 8 years ago
project's build.gradle
buildscript { dependencies { classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' } } module's buid.gradle
apply plugin: 'com.neenbedankt.android-apt'
dependencies { apt 'com.zhy:mpermission-compiler:1.0.0' compile 'com.zhy:mpermission-api:1.0.0' }
已解决,没有安装apt插件
Error:(115, 0) Gradle DSL method not found: 'apt()' Possible causes: