我在Google商店有一个应用程序。我已经设置了清单,以便对于屏幕大小,它可以接受小、中、大和特大(所有屏幕大小)。这个应用程序可以安装在我在手机和平板电脑上遇到的任何东西上,除非现在有人提到他们的三星mini 2(三星GT-S6500D)不允许他们安装它。它告诉他们,应用程序与他们的设备不兼容。
我已经证实他们运行的是Android2.3.6,我的应用程序适用于任何2.3.3或更低的用户。
我还被告知三星Galaxy Tab 2不兼容。为什么会发生这种事?
有什么东西是我遗漏的,允许所有手机/平板电脑使用我的应用程序?
这是我的宣言:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xxx"
android:versionCode="xx"
android:versionName="xx">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
<uses-permission android:name="android.permission.CAMERA" />
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
/>
<application android:icon="@drawable/icon" android:allowBackup="true">
<activity android:name=".ItineraryHomeActivity"
android:theme="@android:style/Theme.NoTitleBar"
android:label="@string/app_name"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:host="*" />
<data android:port="*" />
<data android:mimeType="*/*" />
<data android:pathPattern=".*\\.tgtp" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="text/xml" />
</intent-filter>
</activity>
<activity android:name=".EditHomeItListActivity" android:configChanges="keyboardHidden|orientation" android:label="@string/itinerary_title"
android:theme="@android:style/Theme.NoTitleBar" android:windowSoftInputMode="stateUnchanged"
/>
</application>
</manifest> 这难道不应该让每一个运行2.3.3以上的android设备都可以使用这个应用程序吗?
发布于 2013-07-26 12:33:40
我想通了。在google play商店里,你需要获得相机许可的那条线被用作过滤器:
<uses-permission android:name="android.permission.CAMERA" />我不知道为什么会这样,因为所有没有工作的手机/平板电脑都有摄像头.但是,解决方法是将其改为“”标记,而不是使其成为必需的:
<uses-permission android:name="android.permission.CAMERA" />希望这能帮到别人
https://stackoverflow.com/questions/17824240
复制相似问题