钛模块 imagefactory 不起作用 [英] Titanium module imagefactory won't work
问题描述
几个小时后,图像模块仍然无法工作,我希望在这里得到一些帮助.
After several hours, and still not working image module, I hope for som help here.
我正在尝试安装/使用 imagefactory 模块.1)我使用 Titanium studio 全局安装它(从 github 和 appcelerator 都尝试过)但是当我在终端('Titanium 模块')中查找模块时它没有显示出来,或者在我的 tiapp.xml 中尝试包含模块.
I'm trying to install/use the imagefactory module. 1) I installed it globaly using Titanium studio (tried both from github and appcelerator) but it doesn't show upp when I look for modules in the terminal ('Titanium module'), or in my tiapp.xml when trying to include the module.
插件自行安装在目录中
Titanium/
mobilesdk
modules
ti.imagefactory-stable <-- here
我试图将文件夹移动到文件夹
I tried to move the folder to the folders
Titanium/moduels/android/ti.imagefactory-stable
和
Titanium/modules/ios/ti.imagefactory-stable
然后它识别了模块,但是我收到了这个错误:
Then it recognized the module, but then I got this error:
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
非常感谢任何帮助,因为我现在有点卡住了......我也尝试在本地安装到项目中,但没有成功.
Any help is very appreciated since I'm kind of stuck right now... I also tried to install locally to the project without success.
推荐答案
为了安装钛模块和合金部件,现在我们有一个包管理器 gitTio.
To install titanium modules and alloy widgets, now we have a package manager its gitTio.
gitTio 可以通过 npm 安装(更多关于安装的信息),使用以下命令:>
gitTio can be installed via npm ( more info on installing ) using following command :
npm install -g gittio
现在我们可以在 gitTio 数据库 中搜索各种可用的模块/小部件,例如 ti.imagefactory 模块可用
Now we can search various modules/widgets available at gitTio database, like the ti.imagefactory module is available here.
最后,您可以使用 gittio install
命令从项目的根目录安装模块.下面的示例用法:
Finally you can install the module using gittio install
command form the root directory of your project. Example usage below :
gittio install ti.imagefactory
这篇关于钛模块 imagefactory 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!