简体   繁体   English

三星Galaxy Mini的设备兼容性问题

[英]Device Compatibility Issue with Samsung Galaxy Mini

I have an app in the android market that is reporting incomparability and so cannot be installed on a Samsung Galaxy Mini. 我在android市场上有一个应用程序报告了不可比性,因此无法安装在Samsung Galaxy Mini上。 Developer Console says that it is due to my manifest settings. 开发者控制台说这是由于我的清单设置。

My manifest is very light : android 1.5 or above and bare bones permissions so I'm surprised that this is the problem. 我的清单很轻:Android 1.5或更高版本以及裸露的权限,因此我很惊讶这是问题所在。

My question is in 2 parts: 我的问题分为两个部分:

  1. Are there any tools to help diagnose device and app compatibility. 是否有任何工具可帮助诊断设备和应用程序兼容性。

  2. What is the problem with my manifest? 我的清单有什么问题?

Here is my manifest 这是我的清单

 <?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. 是否有任何工具可帮助诊断设备和应用程序兼容性。

Try MOTODEV's App Validator . 尝试使用MOTODEV的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会有问题,但是如果您的Mini问题也会导致某些Motorola设备出现问题,则它告诉您的错误可能会帮助您解决问题。

What is the problem with my manifest? 我的清单有什么问题?

The Samsung Galaxy Mini may be considered a small-screen device. 三星Galaxy Mini可能被视为小屏幕设备。 Try adding a <supports-screens> element declaring specifically what screen sizes you support, including small screens. 尝试添加<supports-screens>元素,专门声明您支持的屏幕尺寸,包括小屏幕。

Also, please seriously reconsider your <uses-sdk> element, particularly your chosen android:targetSdkVersion . 另外,请认真重新考虑您的<uses-sdk>元素,尤其是您选择的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 (aka, API Level 3) devices. 您的应用在Android 3.0+设备上看起来会过时,而且其中的设备数量已经超过了Android 1.5(又称API级别3)设备。 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. 如果您将android:targetSdkVersion设置为11或更高版本,则您的应用仍将在较旧的设备上运行,但您将采用Honeycomb外观(小部件,操作栏等的全息主题),这将使您的应用看起来更漂亮就像它属于较新的设备一样。

I recently came around a strong problem with: Samsung Galaxy Mini and Samsung Galaxy Ace 我最近遇到了一个严重问题: 三星Galaxy Mini三星Galaxy Ace

I followed all the posts that are in this thread, all very interesting. 我关注了该线程中的所有帖子,都很有趣。 It solved some problems, but yet no luck with these 2 devices. 它解决了一些问题,但是这两个设备却没有运气。

In the end, I ended up disactivating a simple feature: 最后,我最终取消了一个简单的功能:

<use-feature android:name="android.hardware.camera.autofocus" />

I actually didn't "really" need that feature. 实际上,我并不是真的需要该功能。 Paf, my app appeared for these 2 devices right after the new update. Paf,我的应用在新更新后立即针对这两种设备出现了。 :) :)

So... My piece of advice is: Use use-feature autofocus ONLY if your app depends on it 所以...我的建议是: 仅在您的应用程序依赖时使用使用功能自动对焦

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM