如果我只针对 armeabi 设备而不是 x86 设备是否安全

Is it safe if i only target armeabi devices and not x86 devices

我在我的应用程序中使用了一些外部依赖项,这些应用程序有一些 .so 文件,但那些 .so 文件不适用于 x86_64

所以 play store 没有上传 apk 并给出以下错误信息。

This release is not compliant with the Google Play 64-bit requirement

所以我拆分了 apk 并创建了以下 apks。

   splits {
        abi {
            enable true
            reset()
            include  'armeabi-v7a','arm64-v8a'
            universalApk false
        }
    }

如果我上传这 2 个 apk,Play 商店会成功上传 apk。

现在我的问题是不上传 x86 apk 可以吗。

您的应用将无法在基于 x86_64 架构的设备的 Play Market 中访问。但这不太可能,因为大多数智能手机都是基于 Arm

是的,没关系。

将会发生的情况是,使用 x86x86_64 设备的用户将无法在 Play 商店中找到您的应用。

x86 设备的详尽列表可以在此 link 使用 gsmarena 过滤器获取:https://www.gsmarena.com/results.php3?sFreeText=INTEL&sOSes=2

You can ignore x86 devices for now if your are not aiming at running your app in the default emulator/genymotion or x86 environments