Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/230.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
Android:应用程序在分辨率为1920x1080和1280x720的设备上不可见_Android_Google Play_Android Manifest_Android Resolution - Fatal编程技术网

Android:应用程序在分辨率为1920x1080和1280x720的设备上不可见

Android:应用程序在分辨率为1920x1080和1280x720的设备上不可见,android,google-play,android-manifest,android-resolution,Android,Google Play,Android Manifest,Android Resolution,我已经开发了一个游戏,并上传到游戏商店。但在分辨率为1920x1080和1280x720的手机上看不到它。清单文件如下所示: <!-- Mandatory Permissions --> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.READ_PHONE_STATE"/> <us

我已经开发了一个游戏,并上传到游戏商店。但在分辨率为1920x1080和1280x720的手机上看不到它。清单文件如下所示:

<!-- Mandatory Permissions -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

<!-- Optional  Permissions (recommended)-->
<uses-permission android:name="android.permission.VIBRATE"/> 
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-permission android:name="android.permission.STORAGE"></uses-permission>
<uses-sdk android:minSdkVersion="11" />
<uses-sdk android:targetSdkVersion="14"/>

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


游戏可以在Nexus 7(800x1280)三星Galaxy Tab2(600 x 1024)等设备上看到。我希望屏幕尺寸小于5英寸的设备无法在Play Store上看到游戏,因此保持
smallScreens=“false”
android:normalScreens=“false”
。对于1920x1080和1280x720分辨率的设备以及屏幕尺寸为5英寸且分辨率密度超过200dpi的设备,我需要在清单文件中进行哪些更改,以使游戏在PlayStore上可见?

不幸的是,无法仅根据其物理尺寸确定设备

有关您的问题,请参考:


希望有帮助

您需要超大屏幕、超高密度和超高密度

请看下面的图片


可能使用兼容屏幕标签将帮助您解决问题

 <compatible-screens>
    <!-- all small size 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" />
    <!-- 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" />
    <!-- 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" />
    <!-- all  xlarge 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" />
</compatible-screens>


但是解决方案呢?1920x1080和1280x720手机必须能够看到它。我哪里出错了?你是否为相同的内容定义了默认布局?