Titanium JIRA Archive
Appcelerator Community (AC)

[AC-982] Android app installs but won't run on Genymotion emulators: "Couldn't load ti.paint from loader dalvik.system.PathClassLoa...: findLibrary returned null

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-03-17T19:17:55.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsandroid, genymotion, ti.paint
Reporterjay splaine
AssigneeRitu Agrawal
Created2014-02-28T16:25:02.000+0000
Updated2016-03-08T07:37:18.000+0000

Description

Does work on attached non-virtual devices like my HTC One log snippet: [INFO] : Installing apk: /Users/jsplaine/svn/OF_mobile/branches/1.10/pro_companies/build/android/bin/xxx.apk [INFO] : App successfully installed [INFO] : Starting app: com.xxx.xxx/.xxxActivity [INFO] : Application pid: 1282 [INFO] : Project built successfully in 28s 974ms -- Start application log ----------------------------------------------------- [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [76,76] Titanium 3.2.1 (2014/02/06 17:03 991027b) [INFO] : TiApplication: (main) [6,82] Titanium Javascript runtime: v8 [INFO] : UrbanAirshipModule: (main) [0,88] Airship taking off [WARN] : V8Object: Runtime disposed, cannot set property 'userAgent' [WARN] : dalvikvm: threadid=11: thread exiting with uncaught exception (group=0xa4c18648) [ERROR] : TiApplication: (KrollRuntimeThread) [143,231] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load ti.paint from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.xxx-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.xxx.xxx-2, /system/lib]]]: findLibrary returned null; Titanium 3.2.1,2014/02/06 17:03,991027b [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: Couldn't load ti.paint from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.xxx-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.xxx.xxx-2, /system/lib]]]: findLibrary returned null [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:355) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:525) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175) [ERROR] : TiApplication: at org.appcelerator.kroll.Kro [INFO] : dalvikvm: threadid=3: reacting to signal 3 [INFO] : dalvikvm: Wrote stack traces to '/data/anr/traces.txt' -- End application log -------------------------------------------------------

Comments

  1. Stephen Feather 2014-02-28

    This is a duplicate ticket. A PR is pending already (https://github.com/appcelerator/titanium_modules/pull/154)
  2. Ritu Agrawal 2014-03-17

    [~sfeather] There is no JIRA ticket associated with this pull request so we can use this ticket for that pull request. Let me know if that sounds reasonable.
  3. Stephen Feather 2014-03-17

  4. Ritu Agrawal 2014-03-17

    Thanks [~sfeather]. Marking this as a duplicate of TIMODOPEN-311.

JSON Source