I want to use the xwalk library to embed a chromium webview in the app. This is done via a gradle dependency.
implementation 'org.xwalk:xwalk_core_library:23.53.589.4'
This dependency is an .aar file which is available in a 32bit and 64bit version. However, only the 32bit version is actually embedded in the build.
By checking the created app bundle, only the lib/x86 and lib/armeabi-v7a versions are embedded.
When checking the available versions on the maven repository for that version - see https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/23.53.589.4/ - one can see that there are of course versions for all cpu architectures available:
- xwalk_core_library-23.53.589.4-64bit.aar
- xwalk_core_library-23.53.589.4-arm.aar
- xwalk_core_library-23.53.589.4-arm64.aar
- xwalk_core_library-23.53.589.4-x86.aar
- xwalk_core_library-23.53.589.4-x86_64.aar
- xwalk_core_library-23.53.589.4.aar
I assume that by specifying the dependency the way i did, the last one will be embedded in the app. I downloaded the aar and checked the content and as assumed, only the x86 and arm(32) libs are included. I don't know if this is supposed to be that way or if this is a deployment issue.
Anyway, I tried to include 32bit and 64bit dependencies manually by adding the specific gradle classifiers, but because in the aar there are also java classes included, I ended up having build errors because of duplicate classes.
Is there any way to solve that the proper gradle way?