Android电子市场显示“此产品与您的设备不兼容”
问题描述:
我刚刚在Android市场发布了一款应用程序。当我试图从三星Galaxy S II和一些micromax设备的市场上下载我的应用程序时,我无法找到应用程序。当我尝试从网络市场安装时,它会显示“此项目与您的设备不兼容”。我的应用程序不需要任何使用权限。请帮助我。Android电子市场显示“此产品与您的设备不兼容”
下面是manifest.xml中
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sample"
android:installLocation="auto"
android:versionCode="1"
android:versionName="2.0" >
<application
android:debuggable="false"
android:icon="@drawable/rti_logo"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" >
<activity
android:name=".Activity1"
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=".Activity2"
android:label="@string/app_name"
android:screenOrientation="portrait" >
</activity>
</application>
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="4" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" >
</supports-screens>
</manifest>
答
改变它
移动你的<使用-SDK >块了上述<应用>。删除<完全支持屏幕>,除非您的应用程序支持屏幕尺寸而不支持。
答
我很惊讶市场没有给你一个错误消息,当你上传你的apk。
您的软件包名称“com.sample”非常通用,它肯定会被其他人使用。
答
尝试添加到您的清单文件
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"/>
删除了android:targetSdkVersion =“4”http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#target – 2012-03-26 09:32:31
@Padma Kum可能你可以添加它作为答案 – Richie 2012-03-26 09:36:37
@Richie干草谢谢Richie Rich :-) – 2012-03-26 10:05:57