Android Developer Console 中的应用与任何设备都不兼容

Android App in Developer Console ist not compatibel with any device

我昨天获得了 Google Play 开发者帐户。我上传了我的第一个应用程序,但它与任何设备都不兼容。它总是显示 0。我认为我的 Android 清单有问题。

这里是:

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

<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android:hardware.Camera" />
<uses-feature android:name="android:hardware.Parameters" />

<uses-sdk
    android:minSdkVersion="14"
    android:targetSdkVersion="21" />




<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="com.arved95.material_torch.MainActivity"
        android:label="@string/app_name"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity
        android:name="com.arved95.material_torch.ButtonScreen"
        android:label="@string/title_activity_button_screen" >
    </activity>

    <receiver android:name="com.arved95.material_torch.WidgetProvider" android:label="MaterialTorch Widget">

        <intent-filter>
            <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
        </intent-filter>

        <meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_info" />

    </receiver>

</application>

如果有人知道如何解决这个问题,那就太好了。

感谢

瞎猜,你缺

<supports-screens
    android:anyDensity="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:resizeable="true"
    android:smallScreens="true"
    android:xlargeScreens="true"/>

在您的清单中(必须在 <application> 块之外)。

我通过添加 required="false".

来修复
<uses-feature android:name="android:hardware.Camera" />
<uses-feature android:name="android:hardware.Parameters" />

<uses-feature android:name="android:hardware.Camera" required="false" />
<uses-feature android:name="android:hardware.Parameters" required="false" />