Android Market shows “This item is not compatible with your device”

走远了吗. 提交于 2019-12-11 23:06:02

问题


I just published an application in android market. When i tried to download my application from market in Samsung galaxy S II and some micromax devices, I couldn't find the application. When i tried to install from web market it says " This item is not compatible with your device". My application doesnot require any uses-permission. Please help me out.

Here is the 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>

回答1:


Either remove the android:targetDdk version="4" or change it with the version your device is compatible with




回答2:


I'm surprised the Market didn't give you an error message when you uploaded your apk.

Your package name "com.sample" is so generic, it is bound to have been taken by someone else.




回答3:


Probably the problem is the screen size.

See these two sites that explain how to support all the screen sizes:

Market-Filters

Supports Screens Element




回答4:


Try add this to your manifest file

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



回答5:


Move your <uses-sdk> block up above <application>. Delete <supports-screens> entirely, unless there is a screen size that your application does not support.



来源:https://stackoverflow.com/questions/9869651/android-market-shows-this-item-is-not-compatible-with-your-device

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