我一直试图解决这个问题大约一个月了,我找不到任何可能导致我的问题的信息。我已经检查过,它似乎不是我所看到的“使用功能”问题之一。
我在开发者控制台上发布了与“支持的Android设备”相关的上一个问题,这似乎与我相矛盾。 0 Supported devices or not?
以下是aapt的输出。任何人都可以看到任何会导致支持零设备的设备?所有的帮助表示赞赏。我删除了输出的“标签”行。
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'
答案 0 :(得分:1)
当我从Eclipse转换为Android Studio时,我在gradle中包含了对“dexguard.jar”的依赖。我向Dexguard支持发送了一个查询,并收到了以下回复:
不需要在应用程序的运行时依赖项中包含“lib / dexguard.jar” - 它只包含构建时所需的功能。仅包含'lib / dexguard_util.jar'就足够了,它包含所有DexGuard运行时功能(在最近的版本中,它已被重命名为'dexguard-runtime.jar')。
从应用的build.gradle中删除此行:
编译文件('libs / dexguard.jar')
这就是为什么你在APK中看到所有这些'.pro'文件的原因,我希望它也是Play商店找不到任何兼容设备的原因。
问题终于解决了!