我已成功安裝Appcelerator Titanium的com.wwl.canvas模塊,但我無法使用它。當我運行我的程序,它會立即出現以下錯誤退出:Appcelerator模塊不加載(android畫布)
[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
您是否檢查過所有文件都在模塊文件夾中?我有一個非常類似的問題,造成一些丟失的文件。 – 2014-11-22 01:54:33