Google Play Store : How to upload more APKs to support different CPU architectures

会有一股神秘感。 提交于 2019-12-03 17:25:42

Check out this Article. Publishing multiple APKs on Google play https://blog.mindorks.com/publishing-multiple-apks-on-google-play-b06bb9078aae#.qqr2yqjfv

Navigate to the “APK” section of your app and hit “Switch to advanced mode” in the top right.

There You’ll notice the “upload new APK to production” button moving down and extra actions coming up on screen.

Now in advanced mode the console accepts multiple APKs on the same track, just hit the “upload new APK” button and follow the process one by one as in simple mode and click “save draft”.The console will show a relatively less number of compatible devices but don’t worry, because it shows devices compatible to only that specific ABI.

You need to build multiple apks to upload on play store.

android {
  ...
  splits {

    // Configures multiple APKs based on ABI.
    abi {

      // Enables building multiple APKs per ABI.
      enable true

      // By default all ABIs are included, so use reset() and include to specify that we only
      // want APKs for x86, armeabi-v7a, and mips.

      // Resets the list of ABIs that Gradle should create APKs for to none.
      reset()

      // Specifies a list of ABIs that Gradle should create APKs for.
      include "x86", "armeabi-v7a", "mips"

      // Specifies that we do not want to also generate a universal APK that includes all ABIs.
      universalApk false
    }
  }
}

Configure your gradle as shown above. Then upload it. This is useful if you want to upload for a limited audience to your app. If you want to give access to all user you don't need any such configuration.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!