【问题标题】:Titanium appcelerator module not found找不到钛应用加速器模块
【发布时间】:2017-02-18 18:09:17
【问题描述】:

在为 android 构建我的钛 appcelerator 应用程序时遇到错误,以下是安装的模块:

- 模块 Android > com.pushwoosh.module 和 dk.napp.drawer

tiapp.xml

<modules>
    <module platform="iphone">dk.napp.drawer</module>
    <module platform="android">dk.napp.drawer</module>
...

当我构建应用程序并从设备运行它时,我收到以下错误:

[ERROR] :  TiExceptionHandler: (main) [60613,103255] ----- Titanium Javascript Runtime Error -----
[ERROR] :  TiExceptionHandler: (main) [1,103256] - In ti:/module.js:303,2
[ERROR] :  TiExceptionHandler: (main) [0,103256] - Message: Uncaught Error: Requested module not found: dk.napp.drawer
[ERROR] :  TiExceptionHandler: (main) [0,103256] - Source:  throw new Error("Requested module not found: " + request); // TODO Set 'code' property to 'MODULE_NOT_FOUND' to match Node?
[ERROR] :  V8Exception: Exception occurred at ti:/module.js:303: Uncaught Error: Requested module not found: dk.napp.drawer
[ERROR] :  ViewRootImpl: sendUserActionEvent() mView == null

所以我不知道为什么app找不到dk.app.drawer模块,这里是所有模块的截图:

再次感谢您的帮助

【问题讨论】:

    标签: titanium appcelerator titanium-mobile appcelerator-titanium titanium-modules


    【解决方案1】:

    在屏幕截图中,您只显示了 1.2.4 版本,即 iOS 版本。你是不是也加了安卓版? https://github.com/viezel/NappDrawer/tree/master/android/dist

    【讨论】:

    • 嘿,我不知道这个列表存在,谢谢miga,你救了我的一天。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-07-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多