【问题标题】:Titanium module imagefactory won't work钛模块图像工厂将无法工作
【发布时间】:2015-03-04 07:30:05
【问题描述】:

几个小时后,图像模块仍然无法工作,我希望在这里得到一些帮助。

我正在尝试安装/使用 imagefactory 模块。 1)我使用 Titanium studio 全局安装它(从 gi​​thub 和 appcelerator 都尝试过),但是当我在终端('Titanium 模块')中查找模块时,或者在我的 tiapp.xml 中尝试包含模块。

插件自行安装在目录中

Titanium/
    mobilesdk
    modules
    ti.imagefactory-stable <-- here

我试图将文件夹移动到文件夹中

Titanium/moduels/android/ti.imagefactory-stable

Titanium/modules/ios/ti.imagefactory-stable

然后它识别了模块,但是我得到了这个错误:

Titanium Command-Line Interface, CLI version 3.4.1, Titanium SDK version 3.4.1.GA
Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[INFO] :   Found Titanium module id=ti.imagefactory-stable version=ios platform=iphone     deploy-type=development path=/Users/username/Library/Application     Support/Titanium/modules/iphone/ti.imagefactory-stable/ios
[ERROR] :  Module ti.imagefactory-stable version 1.2.0 is missing library file: /Users/username/Library/Application Support/Titanium/modules/iphone/ti.imagefactory-stable/ios/libti.imagefactory-stable.a

非常感谢任何帮助,因为我现在有点卡住了......我也尝试在本地安装到项目中但没有成功。

【问题讨论】:

  • 我发现从gitTio 安装模块最简单。对于 imagefactory 模块,请参阅this url
  • 成功了!谢谢,请输入它作为答案,以便我将其标记为正确答案 =)

标签: javascript module titanium appcelerator


【解决方案1】:

要安装钛模​​块和合金小部件,现在我们有一个包管理器gitTio

gitTio 可以通过 npm (more info on installing) 使用以下命令安装:

npm install -g gittio

现在我们可以在gitTio database 上搜索各种可用的模块/小部件,例如 ti.imagefactory 模块在here 上可用。

最后,您可以使用gittio install 命令从项目的根目录安装模块。下面的示例用法:

gittio install ti.imagefactory

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多