`
rensanning
  • 浏览: 3513333 次
  • 性别: Icon_minigender_1
  • 来自: 大连
博客专栏
Efef1dba-f7dd-3931-8a61-8e1c76c3e39f
使用Titanium Mo...
浏览量:37464
Bbab2146-6e1d-3c50-acd6-c8bae29e307d
Cordova 3.x入门...
浏览量:604269
C08766e7-8a33-3f9b-9155-654af05c3484
常用Java开源Libra...
浏览量:677956
77063fb3-0ee7-3bfa-9c72-2a0234ebf83e
搭建 CentOS 6 服...
浏览量:87221
E40e5e76-1f3b-398e-b6a6-dc9cfbb38156
Spring Boot 入...
浏览量:399787
Abe39461-b089-344f-99fa-cdfbddea0e18
基于Spring Secu...
浏览量:69055
66a41a70-fdf0-3dc9-aa31-19b7e8b24672
MQTT入门
浏览量:90447
社区版块
存档分类
最新评论

让Eclipse变成Titanium Studio

阅读更多
我们在开发Titanium Mobile的时候,一般都使用的官方提供的Titanium Studio,但是由于官方在Eclipse上做了二次开发,去除了一些Plugin,比如Ant等,当我们在开发的时候,如果总是在Titanium Studio和Eclipse之间进行切换,也很麻烦,所以是否有什么方法能让我们的Eclipse也支持开发Titanium应用呢?答案是:有!

Appcelerator 不仅公开了Titanium Studio,而且提供了Plugin的更新。(毕竟Titanium Studio的自动更新也是基于这个的嘛)。

以下是Titanium Studio Plugin的更新URL:
引用


这里建议大家使用Titanium Studio Stable Updates!

下边我们就一步一步的来看看如何导入Titanium Studio Plugin。

首先我们需要准备一个干净的Eclipse,这里我们从官网(eclipse.org)下载目前的最新版本3.7.1。

1、[Help] -> [Install New Software]


2、去掉【Group items by category】的选项后,在Work With出输入[http://preview.appcelerator.com/appcelerator/studio/standalone/update/stable/]后回车,选择Titanium Studio 和Titanium Studio Feature后点击[Next]


3、点击[Next]


4、选择[accept]后点击[Finish]


5、安装中。。。


6、安装完成后,需要重新启动Eclipse。当Eclipse重新启动后,就能看到aptana的开始页。同时,在左下角有[Sign in]连接。


7、点击[Sign in]连接后,弹出输入ID窗口


8、输入ID和密码后,点击新建,就可以看到能够新建[Titanium Mobile Project]了。点击[Next]


9、输入相关信息(这里由于没有安装ADT所以还不能选Android)后,点击[Next]


10、选择程序的类型后,点击[Finish]


11、恭喜你,到这里你就可以看到新建的工程了!!!

  • 大小: 6.1 KB
  • 大小: 22.6 KB
  • 大小: 23.1 KB
  • 大小: 8.7 KB
  • 大小: 43.1 KB
  • 大小: 15.5 KB
  • 大小: 6.3 KB
  • 大小: 42.6 KB
  • 大小: 16.2 KB
  • 大小: 16.7 KB
  • 大小: 44.5 KB
0
0
分享到:
评论
13 楼 q649916440 2018-01-22  
请问titanium项目如何转化成正常的eclipse或者Android studio项目呢
12 楼 stephenworld 2012-08-08  
对了,还有一个很菜的问题要问大大的,eclipse如何设置才能使titannium的代码能够像按alt+/自动代码提示呢?
11 楼 stephenworld 2012-08-08  
新版本JUNO依然找不到login登陆窗口,不过还是得感谢大大的关心和回复,我会常来学习的,呵呵~
10 楼 rensanning 2012-08-07  
以这种方式安装的Titanium Studio是不用登录的,不过你也可以点左下角的“Sign in”登录,参考文中“7、点击[Sign in]连接后,弹出输入ID窗口”。
9 楼 stephenworld 2012-08-07  
用Indigo版正常运行,感谢大大的帮忙~
8 楼 stephenworld 2012-08-07  
rensanning 写道
stephenworld 写道
一切都按照上面装好后,我的eclipse到了最后运行HELLOWORLD的时候,无论如何都弹不出手机模拟器,只弹了错误对话框,显示如下:An internal error occurred during: "Launching Titanium Android Emulator - kjljk(注:我随便起的项目名)".
org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I

请博主大大解答一下咯,感谢~

应该是Eclipse版本问题,建议你用Eclipse 3.7.2试试。



感谢大大的解答,我刚用最新版本juno装了一下,装完后找不到login登陆框呢,莫非最新版本的没有登陆框?
7 楼 stephenworld 2012-08-07  
rensanning 写道
stephenworld 写道
一切都按照上面装好后,我的eclipse到了最后运行HELLOWORLD的时候,无论如何都弹不出手机模拟器,只弹了错误对话框,显示如下:An internal error occurred during: "Launching Titanium Android Emulator - kjljk(注:我随便起的项目名)".
org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I

请博主大大解答一下咯,感谢~

应该是Eclipse版本问题,建议你用Eclipse 3.7.2试试。

6 楼 rensanning 2012-08-07  
stephenworld 写道
一切都按照上面装好后,我的eclipse到了最后运行HELLOWORLD的时候,无论如何都弹不出手机模拟器,只弹了错误对话框,显示如下:An internal error occurred during: "Launching Titanium Android Emulator - kjljk(注:我随便起的项目名)".
org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I

请博主大大解答一下咯,感谢~

应该是Eclipse版本问题,建议你用Eclipse 3.7.2试试。
5 楼 stephenworld 2012-08-06  
一切都按照上面装好后,我的eclipse到了最后运行HELLOWORLD的时候,无论如何都弹不出手机模拟器,只弹了错误对话框,显示如下:An internal error occurred during: "Launching Titanium Android Emulator - kjljk(注:我随便起的项目名)".
org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I

请博主大大解答一下咯,感谢~
4 楼 rensanning 2012-08-06  
Smile__LV 写道
当我进行完第二步之后 出现第三部有错 为什么啊
错误信息是
Cannot complete the install because of a conflicting dependency.
  Software being installed: Titanium Studio Feature 2.1.1.1343413207-7J7827f58TU-NMZa (com.appcelerator.titanium.studio.feature.group 2.1.1.1343413207-7J7827f58TU-NMZa)
......
]

Titanium Studio 2.0 之后需要Eclipse 3.7.2以上的版本。
3 楼 Smile__LV 2012-08-06  
当我进行完第二步之后 出现第三部有错 为什么啊
错误信息是
Cannot complete the install because of a conflicting dependency.
  Software being installed: Titanium Studio Feature 2.1.1.1343413207-7J7827f58TU-NMZa (com.appcelerator.titanium.studio.feature.group 2.1.1.1343413207-7J7827f58TU-NMZa)
  Software currently installed: Eclipse IDE for Java Developers 1.2.0.20090619-0620 (epp.package.java 1.2.0.20090619-0620)
  Only one of the following can be installed at once:
    Equinox Provisioning Metadata 2.1.0.v20110815-1419 (org.eclipse.equinox.p2.metadata 2.1.0.v20110815-1419)
    Equinox Provisioning Metadata 1.0.101.R35x_v20100112 (org.eclipse.equinox.p2.metadata 1.0.101.R35x_v20100112)
    Equinox Provisioning Metadata 1.0.100.v20090525 (org.eclipse.equinox.p2.metadata 1.0.100.v20090525)
  Only one of the following can be installed at once:
    Welcome Framework 3.4.100.v20110425 (org.eclipse.ui.intro 3.4.100.v20110425)
    Welcome Framework 3.3.2.v20100111_35x (org.eclipse.ui.intro 3.3.2.v20100111_35x)
    Welcome Framework 3.3.1.v20090805_35x (org.eclipse.ui.intro 3.3.1.v20090805_35x)
    Welcome Framework 3.3.0.v20090526 (org.eclipse.ui.intro 3.3.0.v20090526)
  Cannot satisfy dependency:
    From: Titanium Studio Feature 2.1.1.1343413207-7J7827f58TU-NMZa (com.appcelerator.titanium.studio.feature.group 2.1.1.1343413207-7J7827f58TU-NMZa)
    To: com.appcelerator.titanium.update [2.1.1.1341866487]
  Cannot satisfy dependency:
    From: Titanium Studio Update 2.1.1.1341866487 (com.appcelerator.titanium.update 2.1.1.1341866487)
    To: bundle org.eclipse.equinox.p2.metadata 2.0.0
  Cannot satisfy dependency:
    From: Eclipse IDE for Java Developers 1.2.0.20090619-0620 (epp.package.java 1.2.0.20090619-0620)
    To: org.eclipse.epp.package.java.feature.feature.group [1.2.0.20090619-0620]
  Cannot satisfy dependency:
    From: Eclipse IDE for Java Developers 1.2.0.20090619-0620 (epp.package.java 1.2.0.20090619-0620)
    To: org.eclipse.platform.ide 0.0.0
  Cannot satisfy dependency:
    From: EPP Java Package 1.2.0.20090619-0620 (org.eclipse.epp.package.java.feature.feature.group 1.2.0.20090619-0620)
    To: org.eclipse.platform.feature.group [3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ]
  Cannot satisfy dependency:
    From: Equinox p2 Provisioning 1.1.0.v20090605-1440-7u6Fb3FbPbJP5MjJjZgifk (org.eclipse.equinox.p2.user.ui.feature.group 1.1.0.v20090605-1440-7u6Fb3FbPbJP5MjJjZgifk)
    To: org.eclipse.equinox.p2.metadata [1.0.100.v20090525]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ (org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ)
    To: org.eclipse.ui.intro [3.3.0.v20090526]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7 (org.eclipse.platform.feature.group 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7)
    To: org.eclipse.ui.intro [3.3.1.v20090805_35x]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB (org.eclipse.platform.feature.group 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB)
    To: org.eclipse.ui.intro [3.3.2.v20100111_35x]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.0.I20090611-1540 (org.eclipse.platform.ide 3.5.0.I20090611-1540)
    To: org.eclipse.equinox.p2.user.ui.feature.group [1.1.0.v20090605-1440-7u6Fb3FbPbJP5MjJjZgifk]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.1.M20090917-0800 (org.eclipse.platform.ide 3.5.1.M20090917-0800)
    To: org.eclipse.platform.feature.group [3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.2.M20100211-1343 (org.eclipse.platform.ide 3.5.2.M20100211-1343)
    To: org.eclipse.platform.feature.group [3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB]
2 楼 rensanning 2012-05-17  
hhqqnu 写道
这个配置好是否可以不要登录也可以进行开发


参考这篇文章:http://rensanning.iteye.com/blog/1466109
1 楼 hhqqnu 2012-05-17  
这个配置好是否可以不要登录也可以进行开发

相关推荐

Global site tag (gtag.js) - Google Analytics