2014-11-22 75 views
0

我已成功安裝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

+0

您是否檢查過所有文件都在模塊文件夾中?我有一個非常類似的問題,造成一些丟失的文件。 – 2014-11-22 01:54:33

回答

0

下載並重新編譯模塊,它工作正常...希望一切都很好,我ping通如果碰上其他問題。

enter image description here

+0

問題只是在x86模擬器中運行模塊。 [WARN]:模塊com.wwl.canvas不支持ABI:x86 [警告]:它僅支持以下ABI:armeabi ,armeabi-v7a [警告]:您的應用程序很可能會遇到問題 ' – DaKaZ 2014-11-24 14:56:51