[英]Android: Solution for the device not compatible with the Google Play Store
我有Android移动应用程序。 使用不同手机型号的相同android版本给出错误。
我需要在没有任何兼容问题的任何设备上运行我的应用程序。
下面是我的清单文件
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.smartmetro.prime"
android:versionCode="17"
android:versionName="5.1" >
<uses-sdk
android:targetSdkVersion="23"
android:minSdkVersion="19" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-feature
android:name="android.hardware.location.gps"
android:required="true" />
<uses-feature
android:name="android.hardware.nfc"
android:required="true" />
<uses-feature
android:name="android.hardware.sensor.compass"
android:required="true" />
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<application
android:icon="@drawable/logo"
android:label="@string/app_name" >
<activity
android:name=".LauncherAppregisterMenuActivity"
android:clearTaskOnLaunch="true"
android:launchMode="singleTask"
android:theme="@android:style/Theme.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
......
</manifest>
请帮助我解决设备不兼容的问题
并非所有设备都具有NFC,并且在需要时某些设备将无法运行您的应用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.