Android 应用程序适用于 Eclipse 模拟器,但 Play 商店说我的设备不兼容

标签 android android-emulator google-play android-manifest

我正在编写一个应用程序,当我在使用 Android 2.2 的模拟器上运行它时它运行良好,我也在我的平板电脑 Galaxy Tab2 Android 4.0.3 中执行 .apk 并且也运行良好。

然后,我签署了该应用程序并像测试版一样转换市场,当我去安装时,Play 商店说我的平板电脑不兼容。

在我的 AndroidManifest 中,我定义了 minSdkVersion = "8"和 targetSdkVersion = "17"

有什么建议吗?

谢谢;)

编辑:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="*myPackage*"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="17" />

<supports-screens 
    android:largeScreens="true"
    android:xlargeScreens="true"/>

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@android:style/Theme.Light.NoTitleBar" >
    <activity
        android:name="*myPackage.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>
    <MyOtherActivities... />
</application>

</manifest>

最佳答案

更新:

<uses-feature android:name="android.hardware.camera" android:required="true" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />

referencethis

关于Android 应用程序适用于 Eclipse 模拟器,但 Play 商店说我的设备不兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16787186/

相关文章:

android - 完成 Android Market 注册最多需要 4 天,对吗?

android - 包含速度信息的 GPX 文件

java - 有人请解释一下错误

java - 如何在不停止相机进给的情况下使用闪光灯?

Android Eclipse 插件 : Instrumentation Test Runner not specified

android - 从命令行启动 AVD 卡在撤消 Google App 的麦克风权限

android - 如何在 Android 上使用 Flutter 成功完成应用内购买?

android - Google Play 控制台 - 内部测试链接不起作用

java - Gradle 搜索 Ivy 服务但未定义 Ivy 配置/ repo

android - 未找到 Gradle DSL 方法 : 'applicationId()'