Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

After several hours, and still not working image module, I hope for som help here.

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

and

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
536 views
Welcome To Ask or Share your Answers For Others

1 Answer

To install titanium modules and alloy widgets, now we have a package manager its gitTio.

gitTio can be installed via npm ( more info on installing ) using following command :

npm install -g gittio

Now we can search various modules/widgets available at gitTio database, like the ti.imagefactory module is available here.

Finally you can install the module using gittio install command form the root directory of your project. Example usage below :

gittio install ti.imagefactory

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...