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

[Android] 32 bit not included #259

Open
edblokcer opened this issue Sep 30, 2019 · 1 comment
Open

[Android] 32 bit not included #259

edblokcer opened this issue Sep 30, 2019 · 1 comment

Comments

@edblokcer
Copy link

edblokcer commented Sep 30, 2019

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 ([email protected])
   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
@edblokcer edblokcer changed the title 32 bit not included [Android] 32 bit not included Sep 30, 2019
@memken
Copy link

memken commented Jan 28, 2020

We're running into the same issue. Upon build, the libxwalkcore.so for 32-bit builds are missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants