gluonhq / client-samples

Client samples to run with Gluon Client plugins for Maven and Gradle
114 stars 23 forks source link

Android installation Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] #72

Closed appsofteng closed 4 years ago

appsofteng commented 4 years ago

I built HelloGluon for Android on Ubuntu 19.10 on VirtualBox on Windows 10 on Intel CPU for Android 9

The Android apk was created successfully but when I do the installation to the connected Android 9 device using

mvn client:install

I get the error. Apparently there is a mismatch between the native libraries and the target architecture.

Any suggestion as to how to solve this please? Thank you.

Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

appsofteng commented 4 years ago

Apparently it is because my device has architecture armeabi-v7a,armeabi

and the substrate builds for arm64-v8a

Currently GraalVM native image implements only aarch64 so cross compilation for Android devices with armeabi-v7a is not possible.

abhinayagarwal commented 4 years ago

Hi @bezvaapp ,

I am closing this issue. If you want support for armeabi-v7a, armeabi devices, please feel free to open a ticket in gluonhq/substrate.