2017-05-22 8 views
0

2つのライブラリに問題があります。私buttknifeは、注入作業ではないので、バットナイフはRXJavaで動作しません

のGradleは... Gradleのプロセスで問題が発生したエラーを持っていない

apply plugin: 'com.android.application' 
android { 
    compileSdkVersion 25 
    buildToolsVersion "25.0.3" 
    defaultConfig { 
     applicationId "pe.com.gmd.innova.adexus.adexusday" 
     minSdkVersion 16 
     targetSdkVersion 25 
     versionCode 1 
     versionName "1.0" 
     multiDexEnabled true 
     testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 

     jackOptions { 
      enabled true 
     } 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 

    compileOptions { 
     sourceCompatibility JavaVersion.VERSION_1_8 
     targetCompatibility JavaVersion.VERSION_1_8 
    } 
} 
/* 
greendao { 
    schemaVersion 7 
}*/ 
dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 
     exclude group: 'com.android.support', module: 'support-annotations' 
    }) 
    compile(name: 'androidgmd2', ext: 'aar') 
    compile 'com.android.support:appcompat-v7:25.3.1' 
    compile 'com.jakewharton:butterknife:7.0.1' 
    compile 'com.android.support:design:25.3.1' 
    compile 'com.android.support:cardview-v7:25.3.1' 
    compile 'com.android.support:recyclerview-v7:25.3.1' 
    compile 'com.android.support:multidex:1.0.1' 
    compile 'org.greenrobot:greendao:3.2.2' 
    compile 'com.nineoldandroids:library:2.4.0' 
    compile 'com.daimajia.androidanimations:library:[email protected]' 
    compile 'com.github.bumptech.glide:glide:3.7.0' 
    compile 'com.squareup.retrofit2:retrofit:2.0.2' 
    compile 'com.squareup.retrofit2:converter-gson:2.0.2' 
    compile 'com.viewpagerindicator:library:[email protected]' 
    compile 'com.google.android.gms:play-services-location:10.2.1' 
    compile 'com.google.android.gms:play-services-maps:10.2.1' 
    compile 'com.google.firebase:firebase-messaging:10.0.1' 
    compile 'com.google.firebase:firebase-crash:10.0.1' 
    compile 'com.google.code.gson:gson:2.8.0' 
    compile 'me.dm7.barcodescanner:zbar:1.9.1' 
    compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha8' 
    compile 'com.android.support:support-v4:25.3.1' 
    testCompile 'junit:junit:4.12' 
    compile 'io.reactivex:rxandroid:1.2.0' 
    compile 'io.reactivex:rxjava:1.1.8' 
    compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0' 

} 
apply plugin: 'com.google.gms.google-services' 

を提出..だからejecuttionアプリケーションでの問題を抱えています。

おそらく存在するバージョンなので、rxjavaライブラリでうまく動作しますか?またはバージョンは、あなたがAnnotationProcessorをインポートしていないように見えます

私のバージョンライブラリcompile 'com.jakewharton:butterknife:7.0.1'

答えて

1

本当に低いです。 最新バージョンで試してください:

compile 'com.jakewharton:butterknife:8.6.0' 
annotationProcessor 'com.jakewharton:butterknife-compiler:8.6.0' 
+0

はい男性です。しかし、私のプロジェクトは存在する..もし私のgradleを変更すると、すべてのプロジェクトが変更されます。バージョン7.0.1で解決策を探しています。 おかげで。 – marlonpya

関連する問題