美文网首页
Unable to find method 'com.andro

Unable to find method 'com.andro

作者: Everglow_111 | 来源:发表于2019-04-04 00:36 被阅读0次

    Android Studio 3.0
    原因 butterknife 配置问题:

    解决办法:

    删除

    buildscript {
        repositories {
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:3.0.0'
            classpath 'org.greenrobot:greendao-gradle-plugin:3.2.0'
            //classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
            //classpath 'com.jakewharton:butterknife-gradle-plugin:8.6.0'
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
    

    和 App build.gradle

    apply plugin: 'com.android.application'
    apply plugin: 'org.greenrobot.greendao'
    //apply plugin: 'com.jakewharton.butterknife'
    

    然后重新构建一次

    相关文章

      网友评论

          本文标题:Unable to find method 'com.andro

          本文链接:https://www.haomeiwen.com/subject/lyrxiqtx.html