Android - Skobbler does not support 64-bit processor

Skobbler Doesn't support x64 bit processors.

Can I fix x86 bit libraries to work on a device with 64-bit bits?

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)
+4
source share
1 answer

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

Add: android.useDeprecatedNdk=trueto a file called gradle.properties in the root of your project and the following code in the gradle file:

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

I hope this helps you :)

+4
source

Source: https://habr.com/ru/post/1618276/


All Articles