행운을 잃지 않고 stackoverflow 및 기타 서비스에서 2 일 동안 답변을 찾으려고합니다 ... Google Play에 앱을 게시했습니다. 거기에 있지만 대부분의 장치와 호환되지 않습니다. Eclipse와 TestFlight를 사용하여 Nexus 7에서 테스트를 실행하여 문제가 없었습니다. 그래서 나는 AndroidManifest와 관련이 있다고 확신합니다.Google Play의 Android 애플리케이션 - 모든 기기와 호환되지 않음
Application.apk
package: name='com.test.application'
versionCode='1'
versionName='1.0'
sdkVersion:'11'
targetSdkVersion:'19'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.INTERNET'
application-label:'Application'
application-label-da:'Application'
application-label-el:'Application'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application-icon-320:'res/drawable-xhdpi/ic_launcher.png'
application-icon-480:'res/drawable-xxhdpi/ic_launcher.png'
application: label='Application' icon='res/drawable-mdpi/ic_launcher.png'
application-debuggable
launchable-activity: name='com.test.application.activity.Launcher'
label='Application' icon=''
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission:'android.permission.READ_EXTERNAL_STORAGE','requested
WRITE_EXTERNAL_STORAGE'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch screen
unless explicitly made optional'
uses-feature:'android.hardware.screen.landscape'
uses-implied-feature:'android.hardware.screen.landscape','one or more activities have
specified a landscape orientation'
main
other-activities
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'da' 'el'
densities: '160' '240' '320' '480'
여기가 매니페스트입니다 :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.test.application"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:debuggable="false"
android:name=".ApplicationApplication">
<activity
android:name="com.test.application.activity.Launcher"
android:label="@string/app_name"
android:screenOrientation="sensorLandscape"
android:configChanges="orientation|screenSize|keyboardHidden|locale">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.test.application.activity.SomeActivity"
android:label="@string/app_name"
android:screenOrientation="sensorLandscape"
android:windowSoftInputMode="adjustPan"
android:configChanges="orientation|screenSize|keyboardHidden|locale">
</activity>
<activity
android:name="com.test.application.activity.AnotherActivity"
android:label="@string/app_name"
android:screenOrientation="sensorLandscape"
android:windowSoftInputMode="adjustPan"
android:configChanges="orientation|screenSize|keyboardHidden|locale">
</activity>
</application>
</manifest>
서명 된 APK가 안드로이드 스튜디오로 지어진
여기 aapt에 덤프 배지 결과입니다. 이 "응용 프로그램 디버깅 가능"은 의심스러운 것 같습니다. 지구상에서 Nexus 7과 호환되지 않는 이유는 무엇입니까?
Android Studio를 사용하는 경우 릴리스 buildType에서 build.gradle 파일에'debuggable false'를 추가하십시오. – pyus13