hongyangAndroid / MPermissions

a easy API to use runtime permission for Android M
Apache License 2.0
976 stars 209 forks source link

用的最新的自带gradle,com.android.tools.build:gradle:2.0.0-beta6,报以下错误 #4

Closed zhaohongbogit closed 8 years ago

zhaohongbogit commented 8 years ago

Error:(115, 0) Gradle DSL method not found: 'apt()' Possible causes:

hongyangAndroid commented 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' }

zhaohongbogit commented 8 years ago

已解决,没有安装apt插件