Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android React本机应用程序在Google Play Store上仅允许410台设备_Android_React Native_Google Play - Fatal编程技术网

Android React本机应用程序在Google Play Store上仅允许410台设备

Android React本机应用程序在Google Play Store上仅允许410台设备,android,react-native,google-play,Android,React Native,Google Play,谷歌Play商店坚持我的应用程序由410台设备支持,这使我遇到了麻烦。我在谷歌上上传了app-x86-release.apk,它显示了受支持的安卓设备410台。我尝试了我在社区和其他地方找到的所有解决方案,但没有成功 AndroidManifest.xml:- <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/too

谷歌Play商店坚持我的应用程序由410台设备支持,这使我遇到了麻烦。我在谷歌上上传了app-x86-release.apk,它显示了受支持的安卓设备410台。我尝试了我在社区和其他地方找到的所有解决方案,但没有成功

AndroidManifest.xml:-

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.animatedapp"
    android:versionCode="12"
    android:versionName="1.0">

    <uses-sdk
        android:minSdkVersion="16"
        android:targetSdkVersion="26" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

    <uses-feature android:name="android.hardware.faketouch" android:required="true" />

    <application
      android:name=".MainApplication"
      android:allowBackup="true"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:theme="@style/AppTheme">
      <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>
      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
    </application>                 
</manifest>

我猜这是因为你上传了“app-x86-release.apk”,这是x86架构的apk。Google Play Console向我展示了大约400台带有x86 arch的设备

从您的gradle文件:

include "armeabi-v7a", "x86"

您的应用程序支持armeabi-v7a体系结构,也可以上载此版本。

也可以将armeabi版本上载到Google Play。你应该有“app-armeabi-v7a-release.apk”或类似的东西,但我也在代码中提到了“X86”和“armeabi-v7a”,并上传了app-X86-release.apk.Yes。你上传了,没关系。但采用x86体系结构的设备并不多(~400)。大多数设备都具有armeabi体系结构。也将armeabi构建上传到Google Play。
include "armeabi-v7a", "x86"