APKs or App Bundles are available to 64-bit devices but they only have 32-bit native code

后端 未结 10 1748
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-15 15:38

I have exported an Android App Bundle file to upload at Play store with NDK downloaded from Unity desired location because Android Studio NDK file is not compatible with Uni

10条回答
  •  感动是毒
    2020-12-15 16:37

    If you are using Android Studio with Gradle,

    Add

    ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' 
    

    to your gradle file like below,

    android {
       compileSdkVersion 27
       defaultConfig {
           appId "com.google.example.64bit"
           minSdkVersion 15
           targetSdkVersion 28
           versionCode 1
           versionName "1.0"
           ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
    

提交回复
热议问题