简体   繁体   English

如何在 google play 上将 android 应用程序限制为 64 位平台下载

[英]How to restrict android app to 64 bit platform download on google play

I have an app that works only in 64 bit configuration.我有一个仅适用于 64 位配置的应用程序。 I've put in the following in the abi filters我在 abi 过滤器中加入了以下内容

splits{
    abi {
        enable true
        reset()
        include "x86_64", "arm64-v8a"
        universalApk true
    }
}

But when I uploaded the app for alpha track I saw this :但是当我上传 alpha 轨道的应用程序时,我看到了这个:

在此处输入图片说明

How do I make sure my app is not available for download for something other than 64 bit device?如何确保我的应用程序不可用于 64 位设备以外的其他设备下载?

Have you tried to exclude these builds?您是否尝试排除这些构建?

"exclude Specifies a comma-separated list of ABIs that Gradle should not generate separate APKs for. Use exclude if you want to generate APKs for most ABIs, but need to exclude a few ABIs that your app doesn't support." “exclude 指定一个逗号分隔的 ABI 列表,Gradle 不应为其生成单独的 APK。如果您想为大多数 ABI 生成 APK,但需要排除一些您的应用不支持的 ABI,请使用 exclude。”

https://developer.android.com/studio/build/configure-apk-splits https://developer.android.com/studio/build/configure-apk-splits

Set universalApk false , it will build one APK for each platform;设置universalApk false ,它会为每个平台构建一个APK;
then just upload the arm64-v8a package ( x86_64 is irrelevant).然后只需上传arm64-v8a包( x86_64无关紧要)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如果Android版本较旧,则限制用户从Google Play下载应用 - restrict a user to download the app from google play if android version is older 如何构建符合 Google Play 64 位要求的应用程序? - How to build app compliant with Google Play 64-bit requirement? 在64位Android设备上从Google Play商店安装应用时,如果该应用支持,该应用是否以64位安装? - When installing an app from the Google Play store on a 64-bit Android device, does the app install as 64-bit if the app supports it? 如何在Google Play Console中限制特定Android版本的应用 - How to restrict App for specific Android versions in Google Play Console 是否必须为在Google Play商店上发布的所有Android应用程序同时支持ARM和Intel(32/64)位架构? - Is it compulsory to support both ARM and Intel ( 32/64 ) bit architecture for all the Android App published on Google Play Store? 谷歌 Play 商店的 react-native android 应用程序中的 64 位版本问题 - 64 bit version issue in react-native android app by google play store 此版本符合 Google Play 64 位原生应用的要求 - This release is compliant with the Google Play 64-bit requirement native app Google Play 64 位要求 App bundle 更新失败 - Google Play 64-bit requirement App bundle failed to update 如何构建符合Google Play 64位要求的NativeScript Vue应用程序? - How to build NativeScript Vue app compliant with Google Play 64-bit requirement? Google Play 64位合规性 - Google Play 64 Bit Compliance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM