Android 此应用程序与您的设备不兼容
我刚刚在“华为T1-701u”和“华为T1-A21L”上测试了一个android应用程序,我已经生成了一个签名的apk,现在发布在play store上, 问题是,该应用程序正在处理任何我期望的华为T1-701u,即使我在上面进行了测试,它也会这样说:该应用程序与该设备不兼容,即使我在上面进行了测试。 这是舱单Android 此应用程序与您的设备不兼容,android,tablet,Android,Tablet,我刚刚在“华为T1-701u”和“华为T1-A21L”上测试了一个android应用程序,我已经生成了一个签名的apk,现在发布在play store上, 问题是,该应用程序正在处理任何我期望的华为T1-701u,即使我在上面进行了测试,它也会这样说:该应用程序与该设备不兼容,即使我在上面进行了测试。 这是舱单 <?xml version="1.0" encoding="utf-8"?> 请注意,华为T1-701u的屏幕尺寸为7英寸,另一个约为10英寸 请给我一些建议。 问候。您在
<?xml version="1.0" encoding="utf-8"?>
请注意,华为T1-701u的屏幕尺寸为7英寸,另一个约为10英寸
请给我一些建议。
问候。您在build.gradle文件中提到了targetSdkVersion 19。 它只适用于kitkat设备
您正在测试的设备的android版本是什么?清单中的功能过于敏感,如果您将一个无用的功能放在手机上,而您的手机上没有该功能,则该应用程序将无法与您的手机兼容 如果未使用自动对焦,请删除此行
因为您测试的手机没有自动对焦功能!这就是为什么该应用程序与您的设备不兼容的原因它的4.4.2版本与我的第二台设备相同,但屏幕更小
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<supports-screens android:smallScreens="false"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="100" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.NoActionBar">
<activity
android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
applicationId "org.iowpjordan.mpic"
minSdkVersion 12
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
}