<small id='79oPh'></small><noframes id='79oPh'>

      <tfoot id='79oPh'></tfoot>
      <i id='79oPh'><tr id='79oPh'><dt id='79oPh'><q id='79oPh'><span id='79oPh'><b id='79oPh'><form id='79oPh'><ins id='79oPh'></ins><ul id='79oPh'></ul><sub id='79oPh'></sub></form><legend id='79oPh'></legend><bdo id='79oPh'><pre id='79oPh'><center id='79oPh'></center></pre></bdo></b><th id='79oPh'></th></span></q></dt></tr></i><div id='79oPh'><tfoot id='79oPh'></tfoot><dl id='79oPh'><fieldset id='79oPh'></fieldset></dl></div>
        <legend id='79oPh'><style id='79oPh'><dir id='79oPh'><q id='79oPh'></q></dir></style></legend>

          <bdo id='79oPh'></bdo><ul id='79oPh'></ul>

      1. 应用已在 Play 商店发布,但未显示在平板电脑上

        App is published on Play Store but doesn#39;t show up on Tablets(应用已在 Play 商店发布,但未显示在平板电脑上)

        <tfoot id='72Yzr'></tfoot>
            <i id='72Yzr'><tr id='72Yzr'><dt id='72Yzr'><q id='72Yzr'><span id='72Yzr'><b id='72Yzr'><form id='72Yzr'><ins id='72Yzr'></ins><ul id='72Yzr'></ul><sub id='72Yzr'></sub></form><legend id='72Yzr'></legend><bdo id='72Yzr'><pre id='72Yzr'><center id='72Yzr'></center></pre></bdo></b><th id='72Yzr'></th></span></q></dt></tr></i><div id='72Yzr'><tfoot id='72Yzr'></tfoot><dl id='72Yzr'><fieldset id='72Yzr'></fieldset></dl></div>
          • <small id='72Yzr'></small><noframes id='72Yzr'>

              <legend id='72Yzr'><style id='72Yzr'><dir id='72Yzr'><q id='72Yzr'></q></dir></style></legend>
                <tbody id='72Yzr'></tbody>

                  <bdo id='72Yzr'></bdo><ul id='72Yzr'></ul>
                • 本文介绍了应用已在 Play 商店发布,但未显示在平板电脑上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 Google Play Store 上发布了一个应用,但是当我尝试在平板电脑上下载它时,它说应用不兼容.

                  I have published an app on Google Play Store but when I try to download it on Tablet, it says, app is not compatible.

                  此外,在开发者控制台中,我收到以下消息:您的布局应该利用 7 英寸平板电脑上的可用空间

                  Also, in developer console, I get this message: Your layout should make use of the available space on 7-inch tablets

                  现在,第一件事,我想将应用锁定为仅纵向方向,因此屏幕使用几乎相同.

                  Now, 1st thing , I want to lock app to only portrait orientation and hence screen usage will be almost same.

                  这是应用的链接.

                  关于该应用的一些小鬼信息:

                  Some imp info about the app:

                  • android:minSdkVersion="10"
                  • android:largeScreens="true" AND android:xlargeScreens="true"
                  • android:minSdkVersion="10"
                  • android:largeScreens="true" AND android:xlargeScreens="true"

                  为了支持平板电脑,android 文档说,检查 minSdkVersion 是否声明为 11 或更高的值.,但是如果我想支持 OS 2.3.3 的设备?

                  To support Tablets, android docs says, check if minSdkVersion is declared with value 11 or higher. , but what if I want to support devices with OS 2.3.3 ?

                  请给出适当的建议.

                  这样好吗?

                    <uses-permission android:name="android.permission.CAMERA" android:required="false"/>
                    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
                    <uses-permission android:name="android.permission.SEND_SMS" android:required="false"/>
                    <uses-permission android:name="android.permission.READ_CONTACTS"  android:required="false"/>
                    <uses-permission android:name="android.permission.INTERNET" />
                    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
                  

                  编辑 2

                  如下更新清单文件的权限部分后,应用程序也显示在选项卡中:

                  Edit 2

                  After updating permissions part of manifest file as following, app is showing up in tabs also:

                  <uses-permission android:name="android.permission.CAMERA"/>
                  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
                  <uses-permission android:name="android.permission.SEND_SMS"/>
                  <uses-permission android:name="android.permission.READ_CONTACTS"/>
                  <uses-permission android:name="android.permission.INTERNET" />
                  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
                  
                  <uses-feature android:name="android.hardware.camera" android:required="false" />
                  <uses-feature android:name="android.hardware.telephony" android:required="false" />
                  <uses-feature android:name="android.hardware.screen.portrait" android:required="false" />
                  

                  推荐答案

                  它说,应用程序不兼容.

                  it says, app is not compatible.

                  它在设备上显示错误不仅是因为 minSDKversion,而且 google play 也担心您对清单文件的授予权限.

                  It is showing error on device not only because minSDKversion but also google play concern about your given permission on the manifest file as well.

                  如果你输入了类似的内容:

                  Like if you entered something like:

                  <uses-permission android:name="android.permission.RECEIVE_SMS" />
                  <uses-permission android:name="android.permission.CAMERA" />
                  <uses-permission android:name="android.permission.READ_PHONE_STATE" />
                  

                  你的标签不支持它.

                  所以不要使用 uses-permission,而是使用 <uses-feature>.并在 java 文件中检查您需要的硬件是否可用.

                  So instead of using uses-permission use <uses-feature>. And in java file check for it that your needed hardware is available or not.

                  <uses-feature>见以下链接:

                  http://developer.android.com/guide/topics/manifest/uses-feature-element.html#features-reference

                  <uses-permission android:name="android.permission.CAMERA" android:required="false"/>
                    <uses-permission android:name="android.permission.SEND_SMS" android:required="false"/>
                    <uses-permission android:name="android.permission.READ_CONTACTS"  android:required="false"/>
                  

                  不,您不能授予这样的权限,因为 uses-permission 不允许 android:required="false".虽然它不会通过任何错误它不会工作.

                  Nope you can't give permission like this because uses-permission not allowed android:required="false". Although It will not through any error it will not work.

                  如果您将使用 <uses-feature>,它将获得访问特定硬件的权限.

                  If you will use <uses-feature> it will take the permission to access the specific hardware.

                  所以用这个:

                  <uses-feature android:name="android.hardware.camera" android:required="false"/>
                        <uses-feature android:name="android.hardware.telephony" android:required="false"/>
                  

                  不要忘记在您的 java 代码中检查此功能的可用性.如果您不检查,CAMERA、SEND_SMS 将无法在您的应用中使用.

                  要检查相机的可用性,请使用:

                  To check camera availability use this:

                  import android.content.pm.PackageManager;
                  
                  PackageManager pm = context.getPackageManager();
                  
                  if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) {
                     // Do you camera work here.
                  } 
                  

                  这篇关于应用已在 Play 商店发布,但未显示在平板电脑上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Android - Is it possible to get install referrer programmatically(Android - 是否有可能以编程方式安装引荐来源网址)
                  How to sign an APK with more than one certificate?(如何使用多个证书签署 APK?)
                  versionCode vs versionName in Android Manifest(Android Manifest 中的 versionCode 与 versionName)
                  What does this Google Play APK publish error message mean?(这个 Google Play APK 发布错误消息是什么意思?)
                  Lost my keystore for uploaded app on android market(丢失了我在 android 市场上上传的应用程序的密钥库)
                  App on Google Play always shows quot;Updatequot; instead of open(Google Play 上的应用程序总是显示“更新;而不是打开)

                          <tbody id='8FLgq'></tbody>
                        1. <legend id='8FLgq'><style id='8FLgq'><dir id='8FLgq'><q id='8FLgq'></q></dir></style></legend>

                          <small id='8FLgq'></small><noframes id='8FLgq'>

                          • <bdo id='8FLgq'></bdo><ul id='8FLgq'></ul>
                            <tfoot id='8FLgq'></tfoot>
                            <i id='8FLgq'><tr id='8FLgq'><dt id='8FLgq'><q id='8FLgq'><span id='8FLgq'><b id='8FLgq'><form id='8FLgq'><ins id='8FLgq'></ins><ul id='8FLgq'></ul><sub id='8FLgq'></sub></form><legend id='8FLgq'></legend><bdo id='8FLgq'><pre id='8FLgq'><center id='8FLgq'></center></pre></bdo></b><th id='8FLgq'></th></span></q></dt></tr></i><div id='8FLgq'><tfoot id='8FLgq'></tfoot><dl id='8FLgq'><fieldset id='8FLgq'></fieldset></dl></div>