1
升級至Android 2.3工作室後,我簡直的gradle開始抱怨一些「鬼」庫我沒有。 我已經降級了我的目標並且由於產品而構建了sdk版本。錯誤。AS 2.3更新打破我的gradle這個建立
什麼我gradle這個樣子:
compile files('libs/apptimize-android-2.12.4.jar')
compile 'com.newrelic.agent.android:android-agent:5.4.1'
//compile 'com.apptimize:apptimize-android:2.12.3'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:palette-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.facebook.android:facebook-android-sdk:4.18.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0'
compile 'com.squareup.okhttp:okhttp:2.2.0'
compile 'com.google.code.gson:gson:2.3'
compile 'org.parceler:parceler:1.1.6'
compile 'com.jakewharton:butterknife:6.1.0'
compile 'com.google.android.gms:play-services-analytics:9.4.0'
compile 'com.google.android.gms:play-services-basement:9.4.0'
compile 'com.google.android.gms:play-services-base:9.4.0'
compile 'com.google.android.gms:play-services-gcm:9.4.0'
compile 'com.google.android.gms:play-services-location:9.4.0'
compile 'com.google.android.gms:play-services-appindexing:9.4.0'
compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
compile 'com.facebook.stetho:stetho:1.4.2'
compile 'in.srain.cube:grid-view-with-header-footer:1.0.12'
compile 'com.newrelic.agent.android:android-agent:5.4.1'
compile 'id.zelory:compressor:1.0.4'
// compile 'com.github.rubensousa:gravitysnaphelper:1.0'
compile 'com.urbanairship.android:urbanairship-sdk:8.0.4'
compile 'com.appsflyer:af-android-sdk:4.7.0'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.github.chrisbanes:PhotoView:1.3.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.pacioianu.david:ink-page-indicator:1.2.0'
compile 'io.card:android-sdk:5.4.2'
我已經運行./gradlew -q dependencies app:dependencies --configuration compile
但我不明白是怎麼回事:
No configurations
------------------------------------------------------------
Project :app
------------------------------------------------------------
compile - Classpath for compiling the main sources.
+--- com.newrelic.agent.android:android-agent:5.4.1
+--- com.android.support:appcompat-v7:23.4.0 -> 25.0.0
| +--- com.android.support:support-v4:25.0.0
| | +--- com.android.support:support-compat:25.0.0
| | | \--- com.android.support:support-annotations:25.0.0
| | +--- com.android.support:support-media-compat:25.0.0
| | | \--- com.android.support:support-compat:25.0.0 (*)
| | +--- com.android.support:support-core-utils:25.0.0
| | | \--- com.android.support:support-compat:25.0.0 (*)
| | +--- com.android.support:support-core-ui:25.0.0
| | | \--- com.android.support:support-compat:25.0.0 (*)
| | \--- com.android.support:support-fragment:25.0.0
| | +--- com.android.support:support-compat:25.0.0 (*)
| | +--- com.android.support:support-media-compat:25.0.0 (*)
| | +--- com.android.support:support-core-ui:25.0.0 (*)
| | \--- com.android.support:support-core-utils:25.0.0 (*)
| +--- com.android.support:support-vector-drawable:25.0.0
| | \--- com.android.support:support-compat:25.0.0 (*)
| \--- com.android.support:animated-vector-drawable:25.0.0
| \--- com.android.support:support-vector-drawable:25.0.0 (*)
+--- com.android.support:recyclerview-v7:23.4.0
| +--- com.android.support:support-annotations:23.4.0 -> 25.0.0
| \--- com.android.support:support-v4:23.4.0 -> 25.0.0 (*)
+--- com.android.support:design:23.4.0
| +--- com.android.support:recyclerview-v7:23.4.0 (*)
| +--- com.android.support:appcompat-v7:23.4.0 -> 25.0.0 (*)
| \--- com.android.support:support-v4:23.4.0 -> 25.0.0 (*)
+--- com.android.support:palette-v7:23.4.0
| \--- com.android.support:support-v4:23.4.0 -> 25.0.0 (*)
+--- com.android.support:cardview-v7:23.4.0 -> 25.0.0
| \--- com.android.support:support-annotations:25.0.0
+--- com.facebook.android:facebook-android-sdk:4.18.0
| +--- com.android.support:support-v4:25.0.0 (*)
| +--- com.android.support:appcompat-v7:25.0.0 (*)
| +--- com.android.support:cardview-v7:25.0.0 (*)
| +--- com.android.support:customtabs:25.0.0
| | +--- com.android.support:support-compat:25.0.0 (*)
| | \--- com.android.support:support-annotations:25.0.0
| \--- com.parse.bolts:bolts-android:1.4.0
| +--- com.parse.bolts:bolts-tasks:1.4.0
| \--- com.parse.bolts:bolts-applinks:1.4.0
| \--- com.parse.bolts:bolts-tasks:1.4.0
+--- com.squareup.retrofit:retrofit:1.9.0
| \--- com.google.code.gson:gson:2.3.1
+--- com.squareup.okhttp:okhttp-urlconnection:2.2.0
| \--- com.squareup.okhttp:okhttp:2.2.0
| \--- com.squareup.okio:okio:1.2.0
+--- com.squareup.okhttp:okhttp:2.2.0 (*)
+--- com.google.code.gson:gson:2.3 -> 2.3.1
+--- org.parceler:parceler:1.1.6
| \--- org.parceler:parceler-api:1.1.6
+--- com.jakewharton:butterknife:6.1.0
+--- com.google.android.gms:play-services-analytics:9.4.0
| +--- com.google.android.gms:play-services-analytics-impl:9.4.0
| | +--- com.google.android.gms:play-services-base:9.4.0
| | | +--- com.google.android.gms:play-services-basement:9.4.0
| | | | \--- com.android.support:support-v4:23.0.0 -> 25.0.0 (*)
| | | \--- com.google.android.gms:play-services-tasks:9.4.0
| | | \--- com.google.android.gms:play-services-basement:9.4.0 (*)
| | \--- com.google.android.gms:play-services-basement:9.4.0 (*)
| +--- com.google.android.gms:play-services-base:9.4.0 (*)
| \--- com.google.android.gms:play-services-basement:9.4.0 (*)
+--- com.google.android.gms:play-services-basement:9.4.0 (*)
+--- com.google.android.gms:play-services-base:9.4.0 (*)
+--- com.google.android.gms:play-services-gcm:9.4.0
| +--- com.google.android.gms:play-services-base:9.4.0 (*)
| +--- com.google.android.gms:play-services-basement:9.4.0 (*)
| \--- com.google.android.gms:play-services-iid:9.4.0
| +--- com.google.android.gms:play-services-base:9.4.0 (*)
| \--- com.google.android.gms:play-services-basement:9.4.0 (*)
+--- com.google.android.gms:play-services-location:9.4.0
| +--- com.google.android.gms:play-services-base:9.4.0 (*)
| \--- com.google.android.gms:play-services-basement:9.4.0 (*)
+--- com.google.android.gms:play-services-appindexing:9.4.0
| +--- com.google.android.gms:play-services-base:9.4.0 (*)
| +--- com.google.android.gms:play-services-basement:9.4.0 (*)
| +--- com.google.firebase:firebase-common:9.4.0
| | +--- com.google.android.gms:play-services-basement:9.4.0 (*)
| | \--- com.google.android.gms:play-services-tasks:9.4.0 (*)
| \--- com.google.android.gms:play-services-tasks:9.4.0 (*)
+--- com.github.ksoichiro:android-observablescrollview:1.6.0
| \--- com.android.support:recyclerview-v7:22.2.0 -> 23.4.0 (*)
+--- com.facebook.stetho:stetho:1.4.2
| +--- commons-cli:commons-cli:1.2
| \--- com.google.code.findbugs:jsr305:2.0.1
+--- in.srain.cube:grid-view-with-header-footer:1.0.12
+--- id.zelory:compressor:1.0.4
| \--- io.reactivex:rxjava:1.1.6
+--- com.urbanairship.android:urbanairship-sdk:8.0.4
| +--- com.android.support:support-v4:24.2.1 -> 25.0.0 (*)
| +--- com.android.support:support-annotations:24.2.1 -> 25.0.0
| \--- com.google.android.gms:play-services-gcm:9.4.0 (*)
+--- com.appsflyer:af-android-sdk:4.7.0
+--- com.rengwuxian.materialedittext:library:2.1.4
| +--- com.android.support:appcompat-v7:22.2.0 -> 25.0.0 (*)
| +--- com.android.support:support-annotations:22.2.0 -> 25.0.0
| \--- com.nineoldandroids:library:2.4.0
+--- com.github.chrisbanes:PhotoView:1.3.1
| \--- com.android.support:support-core-utils:25.0.0 (*)
+--- com.github.bumptech.glide:glide:3.7.0
+--- com.pacioianu.david:ink-page-indicator:1.2.0
| +--- com.android.support:support-v4:23.4.0 -> 25.0.0 (*)
| \--- com.android.support:appcompat-v7:23.4.0 -> 25.0.0 (*)
\--- io.card:android-sdk:5.4.2
我沒有任何地方的任何25.0.0版本,爲什麼會發生這種情況? 這個動畫矢量可繪製來自哪裏? 我已經使緩存失效,清理並重建,但錯誤不斷顯示。
謝謝!