Android应用程序适用于Eclipse的模拟器,但Play商店说我的设备不兼容 [英] Android App works on Eclipse Emulator but Play Store says my device is not compatible
问题描述
我写频程序的时候我与Android 2.2模拟器运行它工作得很好,也是我在我的平板电脑银河TAB2的Android 4.0.3执行.apk文件,太正常工作。
然后,我签署App和投放市场就像一个测试版,当我去安装,Play商店说,我的平板电脑不兼容。
在我AndroidManifest,我定义的minSdkVersion =8和targetSdkVersion =17
有什么建议?
感谢;)
编辑:
<清单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=* mypackage的*
安卓版code =1
机器人:=的versionName1.0><用途-SDK
安卓的minSdkVersion =8
机器人:targetSdkVersion =17/><支持屏
机器人:largeScreens =真
机器人:xlargeScreens =真/><使用许可权的android:NAME =android.permission.CAMERA/>
<使用许可权的android:NAME =com.android.launcher.permission.INSTALL_SHORTCUT/>
<使用许可权的android:NAME =android.permission.INTERNET对/>
<使用许可权的android:NAME =android.permission.ACCESS_NETWORK_STATE/>
<使用特征的android:NAME =android.hardware.camera/>
<使用特征的android:NAME =android.hardware.camera.autofocus/>
<使用许可权的android:NAME =android.permission.WRITE_EXTERNAL_STORAGE/><应用
机器人:allowBackup =真
机器人:图标=@绘制/ ic_launcher
机器人:标签=@字符串/ APP_NAME
机器人:主题=@安卓风格/ Theme.Light.NoTitleBar>
<活动
机器人:名字=* myPackage.MainActivity *
机器人:标签=@字符串/ APP_NAME
机器人:screenOrientation =肖像>
&所述;意图滤光器>
<作用机器人:名字=android.intent.action.MAIN/> <类机器人:名字=android.intent.category.LAUNCHER/>
&所述; /意图滤光器>
< /活性GT;
< MyOtherActivities ... />
< /用途>< /清单>
更新:
<使用特征的android:NAME =android.hardware.camera机器人:所需=真/>
<使用特征的android:NAME =android.hardware.camera.autofocus机器人:所需=真/>
<一个href=\"http://stackoverflow.com/questions/10475954/why-does-the-google-play-store-say-my-android-app-is-incompatible-with-my-own-de\">reference和<一个href=\"http://stackoverflow.com/questions/8893860/android-why-is-my-app-not-available-for-my-2-3-3-device-in-the-market\">this
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>
Update :
<uses-feature android:name="android.hardware.camera" android:required="true" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
这篇关于Android应用程序适用于Eclipse的模拟器,但Play商店说我的设备不兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!