5

Skobbler doesn't support x64 bits processors.

Is it possible to fix the x86 bits libraries to work on x64 bits device ?

2-02 14:55:35.171 8818-8840/? E/AndroidRuntime: FATAL EXCEPTION: Thread-3042
12-02 14:55:35.171 8818-8840/? E/AndroidRuntime: Process: am.ggtaxi.main.ggdriver, PID: 8818
12-02 14:55:35.171 8818-8840/? E/AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/am.ggtaxi.main.ggdriver-1/base.apk"],nativeLibraryDirectories=[/data/app/am.ggtaxi.main.ggdriver-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libngnative.so"
12-02 14:55:35.171 8818-8840/? E/AndroidRuntime:     at java.lang.Runtime.loadLibrary(Runtime.java:366)
12-02 14:55:35.171 8818-8840/? E/AndroidRuntime:     at java.lang.System.loadLibrary(System.java:988)
12-02 14:55:35.171 8818-8840/? E/AndroidRuntime:     at com.skobbler.ngx.SKMaps.<clinit>(SourceFile:59)
Hazem Abdullah
  • 1,837
  • 4
  • 23
  • 41
  • Unfortunately, we do not plan to support this – SylviA Dec 14 '15 at 14:41
  • Any news on this @SylviA? Nexus 5x and 6p mount 64 bits processors and we have the same crash... Thank you so much in advance!!!! – Álvaro Loza May 03 '16 at 10:56
  • 1
    I found this [link](http://stackoverflow.com/questions/27186243/use-32-bit-jni-libraries-on-64-bit-android) and maybe this can be used for a workaround. What do you think @SylviA? Thanks in advance!!! – Álvaro Loza May 03 '16 at 12:16

1 Answers1

4

This workaround works for me: How to use 32-bit native libaries on 64-bit Android device

Add: android.useDeprecatedNdk=true to a file named gradle.properties at the root of your project and the following code in your gradle file:

    android {
    ....
    defaultConfig {
        ....
        ndk {
            abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
        }
     }
    }

I hope that this helps you :)

Community
  • 1
  • 1
Álvaro Loza
  • 411
  • 4
  • 21