gpt4 book ai didi

java - AS 2.3 更新破坏了我的 gradle 构建

转载 作者:太空宇宙 更新时间:2023-11-04 11:42:16 25 4
gpt4 key购买 nike

升级到 Android Studio 2.3 后,我的 gradle 开始提示一些我没有的“幽灵”库。由于产品,我已经降级了我的目标和构建 sdk 版本。错误。

enter image description here

我的 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 dependency app:dependencies --configurationcompile 但我不明白这里发生了什么:

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 版本,为什么会发生这种情况?这个动画 vector 绘图来自哪里?我已经使缓存失效、清理并重建,但错误仍然出现。

谢谢!

最佳答案

实际上,这是 facebook、Urban Airship 和 photoview 问题的混合体。实际上降级它们解决了问题。

关于java - AS 2.3 更新破坏了我的 gradle 构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42679112/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com