【问题标题】:Titanium "Uncaught Error: Requested module not found"Titanium“未捕获的错误:未找到请求的模块”
【发布时间】:2014-01-06 10:33:19
【问题描述】:

我在 Titan appcelerator 中开发了一个原生的安卓移动模块,现在我想添加该模块 Alloy app..我已将模块包含在 tiapp.xml 中并使用以下行来访问它

var sdk = require("ti.sdk");

其中 ti.sdk 是模块 ID....但在执行时仍然出现未找到请求的模块错误。

【问题讨论】:

  • 你清理过构建应用程序吗?
  • 否 @MitulBhalia..我只是 appceletor 的新手...如何清理构建它?

标签: android titanium appcelerator


【解决方案1】:

好的,所以你需要先清理构建你的项目,然后如果你的设备/模拟器中安装了应用程序,那么也删除它,只需从项目资源管理器中选择项目的根文件夹,然后从钛工作室选择“项目”菜单并选择选项清洁。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-11-24
    • 2015-11-22
    • 2018-12-01
    • 1970-01-01
    • 2022-10-25
    • 2022-08-13
    • 2016-07-11
    相关资源
    最近更新 更多