【问题标题】:Android Market shows "This item is not compatible with your device"Android Market 显示“此商品与您的设备不兼容”
【发布时间】:2012-03-26 09:28:42
【问题描述】:

我刚刚在 android 市场上发布了一个应用程序。当我尝试从三星 Galaxy S II 和一些 micromax 设备的市场下载我的应用程序时,我找不到该应用程序。当我尝试从网络市场安装时,它显示“此项目与您的设备不兼容”。我的应用程序不需要任何使用许可。请帮帮我。

这里是 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>

【问题讨论】:

标签: android google-play


【解决方案1】:

删除android:targetDdk version="4" 或将其更改为您的设备兼容的版本

【讨论】:

  • 我认为galaxy S II有api > 4
【解决方案2】:

我很惊讶市场在您上传 apk 时没有给您错误消息。

你的包名“com.sample”太笼统了,肯定是被别人拿走了。

【讨论】:

    【解决方案3】:

    可能问题出在屏幕尺寸上。

    请参阅这两个解释如何支持所有屏幕尺寸的网站:

    Market-Filters

    Supports Screens Element

    【讨论】:

      【解决方案4】:

      尝试将此添加到您的清单文件中

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

      【讨论】:

        【解决方案5】:

        块移到 上方。完全删除 ,除非您的应用程序支持某个屏幕尺寸。

        【讨论】:

          猜你喜欢
          • 2017-08-25
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2018-07-30
          • 2013-06-30
          • 2015-08-06
          • 1970-01-01
          相关资源
          最近更新 更多