错误:注释值不是允许类型

时间:2018-01-25 21:23:15

标签: java android butterknife

尝试构建我的项目,但此错误显示在此行

 @BindView({R.id.view_1, R.id.view_2, R.id.view_3, R.id.view_4, R.id.view_5})
    View[] views;
    private SharedPreferences preferences;

应用程序模块依赖



dependencies {
   final SUPPORT_LIB_VERSION = '27.0.2'
    final COLOR_PICKER_VERSION = '1.5'
    final BUTTER_KNIFE_VERSION = '8.4.0'

    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile 'com.google.android.gms:play-services-ads:11.8.0'
    //noinspection GradleCompatible
    compile "com.android.support:appcompat-v7:27.0.2"
    compile "com.larswerkman:HoloColorPicker:1.5"
    compile 'com.jakewharton:butterknife:8.4.0'



    compile project(':library')
}




和Project Gradle



dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }




C:\用户\用户\桌面\ APPS \布拉布拉\布拉布拉\布拉布拉\壁纸\ SRC \主\的java \ COM \ cleveroad \壁纸\ SettingsFragment.java

错误:注释值不是允许类型

0 个答案:

没有答案