Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1863] Ti.Paint UnsatisfiedLinkError: Couldn't load ti.paint from loader dalvik.system.PathClassLoader

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-01-06T05:57:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsandroid
ReporterMark Henderson
AssigneeRitu Agrawal
Created2013-12-18T09:37:43.000+0000
Updated2016-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)

Comments

  1. Mark Henderson 2013-12-18

    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.
  2. Ritu Agrawal 2013-12-26

    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.
  3. Ritu Agrawal 2014-01-06

    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.

JSON Source