Appcelerator模块无法加载(android canvas)

时间:2014-11-22 00:06:04

标签: android canvas android-canvas appcelerator

我已成功为Appcelerator Titanium安装了com.wwl.canvas模块,但我无法使用它。当我运行我的程序时,它立即退出并出现以下错误:

[ERROR] : TiApplication: (KrollRuntimeThread) [54,260] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load com.wwl.canvas from loader dalvik.system.PathClassLoader[dexPath=/data/app/ci.useek.app-2.apk,libraryPath=/data/app-lib/ci.useek.app-2]: findLibrary returned null; Titanium 3.4.1,2014/11/13 13:33,5982e8f [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: Couldn't load com.wwl.canvas from loader dalvik.system.PathClassLoader[dexPath=/data/app/ci.useek.app-2.apk,libraryPath=/data/app-lib/ci.useek.app-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)

我在tiapp.xml文件中安装了模块,当我构建应用程序时,我看到模块被拉入:

[DEBUG] : Detected android module: com.wwl.canvas 1.0 @ /Users/kaz/scratch/useek_mobile_phase_2/modules/android/com.wwl.canvas/1.0

从这里安装模块:https://marketplace.appcelerator.com/apps/5941

1 个答案:

答案 0 :(得分:0)

下载并重新编译该模块,它工作正常......希望一切顺利,如果您遇到其他问题请给我打电话。

enter image description here