您好我在我的项目Gradle中使用了以下依赖项,并且我已经更新了所有软件包,但每次上传google play console后拒绝我的应用程序说Libpng漏洞问题。
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.jpardogo.materialtabstrip:library:1.1.0'
compile 'com.google.android.gms:play-services-location:10.0.1'
compile 'com.google.android.gms:play-services:10.0.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.5'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile files('src/libs/xmlpull_1.1.3.1.jar')
compile 'com.google.code.gson:gson:2.4'
compile project(':nikon_lib')
compile project(':hgrid_lib')
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.amazonaws:aws-android-sdk-core:2.3.8'
compile 'com.amazonaws:aws-android-sdk-cognito:2.3.8'
compile 'com.amazonaws:aws-android-sdk-s3:2.3.8'
compile 'com.amazonaws:aws-android-sdk-ddb:2.3.8'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:2.0.1'
compile 'com.android.support:multidex:1.0.1'
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
transitive = true;
}
运行Gradle依赖脚本./gradlew app:dependencies
后,我得到了下面显示的树结构,但我仍然无法找到使用Libpng库的依赖项
| +--- com.google.android.gms:play-services-analytics:10.0.1
| | +--- com.google.android.gms:play-services-analytics-impl:10.0.1
| | | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tagmanager-v4-impl:10.0.1
| | +--- com.google.android.gms:play-services-analytics-impl:10.0.1 (*)
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-analytics-impl:10.0.1 (*)
| +--- com.google.android.gms:play-services-appinvite:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.android.gms:play-services-auth:10.0.1
| | +--- com.google.android.gms:play-services-auth-base:10.0.1
| | | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.android.gms:play-services-auth-base:10.0.1 (*)
| +--- com.google.android.gms:play-services-base:10.0.1 (*)
| +--- com.google.android.gms:play-services-cast-framework:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-cast:10.0.1
| | | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | | \--- com.android.support:mediarouter-v7:24.0.0
| | | +--- com.android.support:palette-v7:24.0.0
| | | | \--- com.android.support:support-v4:24.0.0 -> 25.1.0 (*)
| | | \--- com.android.support:appcompat-v7:24.0.0 -> 25.1.0 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-cast:10.0.1 (*)
| +--- com.google.android.gms:play-services-clearcut:10.0.1 (*)
| +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.firebase:firebase-config:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-iid:10.0.1
| | | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | | \--- com.google.firebase:firebase-common:10.0.1
| | | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.android.gms:play-services-awareness:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.android.gms:play-services-location:10.0.1 (*)
| | \--- com.google.android.gms:play-services-places:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.android.gms:play-services-maps:10.0.1
| | | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.firebase:firebase-crash:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-iid:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.firebase:firebase-analytics:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.firebase:firebase-analytics-impl:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-iid:10.0.1 (*)
| | \--- com.google.firebase:firebase-common:10.0.1 (*)
| +--- com.google.android.gms:play-services-drive:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.firebase:firebase-auth:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.firebase:firebase-database-connection:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.firebase:firebase-common:10.0.1 (*)
| +--- com.google.firebase:firebase-database:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-database-connection:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.firebase:firebase-iid:10.0.1 (*)
| +--- com.google.firebase:firebase-messaging:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-iid:10.0.1 (*)
| | \--- com.google.firebase:firebase-common:10.0.1 (*)
| +--- com.google.firebase:firebase-storage:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-storage-common:10.0.1
| | | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.firebase:firebase-storage-common:10.0.1 (*)
| +--- com.google.firebase:firebase-common:10.0.1 (*)
| +--- com.google.android.gms:play-services-fitness:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-location:10.0.1 (*)
| +--- com.google.android.gms:play-services-games:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-drive:10.0.1 (*)
| +--- com.google.android.gms:play-services-gass:10.0.1 (*)
| +--- com.google.android.gms:play-services-gcm:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-iid:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.firebase:firebase-appindexing:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.firebase:firebase-common:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.android.gms:play-services-identity:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-iid:10.0.1 (*)
| +--- com.google.android.gms:play-services-instantapps:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-location:10.0.1 (*)
| +--- com.google.android.gms:play-services-maps:10.0.1 (*)
| +--- com.google.firebase:firebase-analytics:10.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:10.0.1 (*)
| +--- com.google.android.gms:play-services-nearby:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-panorama:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-places:10.0.1 (*)
| +--- com.google.android.gms:play-services-plus:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-safetynet:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.android.gms:play-services-tagmanager-api:10.0.1
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.firebase:firebase-analytics:10.0.1 (*)
| +--- com.google.android.gms:play-services-tagmanager:10.0.1
| | +--- com.google.android.gms:play-services-analytics-impl:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | \--- com.google.android.gms:play-services-tagmanager-api:10.0.1 (*)
| +--- com.google.android.gms:play-services-tagmanager-v4-impl:10.0.1 (*)
| +--- com.google.android.gms:play-services-tasks:10.0.1 (*)
| +--- com.google.android.gms:play-services-vision:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:10.0.1 (*)
| +--- com.google.android.gms:play-services-wallet:10.0.1
| | +--- com.google.android.gms:play-services-base:10.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:10.0.1 (*)
| | +--- com.google.android.gms:play-services-identity:10.0.1 (*)
| | \--- com.google.android.gms:play-services-maps:10.0.1 (*)
| \--- com.google.android.gms:play-services-wearable:10.0.1
| +--- com.google.android.gms:play-services-base:10.0.1 (*)
| \--- com.google.android.gms:play-services-basement:10.0.1 (*)
+--- com.fasterxml.jackson.core:jackson-databind:2.8.5
| +--- com.fasterxml.jackson.core:jackson-annotations:2.8.0
| \--- com.fasterxml.jackson.core:jackson-core:2.8.5
+--- com.squareup.okhttp:okhttp:2.4.0
| \--- com.squareup.okio:okio:1.4.0
+--- com.google.code.gson:gson:2.4
+--- project :nikon_lib
| \--- com.android.support:support-v4:25.1.0 (*)
+--- project :hgrid_lib
+--- com.squareup.picasso:picasso:2.5.2
+--- com.amazonaws:aws-android-sdk-core:2.3.8
| \--- com.google.code.gson:gson:2.2.4 -> 2.4
+--- com.amazonaws:aws-android-sdk-cognito:2.3.8
| \--- com.amazonaws:aws-android-sdk-core:2.3.8 (*)
+--- com.amazonaws:aws-android-sdk-s3:2.3.8
| \--- com.amazonaws:aws-android-sdk-core:2.3.8 (*)
+--- com.amazonaws:aws-android-sdk-ddb:2.3.8
| \--- com.amazonaws:aws-android-sdk-core:2.3.8 (*)
+--- com.github.bumptech.glide:glide:3.7.0
+--- jp.wasabeef:glide-transformations:2.0.1
| \--- com.github.bumptech.glide:glide:3.7.0
+--- com.android.support:multidex:1.0.1
\--- com.crashlytics.sdk.android:crashlytics:2.6.5
+--- com.crashlytics.sdk.android:beta:1.2.2
| \--- io.fabric.sdk.android:fabric:1.3.13 -> 1.3.14
+--- com.crashlytics.sdk.android:crashlytics-core:2.3.14
| +--- com.crashlytics.sdk.android:answers:1.3.10
| | \--- io.fabric.sdk.android:fabric:1.3.14
| \--- io.fabric.sdk.android:fabric:1.3.14
+--- com.crashlytics.sdk.android:answers:1.3.10 (*)
\--- io.fabric.sdk.android:fabric:1.3.14
答案 0 :(得分:0)
假设您在项目目录中且Android应用程序目录名为app
,请运行命令:
./gradlew app:dependencies
这将显示包依赖关系树,揭示哪一个需要libpng
。
答案 1 :(得分:0)
最有可能的是,libpng被编译成本机可执行文件,而gradle不知道它。您可以在所有.so文件中尝试grep
ing“libpng”。 .so的文件名应该提供它来自何处的线索。