为何我的应用程序没有显示在平板电脑上的谷歌播放? [英] Why my App is not showing up on tablets in Google Play?

查看:142
本文介绍了为何我的应用程序没有显示在平板电脑上的谷歌播放?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发布我的应用程序的手机和平板电脑,但它没有出现在谷歌播放的平板电脑。

经过在Nexus 7和华硕eeeePad

这是我在我的清单文件

 <兼容屏>
    <  - !不小尺寸屏幕 - >

    <! - 只有华电国际和xhdpi为正常大小的屏幕 - >
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =MDPI/>
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =华电国际/>
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =xhdpi/>

    <! - 所有的大尺寸屏幕 - >
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =LDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =MDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =华电国际/>
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =xhdpi/>

    <! - 所有XLARGE尺寸屏幕 - >
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =LDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =MDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =华电国际/>
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =xhdpi/>
< /兼容屏>
 

使用的SDK标签

 <使用-SDK安卓的minSdkVersion =8的Andr​​oid版本:targetSdkVersion =11/>
 

权限

 <使用-权限的Andr​​oid:名称=com.android.vending.BILLING/>
<使用-权限的Andr​​oid:名称=android.permission.CAMERA/>
<使用-权限的Andr​​oid:名称=android.permission.VIBRATE/>
<使用-权限的Andr​​oid:名称=android.permission.ACCESS_COARSE_LOCATION/>
<使用-权限的Andr​​oid:名称=android.permission.ACCESS_FINE_LOCATION/>
<使用-权限的Andr​​oid:名称=android.permission.ACCESS_LOCATION_EXTRA_COMMANDS/>
<使用-权限的Andr​​oid:名称=android.permission.READ_PHONE_STATE/>
<使用-权限的Andr​​oid:名称=android.permission.INTERNET对/>
<使用-权限的Andr​​oid:名称=android.permission.RECEIVE_SMS/>
<使用-权限的Andr​​oid:名称=android.permission.RECORD_AUDIO/>
<使用-权限的Andr​​oid:名称=android.permission.MODIFY_AUDIO_SETTINGS/>
<使用-权限的Andr​​oid:名称=android.permission.READ_CONTACTS/>
<使用-权限的Andr​​oid:名称=android.permission.WRITE_CONTACTS/>
<使用-权限的Andr​​oid:名称=android.permission.WRITE_EXTERNAL_STORAG​​E/>
<使用-权限的Andr​​oid:名称=android.permission.ACCESS_NETWORK_STATE/>
<使用-权限的Andr​​oid:名称=android.permission.GET_ACCOUNTS/>
<使用-权限的Andr​​oid:名称=android.permission.BROADCAST_STICKY/>
<使用-权限的Andr​​oid:名称=android.permission.RECEIVE_BOOT_COMPLETED/>
<允许机器人:名称=com.myapp.something.permission.C2D_MESSAGE安卓的ProtectionLevel =签名/>
 

在明确增加使用特征标记为假就开始出现了华硕eeeePad平板电脑,但还没有出现的关系7.以下是我在开发者控制台中看到

此应用程序仅适用于具备这些功能的设备,如在你的应用程序清单中定义。 屏幕密度:大,MDPI大,华电国际大,LDPI大,XHDPI XLARGE,MDPI XLARGE,华电国际XLARGE,LDPI XLARGE,XHDPI师范大学,MDPI师范大学,华电国际师范大学,XHDPI 所需设备功能

  android.hardware.screen.portrait
android.hardware.touchscreen
 

解决方案

在最后加入了特殊情况下的Nexus 7与<兼容屏> 标记工作了我。由于Nexus 7保护具有tvdpi密度

 <兼容屏>
    <  - !不小尺寸屏幕 - >


    <! - 一切正常尺寸的屏幕 - >
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =LDPI/>
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =MDPI/>
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =华电国际/>
    <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =xhdpi/>

    <! - 所有的大尺寸屏幕 - >
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =LDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =MDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =华电国际/>
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =xhdpi/>

    <! - 所有XLARGE尺寸屏幕 - >
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =LDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =MDPI/>
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =华电国际/>
    <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =xhdpi/>

    <! - 特殊情况下的Nexus 7  - >
    <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =213/>

< /兼容屏>
 

更新:

有关xxhdpi设备,你可以使用480作为一个int值

 <屏幕的Andr​​oid:屏幕大小=正常的Andr​​oid版本:screenDensity =480/>
     <屏幕的Andr​​oid:屏幕尺寸=大片机器人:screenDensity =480/>
     <屏幕的Andr​​oid:屏幕尺寸=XLARGE机器人:screenDensity =480/>`
 

I just released my app for phones and tablets but it is not showing up in Google Play for tablets.

Checked on Nexus 7 and Asus eeeePad

This is what I have in my manifest file

<compatible-screens>
    <!--no small size screens -->

    <!--Only hdpi and xhdpi for normal size screens -->
    <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 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" />
</compatible-screens>

uses-sdk tag

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="11" />

permissions

<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<permission android:name="com.myapp.something.permission.C2D_MESSAGE" android:protectionLevel="signature" />

After explicitly adding uses-feature tag to false it started appearing for Asus eeeePad tablet but still not appearing for nexus 7. Here is what I see in developer console

This application is only available to devices with these features, as defined in your application manifest. Screen densities: LARGE,MDPI LARGE,HDPI LARGE,LDPI LARGE,XHDPI XLARGE,MDPI XLARGE,HDPI XLARGE,LDPI XLARGE,XHDPI NORMAL,MDPI NORMAL,HDPI NORMAL,XHDPI Required device features

android.hardware.screen.portrait
android.hardware.touchscreen

解决方案

At last adding a special case for Nexus 7 with in <compatible-screens> tag worked for me. As Nexus 7 has tvdpi density

<compatible-screens>
    <!--no small size screens -->


    <!--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 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" />

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

</compatible-screens>

UPDATE:

For xxhdpi devices you can use 480 as an int value

     <screen android:screenSize="normal" android:screenDensity="480" />
     <screen android:screenSize="large" android:screenDensity="480" />
     <screen android:screenSize="xlarge" android:screenDensity="480" />`

这篇关于为何我的应用程序没有显示在平板电脑上的谷歌播放?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆