[TIMOB-7330] Android: Module: UrbanAirship module built with 1.8.0.1 does not work when application is compiled against 1.9.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-24T16:11:37.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | Android |
Labels | qe-and011912, regression |
Reporter | Natalie Huynh |
Assignee | Marshall Culpepper |
Created | 2012-01-20T18:26:57.000+0000 |
Updated | 2012-02-09T23:28:25.000+0000 |
Description
Steps To Reproduce:
1. Run urbanAirship application with module compiled with 1.8.0.1
Actual:
E/TiApplication( 3450): ; Titanium 1.9.0,2012/01/20 14:46,1eaabe9
E/TiApplication( 3450): java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]: 77 cannot locate '_ZN8titanium13TypeConverter18jsArrayToJavaArrayEN2v86HandleINS1_5ArrayEEE'...
E/TiApplication( 3450):
E/TiApplication( 3450): at java.lang.Runtime.loadLibrary(Runtime.java:434)
E/TiApplication( 3450): at java.lang.System.loadLibrary(System.java:554)
E/TiApplication( 3450): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:77)
E/TiApplication( 3450): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:66)
E/TiApplication( 3450): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:146)
E/TiApplication( 3450): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:99)
W/TiApplication( 3450): (main) [96,425] activity stack is emtpy, unable to get current activity
W/TiApplication( 3450): (main) [1,426] activity stack is emtpy, unable to get current activity
W/TiApplication( 3450): (main) [0,426] activity stack is emtpy, unable to get current activity
E/AndroidRuntime( 3450): FATAL EXCEPTION: KrollRuntimeThread
E/AndroidRuntime( 3450): java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1311]: 77 cannot locate '_ZN8titanium13TypeConverter18jsArrayToJavaArrayEN2v86HandleINS1_5ArrayEEE'...
E/AndroidRuntime( 3450):
E/AndroidRuntime( 3450): at java.lang.Runtime.loadLibrary(Runtime.java:434)
E/AndroidRuntime( 3450): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 3450): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:77)
E/AndroidRuntime( 3450): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:66)
E/AndroidRuntime( 3450): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:146)
E/AndroidRuntime( 3450): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:99)
W/ActivityManager( 115): Force finishing activity com.appcelerator.android.uatest2/.UrbanairshipActivity
W/ActivityManager( 115): Activity pause timeout for HistoryRecord{405576f0 com.appcelerator.android.uatest2/.UrbanairshipActivity}
V/RenderScript_jni( 211): surfaceCreated
V/RenderScript_jni( 211): surfaceChanged
Expected: To launch application with no problem
Note: Works if you recompile the module with 1.9.0
Should be resolved w/ new fix for TIMOB-6809
Tested with 1.8.1.v20120124200134 with Nexus S 2.3.6