[AC-1863] Ti.Paint UnsatisfiedLinkError: Couldn't load ti.paint from loader dalvik.system.PathClassLoader
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-01-06T05:57:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules |
Labels | android |
Reporter | Mark Henderson |
Assignee | Ritu Agrawal |
Created | 2013-12-18T09:37:43.000+0000 |
Updated | 2016-03-08T07:40:46.000+0000 |
Description
This error only occurs on the Samsung Galaxy Tab S3. Unfortunately it's a very popular device.
If I include the Ti.Paint module in my project and build for Android, I always get this error, and the app freezes on the loading screen. If I remove it, everything works fine:
12-18 09:35:11.180: E/TiApplication(5340): (KrollRuntimeThread) [98,120] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load ti.paint from loader dalvik.system.PathClassLoader[dexPath=/data/app/uk.co.snagr.snagrmobile-1.apk,libraryPath=/data/app-lib/uk.co.snagr.snagrmobile-1]: findLibrary returned null; Titanium 3.1.3,2013/09/18 12:01,222f4d1
12-18 09:35:11.180: E/TiApplication(5340): java.lang.UnsatisfiedLinkError: Couldn't load ti.paint from loader dalvik.system.PathClassLoader[dexPath=/data/app/uk.co.snagr.snagrmobile-1.apk,libraryPath=/data/app-lib/uk.co.snagr.snagrmobile-1]: findLibrary returned null
12-18 09:35:11.180: E/TiApplication(5340): at java.lang.Runtime.loadLibrary(Runtime.java:365)
12-18 09:35:11.180: E/TiApplication(5340): at java.lang.System.loadLibrary(System.java:535)
12-18 09:35:11.180: E/TiApplication(5340): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114)
12-18 09:35:11.180: E/TiApplication(5340): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81)
12-18 09:35:11.180: E/TiApplication(5340): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175)
12-18 09:35:11.180: E/TiApplication(5340): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)
This module works fine on all other Android devices I have tested it on. But many of my clients have this device and were complaining that the app just freezes. It's this module that causes the freeze. But it's a very important component of my app. The Samsung Galaxy S3 must have a different hardware architecture to most other Android devices, unfortunately I don't understand the differences.
Mark - Can you reproduce this issue on S3 tablet with a simple test case that links with Ti.Paint module? We need a simple test case to troubleshoot this issue as the call stack does not provide much information in this case.
Resolving this ticket as we have not been able to reproduce the issue and we have not received the requested information from the reporter. We would be happy to reopen the ticket and investigate it further if you can provide the requested simple test case.