makingthematrix / scalaonandroid

A tutorial and examples of how to write Android apps in Scala 2.13 and Scala 3.
GNU General Public License v3.0
169 stars 9 forks source link

Failed to extract native libraries #7

Closed vmchura closed 2 years ago

vmchura commented 3 years ago

Hello, amazed with Scala on Android.

Following the steps to run "hellogluon", in the last step I've got the next error:

$ adb install Scala\ 2.13\ on\ Android.apk
Performing Streamed Install
adb: failed to install target/client/aarch64-android/gvm/Scala 2.13 on Android.apk: 
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

I am on Arch linux

$ java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment GraalVM CE 21.1.0 (build 11.0.11+8-jvmci-21.1-b05)
OpenJDK 64-Bit Server VM GraalVM CE 21.1.0 (build 11.0.11+8-jvmci-21.1-b05, mixed mode, sharing)

I am new at android, any idea how to approach this error?. Thank you!

makingthematrix commented 2 years ago

As far as I remember, we talked about it on Discord? Or was it Reddit? :) The problem was due to the device's architecture. Not much we can do about it.