Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

[Android] 32 bit not included #259

@edblokcer

Description

@edblokcer

Hi I'm trying to create an Android build compatible for 32 and 64 bit as well.
I'm using the latest version with the following settings enabled via the config.xml:

    <variable name="XWALK_VERSION" value="23+" />
    <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
    <variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" />
    <variable name="XWALK_MODE" value="embedded" />
    <variable name="XWALK_MULTIPLEAPK" value="true" />
<preference name="xwalk64bit" value="true"

The productFlavors in the .gradle file aren't showing 32 bit variants. Added them and creating the Android folder again adds them to the appname-xwalk.gradle in the Android folder. But when I'm generating the app bundle for the different variants it's not adding the Crosswalk library to the 32 bit builds. My .gradle file currently contains the following code:

armeabi {
                    versionCode defaultConfig.versionCode*10 + 6
                    ndk {
                        abiFilters = ["armeabi"]
                    }
                }
                armv7 {
                    versionCode defaultConfig.versionCode*10 + 7
                    ndk {
                        abiFilters = ["armeabi-v7a"]
                    }
                }
                arm64 {
                    versionCode defaultConfig.versionCode*10 + 8
                    ndk {
                        abiFilters = ["arm64-v8a"]
                    }
                }
                x86 {
                    versionCode defaultConfig.versionCode*10 + 9
                    ndk {
                        abiFilters = ["x86"]
                    }
                }
                x86_64 {
                    versionCode defaultConfig.versionCode*10 + 10
                    ndk {
                        abiFilters = ["x86_64"]
                    }
                }

What do I need to do to add 32 bit support back?

Ionic info

Ionic:
   Ionic CLI          : 5.3.0 (/Users/eddy/.nvm/versions/node/v9.11.2/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.4

Cordova:
   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, ios 5.0.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 1.1.1, (and 26 other plugins)

System:
   Android SDK Tools : 26.1.1
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.2
   NodeJS            : v9.11.2
   npm               : 6.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions