【问题标题】:Which of these dependencies includes a ZIP file that contains ELF files?这些依赖项中的哪些包含包含 ELF 文件的 ZIP 文件?
【发布时间】: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


【解决方案1】:

我不确定。但是查看您的依赖项,当我在 Google 上搜索 AppsFly 时,它似乎是一个向应用程序提供动态代码的平台。 Google Play 政策说(正如您所引用的)

在 Google Play 上发布的应用不得使用 Google Play 更新机制以外的任何方法修改、替换或更新自身。

因此,使用 AppsFly 可能违反政策。澄清一下,我对 AppsFly 一无所知,因为他们的网站没有太多信息,但这听起来确实违反了 Google Play 政策。

【讨论】:

  • 让我检查一下。 Appsfly 用于获取事件。
  • 问题仅出在“AppsFly”依赖项上。我将其完全删除并在两周前上传到 Playstore。问题解决了。非常感谢您发现我的问题。
  • 同样的问题又来了。我再次发布了问题。可以帮助解决我的问题。 stackoverflow.com/questions/53794203/…
猜你喜欢
  • 2014-01-31
  • 2011-01-15
  • 2012-06-11
  • 1970-01-01
  • 2011-08-26
  • 1970-01-01
  • 1970-01-01
  • 2011-08-12
  • 1970-01-01
相关资源
最近更新 更多