三星 Galaxy Mini 的设备兼容性问题 [英] Device Compatibility Issue with Samsung Galaxy Mini

查看:35
本文介绍了三星 Galaxy Mini 的设备兼容性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 android 市场上有一个应用程序报告无法比较,因此无法安装在三星 Galaxy Mini 上.开发者控制台说这是由于我的清单设置.

I have an app in the android market that is reporting incomparability and so cannot be installed on a Samsung Galaxy Mini. Developer Console says that it is due to my manifest settings.

我的清单很轻:android 1.5 或更高版本以及基本权限,所以我很惊讶这是问题所在.

My manifest is very light : android 1.5 or above and bare bones permissions so I'm surprised that this is the problem.

我的问题分为两部分:

  1. 是否有任何工具可以帮助诊断设备和应用程序的兼容性.

  1. Are there any tools to help diagnose device and app compatibility.

我的清单有什么问题?

这是我的清单

 <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.basl.bugsy.free"
  android:versionCode="8"
  android:versionName="8"
  installLocation="preferExternal">

    <application android:icon="@drawable/icon" android:label="@string/app_name">
      <activity android:name=".BugsyFreeGame"
              android:label="@string/app_name"
            android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="3" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
</manifest>

推荐答案

是否有任何工具可以帮助诊断设备和应用程序的兼容性.

Are there any tools to help diagnose device and app compatibility.

试试 MOTODEV 的应用验证器.他们不会告诉您三星 Galaxy Mini 会出现问题,但如果您的 Mini 问题也会导致某些摩托罗拉设备出现问题,那么它告诉您的错误可能会帮助您解决问题.

Try MOTODEV's App Validator. They won't tell you that you will have problems with the Samsung Galaxy Mini, but if your problems with the Mini would also cause problems with some Motorola device, the errors it tells you may help clear that up.

我的清单有什么问题?

三星 Galaxy Mini 可能被视为小屏幕设备.尝试添加 <supports-screens> 元素,明确声明您支持的屏幕尺寸,包括小屏幕.

The Samsung Galaxy Mini may be considered a small-screen device. Try adding a <supports-screens> element declaring specifically what screen sizes you support, including small screens.

另外,请认真重新考虑您的 <uses-sdk> 元素,尤其是您选择的 android:targetSdkVersion.您的应用在 Android 3.0+ 设备上看起来会过时,而且这些设备的数量已经超过了 Android 1.5(也称为 API 级别 3)设备.如果您将 android:targetSdkVersion 设置为 11 或更高版本,您的应用仍将在旧设备上运行,但您将采用 Honeycomb 外观(小部件的全息主题、操作栏等),这将使您的应用看起来像是属于较新的设备.

Also, please seriously reconsider your <uses-sdk> element, particularly your chosen android:targetSdkVersion. Your app will look out of date on Android 3.0+ devices, and there are already more of those than there are Android 1.5 (a.k.a., API Level 3) devices. If you set android:targetSdkVersion to 11 or higher, your app will still run on older devices, but you will adopt the Honeycomb look-and-feel (holographic theme for widgets, action bar, etc.), which will make your app look like it belongs on the newer devices.

这篇关于三星 Galaxy Mini 的设备兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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