Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/192.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PlayStore中的Android应用程序不兼容_Android_Screen - Fatal编程技术网

PlayStore中的Android应用程序不兼容

PlayStore中的Android应用程序不兼容,android,screen,Android,Screen,我的应用程序是“普通”的,不需要任何特殊的屏幕大小或密度。只有带有活动的常规视图,它们的布局带有基本视图。没有任何绘图或特殊图形 出于某种原因,我不记得(我真的很遗憾)我在清单中添加了下一个兼容的屏幕代码。从那时起,我发现一些设备(我无法指定哪些设备)与我的应用程序不再兼容。PlayStore不会让它们更新(事实上,PlayStore不会在上面显示我的应用程序,如果用户手动查找,它会说它不兼容)。 我无法删除代码并再次上载我的应用程序,因为PlayStore不允许我删除兼容的屏幕条目 因此,问题

我的应用程序是“普通”的,不需要任何特殊的屏幕大小或密度。只有带有活动的常规视图,它们的布局带有基本视图。没有任何绘图或特殊图形

出于某种原因,我不记得(我真的很遗憾)我在清单中添加了下一个兼容的屏幕代码。从那时起,我发现一些设备(我无法指定哪些设备)与我的应用程序不再兼容。PlayStore不会让它们更新(事实上,PlayStore不会在上面显示我的应用程序,如果用户手动查找,它会说它不兼容)。 我无法删除代码并再次上载我的应用程序,因为PlayStore不允许我删除兼容的屏幕条目

因此,问题是: 这个代码对吗?我是否需要添加更多的可能性来适应每个屏幕(包括平板电脑)

上次投诉的用户是三星Galaxy Star GT-S5282

代码如下:

<compatible-screens>

    <screen android:screenSize="small" android:screenDensity="ldpi" /> 
    <screen android:screenSize="small" android:screenDensity="mdpi" /> 
    <screen android:screenSize="small" android:screenDensity="hdpi" /> 
    <screen android:screenSize="small" android:screenDensity="xhdpi"/>
    <screen android:screenSize="small" android:screenDensity="480"/> #xxhdpi HTC One, S4...

    <!--all normal size screens -->
    <screen android:screenSize="normal" android:screenDensity="ldpi" />
    <screen android:screenSize="normal" android:screenDensity="mdpi" />
    <screen android:screenSize="normal" android:screenDensity="hdpi" />
    <screen android:screenSize="normal" android:screenDensity="xhdpi" />
    <screen android:screenSize="normal" android:screenDensity="480" /> #xxhdpi HTC One, S4...

    <!-- all large size screens -->
    <screen android:screenSize="large" android:screenDensity="ldpi" />
    <screen android:screenSize="large" android:screenDensity="mdpi" />
    <screen android:screenSize="large" android:screenDensity="hdpi" />
    <screen android:screenSize="large" android:screenDensity="xhdpi" />
    <screen android:screenSize="large" android:screenDensity="480" /> #xxhdpi HTC One, S4...

    <!-- all xlarge size screens -->
    <screen android:screenSize="xlarge" android:screenDensity="ldpi" />
    <screen android:screenSize="xlarge" android:screenDensity="mdpi" />
    <screen android:screenSize="xlarge" android:screenDensity="hdpi" />
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
    <screen android:screenSize="xlarge" android:screenDensity="480" /> #xxhdpi HTC One, S4...

    <!-- Special case for Nexus 7 -->
    <screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>

#xxhdpi HTC一号,S4。。。
#xxhdpi HTC一号,S4。。。
#xxhdpi HTC一号,S4。。。
#xxhdpi HTC一号,S4。。。

尝试增加版本号和内部版本号

您的应用程序必须使用
required=“false”
添加一些硬件元素(如果您的应用程序当前正在使用),而不仅仅是将
添加到您的
清单.xml中

  <uses-feature
            android:name="android.hardware.microphone"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.telephony"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.bluetooth"
            android:required="false" />
        <uses-feature
            android:name="android.hardware.camera"
            android:required="false" />
        <uses-feature
             android:name="android.hardware.location.gps"
             android:required="false" />
        <uses-feature android:name="android.hardware.wifi" 
            android:required="false" />

更多信息:


“我无法删除代码并再次上载我的应用程序,因为PlayStore不允许我删除兼容屏幕条目。”:我不确定我是否理解这句话。只要你的软件包名称相同并且使用相同的密钥签名,你就应该能够以你选择的任何方式修改你的应用程序。发布你的android manifest.xml以获得更多详细信息。你也可以给出你得到的确切消息是的,我猜增加版本代码整数也是可能的。Google Play可能认为他试图在同一版本号下发布两个不同的apk(因此要求他指定屏幕与第一个apk的差异,否则上传具有相同功能的单独apk就没有任何意义)。