安卓设备不受APP-为什么支持? [英] android: device not supported by app- why?

查看:135
本文介绍了安卓设备不受APP-为什么支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发一个相机应用。现在的一个用户抱怨,他的设备不被支持。这是一个宏碁A200

我看不出有任何理由Android电子市场/谷歌玩标志着作为应用程序的不支持此设备。
你知道可能是什么原因呢?

下面是明显的:

 <?XML版本=1.0编码=UTF-8&GT?;
<清单的xmlns:机器人=htt​​p://schemas.android.com/apk/res/android
    包=net.ttttrash.myapp
    安卓版code =32
    机器人:=的versionName3.2>    <应用
        机器人:图标=@绘制/图标
        机器人:标签=@字符串/ APP_NAME
        机器人:hardwareAccelerated =真正的>
        <活动
            机器人:CameraActivityNAME =
            机器人:configChanges =键盘|方向| keyboardHidden
            机器人:标签=@字符串/ APP_NAME
            机器人:windowSoftInputMode =adjustPan>
            &所述;意图滤光器>
                <作用机器人:名字=android.intent.action.MAIN/>                <类机器人:名字=android.intent.category.LAUNCHER/>
            &所述; /意图滤光器>
            &所述;意图滤光器>
                <作用机器人:名字=android.media.action.IMAGE_CAPTURE/>                <类机器人:名字=android.intent.category.DEFAULT/>
            &所述; /意图滤光器>
        < /活性GT;
        <活动
            机器人:名字=。net.ttttrash.myapp preferenceActivity
            机器人:标签=@字符串/ SET_ preferences>
        < /活性GT;
        <活动
            机器人:名字=com.google.ads.AdActivity
            android:configChanges=\"keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize\">
        < /活性GT;    < /用途>    <用途-SDK
        安卓的minSdkVersion =7
        机器人:targetSdkVersion =8/>    <使用许可权的android:NAME =android.permission.CAMERA/>
    <使用许可权的android:NAME =android.permission.INTERNET对/>
    <使用许可权的android:NAME =android.permission.WRITE_EXTERNAL_STORAG​​E/>
    <使用许可权的android:NAME =android.permission.ACCESS_NETWORK_STATE/>    <使用特征的android:NAME =android.hardware.camera.autofocus机器人:所需=FALSE/>< /清单>


解决方案

感谢Entreco我找到了答案。只是在我的应用程序设置抬头支持的设备。然后,由不支持平板电脑(宏碁Iconia A200)的功能规格比较支持的设备(A510平板电脑),我找到了答案:该A200没有后置摄像头。那么,什么是高清。缺少的是下面的清单条目:

 <使用特征的android:NAME =android.hardware.camera.front机器人:所需=FALSE/>

I am currently developing a camera app. Now one of the users is complaining that his device is not supported. It's a Acer A200:

I don't see any reason why android market / google play marks the app as not supported for this device. Do you know what might be the reason?

Here is the manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="net.ttttrash.myapp"
    android:versionCode="32"
    android:versionName="3.2" >

    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name"
        android:hardwareAccelerated="true">
        <activity
            android:name=".CameraActivity"
            android:configChanges="keyboard|orientation|keyboardHidden"
            android:label="@string/app_name"
            android:windowSoftInputMode="adjustPan" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.media.action.IMAGE_CAPTURE" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>
        <activity
            android:name="net.ttttrash.myapp.PreferenceActivity"
            android:label="@string/set_preferences" >
        </activity>
        <activity 
            android:name="com.google.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
        </activity>

    </application>

    <uses-sdk
        android:minSdkVersion="7"
        android:targetSdkVersion="8" />

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

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

</manifest>

解决方案

Thanks to Entreco I found the answer. Just looked up the supported devices in my app settings. Then, by comparing the feature specifications of the not supported tablet (Acer Iconia A200) to a supported device (A510 tablet) I found the answer: The A200 does not have a rear camera. So what's def. missing is following entry in the manifest:

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

这篇关于安卓设备不受APP-为什么支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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