Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1024] Couldn't load com.obscure.keychain from loader dalvik.system.PathClassLoader

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-11-03T19:38:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Studio
Labelsn/a
Reporterdarshan
AssigneeMauro Parra-Miranda
Created2014-10-31T15:12:14.000+0000
Updated2016-03-08T07:37:21.000+0000

Description

I am using "com.obscure.keychain" this way. keychainAccount = require("com.obscure.keychain").createKeychainItem("account"); if (keychainAccount.account) { $.unameTxt.setValue(keychainAccount.account); $.passwordTxt.setValue(stringCrypto.AESDecrypt(Alloy.CFG.secret, keychainAccount.valueData)); $.keepMeSwt.setValue(true); } I am not sure why I get the following exception whenever I run my application on the android device [WARN] : V8Object: (KrollRuntimeThread) [1267,1267] Runtime disposed, cannot set property 'userAgent' [WARN] : dalvikvm: threadid=11: thread exiting with uncaught exception (group=0x40a71930) [ERROR] : TiApplication: (KrollRuntimeThread) [320,1587] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load com.obscure.keychain from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.mcripts.appcelerator-2.apk,libraryPath=/data/app-lib/com.mcripts.appcelerator-2]: findLibrary returned null; Titanium 3.4.0,2014/09/25 16:42,b54c467 [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: Couldn't load com.obscure.keychain from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.mcripts.appcelerator-2.apk,libraryPath=/data/app-lib/com.mcripts.appcelerator-2]: findLibrary returned null [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:365) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:535) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:123) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:90) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) [ERROR] : AndroidRuntime: FATAL EXCEPTION: KrollRuntimeThread [ERROR] : AndroidRuntime: java.lang.UnsatisfiedLinkError: Couldn't load com.obscure.keychain from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.mcripts.appcelerator-2.apk,libraryPath=/data/app-lib/com.mcripts.appcelerator-2]: findLibrary returned null [ERROR] : AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:365) [ERROR] : AndroidRuntime: at java.lang.System.loadLibrary(System.java:535) [ERROR] : AndroidRuntime: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:123) [ERROR] : AndroidRuntime: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:90) [ERROR] : AndroidRuntime: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)

Comments

  1. Shuo Liang 2014-11-03

    Seems your problem is system can address your com.obscure.keychain module. So here is wiki page include everything about how to use a new module, hope this will help you. [https://wiki.appcelerator.org/display/guides2/Using+Titanium+Modules]
  2. Mauro Parra-Miranda 2014-11-03

    Hello [~dnandakumar]! 1. The module that you are using is not supported by appcelerator. Please contact the module's author and add a bug to him. 2. If you are a customer, add issues in the enterprise section. If you don't know the web address for the portal, please contact your sales contact. Best Regards

JSON Source