[TIMOB-23228] Android: tiverify.so fails to load on arm64 device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-03-20T20:28:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.0.0 |
Components | Android |
Labels | n/a |
Reporter | Jeremy Sculfort |
Assignee | Gary Mathews |
Created | 2016-04-18T16:44:48.000+0000 |
Updated | 2018-03-20T20:29:03.000+0000 |
Description
From http://stackoverflow.com/questions/36616521/compile-module-for-64-bits-android-devices-with-titanium-appcelerator/36654045?noredirect=1#comment60938165_36654045
[ERROR] : TiVerify: (main) [237,283] Failed to load library.
[ERROR] : TiVerify: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.jskl.urbantrail-2/base.apk"],nativeLibraryDirectories=[/data/app/com.jskl.urbantrail-2/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libtiverify.so"
[ERROR] : TiVerify: at java.lang.Runtime.loadLibrary(Runtime.java:378)
[ERROR] : TiVerify: at java.lang.System.loadLibrary(System.java:998)
[ERROR] : TiVerify: at org.appcelerator.titanium.TiVerify.<clinit>(Unknown Source)
[ERROR] : TiVerify: at java.lang.Class.classForName(Native Method)
[ERROR] : TiVerify: at java.lang.Class.forName(Class.java:308)
[ERROR] : TiVerify: at java.lang.Class.forName(Class.java:272)
[ERROR] : TiVerify: at com.jskl.urbantrail.AssetCryptImpl.filterDataInRange(AssetCryptImpl.java:91)
[ERROR] : TiVerify: at com.jskl.urbantrail.AssetCryptImpl.readAsset(AssetCryptImpl.java:85)
[ERROR] : TiVerify: at org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:49)
[ERROR] : TiVerify: at org.appcelerator.titanium.TiApplication.loadAppProperties(TiApplication.java:344)
[ERROR] : TiVerify: at org.appcelerator.titanium.TiApplication.postOnCreate(TiApplication.java:422)
[ERROR] : TiVerify: at com.jskl.urbantrail.UrbanTrailApplication.onCreate(UrbanTrailApplication.java:69)
[ERROR] : TiVerify: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
[ERROR] : TiVerify: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4799)
[ERROR] : TiVerify: at android.app.ActivityThread.access$1900(ActivityThread.java:152)
[ERROR] : TiVerify: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
[ERROR] : TiVerify: at android.os.Handler.dispatchMessage(Handler.java:102)
[ERROR] : TiVerify: at android.os.Looper.loop(Looper.java:135)
[ERROR] : TiVerify: at android.app.ActivityThread.main(ActivityThread.java:5544)
[ERROR] : TiVerify: at java.lang.reflect.Method.invoke(Native Method)
[ERROR] : TiVerify: at java.lang.reflect.Method.invoke(Method.java:372)
[ERROR] : TiVerify: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:958)
[ERROR] : TiVerify: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:753)
[ERROR] : TiApplication: (KrollRuntimeThread) [0,283] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.jskl.urbantrail-2/base.apk"],nativeLibraryDirectories=[/data/app/com.jskl.urbantrail-2/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libstlport_shared.so"; Titanium 5.0.3,2015/12/03 12:51,1ac4be4
[ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.jskl.urbantrail-2/base.apk"],nativeLibraryDirectories=[/data/app/com.jskl.urbantrail-2/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libstlport_shared.so"
[ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:378)
[ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:998)
[ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:59)
[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)
[ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)
[ERROR] : art: No implementation found for byte[] org.appcelerator.titanium.TiVerify.filterDataInRange(byte[], int, int) (tried Java_org_appcelerator_titanium_TiVerify_filterDataInRange and Java_org_appcelerator_titanium_TiVerify_filterDataInRange___3BII)
[ERROR] : AssetCryptImpl: (main) [1,284] Unable to load asset data.
[ERROR] : AssetCryptImpl: java.lang.reflect.InvocationTargetException
[ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Native Method)
[ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:372)
[ERROR] : AssetCryptImpl: at com.jskl.urbantrail.AssetCryptImpl.filterDataInRange(AssetCryptImpl.java:93)
[ERROR] : AssetCryptImpl: at com.jskl.urbantrail.AssetCryptImpl.readAsset(AssetCryptImpl.java:85)
[ERROR] : AssetCryptImpl: at org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:49)
[ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiApplication.loadAppProperties(TiApplication.java:344)
[ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiApplication.postOnCreate(TiApplication.java:422)
[ERROR] : AssetCryptImpl: at com.jskl.urbantrail.UrbanTrailApplication.onCreate(UrbanTrailApplication.java:69)
[ERROR] : AssetCryptImpl: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
[ERROR] : AssetCryptImpl: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4799)
[ERROR] : AssetCryptImpl: at android.app.ActivityThread.access$1900(ActivityThread.java:152)
[ERROR] : AssetCryptImpl: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
[ERROR] : AssetCryptImpl: at android.os.Handler.dispatchMessage(Handler.java:102)
[ERROR] : AssetCryptImpl: at android.os.Looper.loop(Looper.java:135)
[ERROR] : AssetCryptImpl: at android.app.ActivityThread.main(ActivityThread.java:5544)
[ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Native Method)
[ERROR] : AssetCryptImpl: at java.lang.reflect.Method.invoke(Method.java:372)
[ERROR] : AssetCryptImpl: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:958)
[ERROR] : AssetCryptImpl: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:753)
[ERROR] : AssetCryptImpl: Caused by: java.lang.UnsatisfiedLinkError: No implementation found for byte[] org.appcelerator.titanium.TiVerify.filterDataInRange(byte[], int, int) (tried Java_org_appcelerator_titanium_TiVerify_filterDataInRange and Java_org_appcelerator_titanium_TiVerify_filterDataInRange___3BII)
[ERROR] : AssetCryptImpl: at org.appcelerator.titanium.TiVerify.filterDataInRange(Native Method)
[ERROR] : AssetCryptImpl: ... 19 more
[ERROR] : TiApplication: (main) [1,285] Unable to load app properties.
master: https://github.com/appcelerator/titanium_verify/pull/26