breautek edited a comment on issue #974: URL: https://github.com/apache/cordova-android/issues/974#issuecomment-628795491
You only need a 64bit apk if you include native libaries in your app. If you do, then you must use a multi apk setup. This is not very common, so the documentation is kind of lacking unfortunately, but some information can be found at https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-gradle-properties Cordova will generate an APK for each ABI. You have to upload each APK variant to the Google Play store when you make your releases. Alternatively, you can try the bundle format, but this only works if plugins supply a native so file for each ABI. So it depends on how the plugin has their native dependencies configured. If you're using the latest version of cordova-android (version 8.1.0 at the time of writing), then you can build bundles by passing the `--packageType=bundle` flag e.g.: `cordova build android --release -- --packageType=bundle` Do note, bundles are only supported for release builds. This will build an `.aab` file, which you can also upload to the google play store. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
