离子应用程序在Android平板电脑 [英] Ionic App On Android Tablet

查看:204
本文介绍了离子应用程序在Android平板电脑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发布我的应用程序在谷歌Play商店的beta测试,但我不能在我的Andr​​oid平板电脑上安装。该应用程序将不会安装在我的三星Galaxy Tab平板电脑10型号GT-P5113 Android版本4.2.2,但我的三星S5手机上安装没有问题。

I've just publish my app to the Google Play store for beta testing, but I can't install it on my Android tablet. The app will not install on my Samsung Galaxy Tab 10 tablet Model number GT-P5113 Android version 4.2.2, but it installs on my Samsung S5 mobile phone with no problem.

当我尝试从谷歌安装应用程序Play商店它说,它专为手机和消息是您的设备不与此版本兼容'。我已经检查了设备兼容性部分和我的平板电脑的版本被选中。

When I try to install the app from the Google Play Store it says that its designed for phones and the message is "Your device isn't compatible with this version'. I've checked the 'DEVICE COMPATIBILITY' section and my tablet version is checked.

我有这个在我的Andr​​oidManifest.xml文件:

I have this in my AndroidManifest.xml file:

<supports-screens android:anyDensity="true" android:largeScreens="true"       
 android:normalScreens="true" android:resizeable="true" 
 android:smallScreens="true" android:xlargeScreens="true" />

有人能告诉我如何让我的应用程序与Android和iOS平板电脑兼容吗?在此先感谢

Can someone tell me how to make my app compatible with Android and iOS tablets? Thanks in advance

更新

下面是完整的Andr​​oidManifest.xml。

Here's the complete AndroidManifest.xml.

 <?xml version='1.0' encoding='utf-8'?>
 <manifest android:hardwareAccelerated="true" android:versionCode="6" android:versionName="0.0.0.0" package="com.myapp.app" xmlns:android="http://schemas.android.com/apk/res/android">
  <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<application android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="RsgApp" android:screenOrientation="portrait" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize">
        <intent-filter android:label="@string/launcher_name">
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
    <activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:name="com.google.android.gms.ads.AdActivity" android:theme="@android:style/Theme.Translucent" />
</application>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" />

推荐答案

这是相机的自动对焦功能:

It's the camera auto focus feature:

uses-feature android:name="android.hardware.camera.autofocus"

我有三星SM-T110(表3精简版)相同的问题;结果
它不具备自动对焦的摄像头,以便获取兼容的设备排除在外。

I have the same issue with Samsung SM-T110 (Tab 3 Lite);
it does not have camera autofocus so gets excluded from compatible devices.

仍在试图弄清楚如何从自动生成清单文件寿删除此,但希望这台你在正确的方向...

Still trying to figure out how to remove this from the auto-generated manifest file tho, but hope this sets you in the right direction...

这篇关于离子应用程序在Android平板电脑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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