[AC-1063] Android: ti.compression crashes on Android 6.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-26T06:27:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules |
Labels | n/a |
Reporter | Manuel Lehner |
Assignee | Shak Hossain |
Created | 2015-10-19T13:30:32.000+0000 |
Updated | 2016-03-08T07:37:24.000+0000 |
Description
This affects 5.0.0.GA and 5.1.0 - it works fine on 4.1.0.GA
The ti.compression module is a dependency of TiShadow which makes development impossible on Android 6.0 devices.
This is the exception log for a default alloy app built with
appc run --platform android --project-dir ./ --no-banner --no-progress-bars --no-prompt --target device --sdk 5.1.0 --shadow
using the 5_1_X branch:
10-19 15:08:45.943: E/AndroidRuntime(20815): FATAL EXCEPTION: KrollRuntimeThread
10-19 15:08:45.943: E/AndroidRuntime(20815): Process: com.myapp.test, PID: 20815
10-19 15:08:45.943: E/AndroidRuntime(20815): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.myapp.test-1/lib/arm/libti.compression.so: has text relocations
10-19 15:08:45.943: E/AndroidRuntime(20815): at java.lang.Runtime.loadLibrary(Runtime.java:372)
10-19 15:08:45.943: E/AndroidRuntime(20815): at java.lang.System.loadLibrary(System.java:1076)
10-19 15:08:45.943: E/AndroidRuntime(20815): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)
10-19 15:08:45.943: E/AndroidRuntime(20815): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
10-19 15:08:45.943: E/AndroidRuntime(20815): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)
10-19 15:08:45.943: E/AndroidRuntime(20815): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)
Hi, I tested this issue with SDK 5.0.2.GA on Android 5.1.0 and Android 6.0 , *ti.compression* module is working fine for me. *Environment*
Thanks