Titanium模块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中它没有显示upp试图包含该模块。
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.
该插件将自己安装在目录中
The plugin installs itself in the directory
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安装(更多信息安装)使用follo wing命令:
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
这篇关于Titanium模块imagefactory不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!