【发布时间】:2018-09-25 06:57:31
【问题描述】:
Google 告诉我“您的应用 (com.package.name) 包含一个包含 ELF 文件的 ZIP 文件。”我已经搜索了我的项目。我没有在我的项目中的任何地方使用过 zip 文件或 ELF 文件。因此,它必须在我的依赖项之一中,但我不知道是哪一个。
我使用了以下依赖项:
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.google.code.gson:gson:2.4'
implementation 'io.appsfly.android.utils:micro-app:1.2.22'
implementation 'com.android.support:design:28.0.0-beta01'
implementation 'com.android.support:appcompat-v7:28.0.0-beta01'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.facebook.android:facebook-android-sdk:[4,5)'
implementation 'com.android.support:cardview-v7:28.0.0-beta01'
implementation 'com.squareup.okhttp:okhttp:2.5.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.android.gms:play-services-auth:11.+'
implementation 'com.roughike:bottom-bar:2.3.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'com.android.support:multidex:1.0.2'
implementation 'com.twitter.sdk.android:twitter-core:3.1.1'
testImplementation 'junit:junit:4.12'
implementation('com.crashlytics.sdk.android:crashlytics:2.8.0@aar') {
transitive = true;
exclude group: 'com.android.support', module: 'support-annotations'
}
这些依赖项中的哪些“包含一个包含 ELF 文件的 ZIP 文件”?
【问题讨论】:
-
我投票结束这个问题,因为这是一个客户服务问题。
-
尝试解压您的 APK 并查看是否可以找到可疑的 ZIP 文件。当然,库也可以在运行时下载此 ZIP。 (您的 APK 是 ZIP,您可能需要将
.apk替换为.zip) -
“什么违反了 Google 的 Play 商店政策”这个问题是题外话,因为它要求我们评估 Google 的政策意味着什么,而这只有 Google 才能准确解释。但是,您可以将您的问题改写为“这些依赖项中的哪些包含包含 ELF 文件的 ZIP 文件,或者从 Google Play 以外的来源下载可执行代码(例如 dex、JAR、.so 文件)?”如果您这样说,而不要求解释 Google Play 商店政策,那么问题可能是话题。
-
您可能只考虑语义,但它们在这样的事情中很重要。目前,这个问题的内容大多类似于“我为什么违反政策”。换句话说,您负责解释政策,只是询问事实信息,而不是对政策的解释。
-
我的应用因同样的原因被删除。我在反编译的 APK 中找不到任何 zip 文件,除了只包含一个文本文件的
publicsuffixes.gz文件......(没有 ELF)。
标签: android google-play