应用程序无法与Nexus 7和宏碁Iconia A210兼容 [英] App not compatible with Nexus 7 and Acer Iconia a210
问题描述
我知道这已经被问了几次,但为什么我的应用程序不能与Nexus 7和宏碁Iconia A210?
I know this has been asked a few times but why is my app not compatible with the Nexus 7 and Acer Iconia a210?
我没有发现在现有的问题进行有效的解决方案,以便我还能丢失?
I didn't find a working solution in the existing questions so what else could I be missing?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.mw88.witness.lite"
android:versionCode="5"
android:versionName="2.0">
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="15"
/>
...
<supports-screens android:resizeable="true" />
<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.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
推荐答案
该问题可能与&LT;支持屏幕&gt;在清单
标记。
阅读说明在标签这里的属性特别是屏幕支持的属性。对于像 Android的那些属性:smallscreens
, 的android:normalscreens
默认值为真正。
Read the descriptions for the attributes in tag here especially the screen supporting attributes. For those attributes like android:smallscreens
,android:normalscreens
the default value is true as expected.
但对于像 属性机器人:largescreens
和的 的android:xlargescreens
,默认值变化
But for attributes like android:largescreens
and android:xlargescreens
, the default values varies.
它的默认值某些版本之间的实际变化,因此
它的更好,如果你明确声明在任何时候都该属性。
The default value for this actually varies between some versions, so it's better if you explicitly declare this attribute at all times.
随着你指定的设备是具有大屏幕的平板电脑,说明&lt;载体屏方式&gt;
标记可能引发不为这些设备上的应用程序兼容。
As your specified devices are tablets having large screens, stating <support-screen>
tag may trigger in as not compatible for your app in these devices.
所以,要么你提供所有必要的attribues或删除&lt;载体屏&GT;
标记。这是不给予必填字段。
So either you give all the necessary attribues or remove the <support-screens>
tag. It is not a required field to be given.
注意:
- 如果你给
&lt;载体屏&GT;
标记,删除
的android:可调整
属性。其德precated。 - 删除
的android:要求=假
从&LT;使用许可权&GT;
。它会
不行。
- If you are giving
<support-screen>
tag, remove theandroid:resizable
attribute. Its deprecated. - Remove the
android:required="false"
from<uses-permission>
. It'll not work.
这篇关于应用程序无法与Nexus 7和宏碁Iconia A210兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!