Android App works on Eclipse Emulator but Play Store says my device is not compatible

倖福魔咒の 提交于 2020-01-05 08:39:35

问题


I'm programmming an App that works fine when I run it on the emulator with Android 2.2, also I execute the .apk in my tablet Galaxy Tab2 Android 4.0.3 and works fine too.

Then, I sign the App and put on the Market like a Beta Version and when I go to install, Play Store says that my tablet is not compatible.

In my AndroidManifest, I define the minSdkVersion = "8" and the targetSdkVersion = "17"

Any suggestions?

Thanks ;)

Edit:

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

回答1:


Update :

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

reference and this



来源:https://stackoverflow.com/questions/16787186/android-app-works-on-eclipse-emulator-but-play-store-says-my-device-is-not-compa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!