0

我已经尝试解决这个问题大约一个月了,但我找不到任何指向可能导致我的问题的信息。我已经检查过了,这似乎不是我所看到的“使用功能”问题之一。

我在开发者控制台上发布了一个与“支持的 Android 设备”详细信息相关的先前问题,这似乎与我相矛盾。0 支持的设备与否?

下面是 aapt 的输出。任何人都可以看到任何会导致零支持的android设备的东西吗?感谢所有帮助。我已经删除了输出的“标签”行。

package: name='com.telsortuk.telsort' versionCode='41' versionName='1.21' platformBuildVersionName='6.0-2704002'
sdkVersion:'17'
targetSdkVersion:'22'
uses-permission: name='android.permission.READ_LOGS'
uses-permission: name='android.permission.READ_CALL_LOG'
uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission: name='android.permission.INTERNET'
uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
uses-permission: name='android.permission.NFC'
uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission: name='android.permission.READ_PHONE_STATE'
uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
uses-permission: name='android.permission.ACCESS_COARSE_LOCATION'
uses-permission: name='com.android.vending.BILLING'
uses-permission: name='android.permission.VIBRATE'
uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
uses-permission: name='android.permission.BLUETOOTH'
uses-permission: name='android.permission.RECORD_AUDIO'
uses-permission: name='android.permission.ACCESS_WIFI_STATE'
uses-permission: name='android.permission.WAKE_LOCK'
uses-permission: name='com.google.android.c2dm.permission.RECEIVE'
uses-permission: name='com.telsortuk.telsort.permission.C2D_MESSAGE'
application-label:'Telsort'
application-icon-120:'res/drawable-mdpi-v4/ic_launcher.png'
application-icon-160:'res/drawable-mdpi-v4/ic_launcher.png'
application-icon-213:'res/drawable-hdpi-v4/ic_launcher.png'
application-icon-240:'res/drawable-hdpi-v4/ic_launcher.png'
application-icon-320:'res/drawable-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/drawable-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/drawable-xxxhdpi-v4/ic_launcher.png'
application: label='Telsort' icon='res/drawable-mdpi-v4/ic_launcher.png'
launchable-activity: name='com.telsortuk.telsort.MainActivity'  label='' icon=''
feature-group: label=''
  uses-feature-not-required: name='android.hardware.bluetooth'
  uses-feature-not-required: name='android.hardware.location'
  uses-feature-not-required: name='android.hardware.location.gps'
  uses-feature-not-required: name='android.hardware.location.network'
  uses-feature-not-required: name='android.hardware.microphone'
  uses-feature-not-required: name='android.hardware.touchscreen'
  uses-feature-not-required: name='android.hardware.wifi'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'ca' 'da' 'fa' 'ja' 'ka' 'pa' 'ta' 'nb' 'be' 'de' 'ne' 'te' 'af' 'bg' 'th' 'fi' 'hi' 'si' 'vi' 'kk' 'mk' 'sk' 'uk' 'el' 'gl' 'ml' 'nl' 'pl' 'sl' 'tl' 'am' 'km' 'bn' 'in' 'kn' 'mn' 'ko' 'lo' 'no' 'ro' 'sq' 'ar' 'fr' 'hr' 'mr' 'sr' 'tr' 'ur' 'bs' 'cs' 'es' 'is' 'ms' 'et' 'it' 'lt' 'pt' 'eu' 'gu' 'hu' 'ru' 'zu' 'lv' 'sv' 'iw' 'sw' 'hy' 'ky' 'my' 'az' 'uz' 'fr-CA' 'lo-LA' 'en-GB' 'bn-BD' 'et-EE' 'ka-GE' 'ky-KG' 'km-KH' 'zh-HK' 'si-LK' 'mk-MK' 'ur-PK' 'sq-AL' 'hy-AM' 'my-MM' 'zh-CN' 'pa-IN' 'ta-IN' 'te-IN' 'ml-IN' 'en-IN' 'kn-IN' 'mr-IN' 'gu-IN' 'mn-MN' 'ne-NP' 'pt-BR' 'gl-ES' 'eu-ES' 'is-IS' 'es-US' 'pt-PT' 'en-AU' 'zh-TW' 'ms-MY' 'az-AZ' 'kk-KZ' 'uz-UZ'
densities: '120' '160' '213' '240' '320' '480' '640'
native-code: 'lib/classdictionary.txt' 'lib/dexguard-assumptions.pro' 'lib/dexguard-common.pro' 'lib/dexguard-debug-shrink.pro' 'lib/dexguard-debug.pro' 'lib/dexguard-library-common.pro' 'lib/dexguard-library-debug.pro' 'lib/dexguard-library-release-aggressive.pro' 'lib/dexguard-library-release-conservative.pro' 'lib/dexguard-library-release.pro' 'lib/dexguard-license.txt' 'lib/dexguard-release-aggressive.pro' 'lib/dexguard-release-conservative.pro' 'lib/dexguard-release.pro' 'lib/dictionary.txt' 'lib/filedictionary.txt'
4

1 回答 1

1

I had included a dependency to "dexguard.jar" in gradle when I converted from Eclipse to Android Studio. I sent a query to Dexguard support and received the following reply:

There is no need to include the ‘lib/dexguard.jar’ in your app’s runtime dependencies - it only contains functionality that is needed at build time. It’s sufficient to only include ‘lib/dexguard_util.jar’, which bundles all DexGuard runtime functionality (in recent releases, this has been renamed to ‘dexguard-runtime.jar’).

Remove this line from your app’s build.gradle:

compile files('libs/dexguard.jar')

This is the reason why you are seeing all these ‘.pro’ files in your APK, and I expect it to also be the reason why the Play Store does not find any compatible devices.

Problem finally solved!

于 2016-08-29T11:53:36.920 回答