此应用与您的设备不兼容

This app is incompatible with your device

我刚刚制作了一个 android 应用程序,在 "HUAWEI T1-701u" 和 "HUAWEI T1-A21L" 上进行了测试,我生成了一个已签名的 apk,现在已在 Play 商店上发布, 问题是该应用程序只能在任何我期望的 HUAWEI T1-701u 上运行,即使我在其上进行了测试,它也会这样说:应用程序与该设备不兼容,即使我在其上进行了测试。 这是清单

<?xml version="1.0" encoding="utf-8"?>

<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>

这里是 gradle:

   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'
}

请注意,HUAWEI T1-701u的屏幕尺寸为7寸,另一款约为10寸

请指教。 问候。

您在 build.gradle 文件中提到了 targetSdkVersion 19。 它仅适用于 kitkat 设备。

您正在测试的设备的 android 版本是什么?

清单中的功能过于敏感,如果您放置了一个无用的功能而您的 phone 上没有它,那么该应用将与您的 phone 不兼容 如果您不使用自动对焦,请删除此行 <uses-feature android:name="android.hardware.camera.autofocus" /> ,因为您正在测试的 phone 没有自动对焦功能!这就是该应用与您的设备不兼容的原因