Android 获得;您的设备不是';t与本版本不兼容“;关于S8星系
我最近在Google Play上向Alpha组发布了我的应用程序,但我在Galaxy S8上不断收到错误“你的设备与此版本不兼容” 这是一个Ionic应用程序,因此下面是我的config.xml(其中包含一些信息):Android 获得;您的设备不是';t与本版本不兼容“;关于S8星系,android,xml,ionic-framework,Android,Xml,Ionic Framework,我最近在Google Play上向Alpha组发布了我的应用程序,但我在Galaxy S8上不断收到错误“你的设备与此版本不兼容” 这是一个Ionic应用程序,因此下面是我的config.xml(其中包含一些信息): --- --- --- 以下是我的AndroidManifest.xml(我相信它是生成的): 我的应用程序确实使用了摄像头,但是,在我的AndroidManifest中似乎没有一个标签,我觉得这很奇怪。据我所知,SDK的最小和最大版本是正确的(16-25)。还有什么原因?删
---
---
---
以下是我的AndroidManifest.xml(我相信它是生成的):
我的应用程序确实使用了摄像头,但是,在我的AndroidManifest中似乎没有一个标签,我觉得这很奇怪。据我所知,SDK的最小和最大版本是正确的(16-25)。还有什么原因?删除使用android的功能:name=“android.hardware.location.gps
并支持AndroidManifest.xml中的屏幕,然后将其发布。每当我尝试删除使用android的功能时。name=“android.hardware.location.gps,每当我进行cordova构建时,它就会返回——发布android。即使我只是添加标志'required=false',它仍然会添加它-然后失败,因为我现在有2个。有没有办法从config.xml中删除此权限?
<?xml version='1.0' encoding='utf-8'?>
<widget id="---" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>---</name>
<description>
---
</description>
<author email="---" href="http://ionicframework.com">
---
</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="orientation" value"portrait" />
<hook type="after_prepare" src="package-hooks/android_custom_values.js" />
</widget>
Here is my AndroidManifest.xml (Which I believe is generated):
<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" package="com.ionicframework.moment2380651" 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" />
<application android:hardwareAccelerated="true" android:icon="@mipmap/icon" android:label="@string/app_name" android:supportsRtl="true">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" 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>
<provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="android.support.v4.content.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths" />
</provider>
<amazon:enable-feature android:name="com.amazon.device.messaging" android:required="false" xmlns:amazon="http://schemas.amazon.com/apk/res/android" />
<service android:exported="false" android:name="com.onesignal.ADMMessageHandler" />
<receiver android:name="com.onesignal.ADMMessageHandler$Receiver" android:permission="com.amazon.device.messaging.permission.SEND">
<intent-filter>
<action android:name="com.amazon.device.messaging.intent.REGISTRATION" />
<action android:name="com.amazon.device.messaging.intent.RECEIVE" />
<category android:name="com.ionicframework.moment2380651" />
</intent-filter>
</receiver>
</application>
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="25" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location.gps" />
<uses-permission android:name="com.amazon.device.messaging.permission.RECEIVE" />
<permission android:name="com.ionicframework.moment2380651.permission.RECEIVE_ADM_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="com.ionicframework.moment2380651.permission.RECEIVE_ADM_MESSAGE" />
</manifest>