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

让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  
这个配置好是否可以不要登录也可以进行开发

相关推荐

    Titanium Studio

    Titanium Studio 开发工具安装包,用于开发mobile程序,这是part04

    不用登陆直接打开Titanium Studio

    NULL 博文链接:https://rensanning.iteye.com/blog/1466109

    MaterialControls:Titanium Studio 的材料设计控件

    MaterialControls 是一个专门为 Titanium Studio 开发的库,它遵循 Google 的 Material Design 指南,为应用程序提供了一套与 Google 的设计哲学一致的用户界面(UI)控件。Material Design 是一套全面的设计语言,...

    Titanium资料

    这个“Titanium 资料”压缩包包含了几个关键的学习资源,帮助开发者深入理解和掌握 Titanium Studio 开发工具以及 Titanium 的核心 API。 首先,`API_UIViewClass.pdf` 涉及到的是 Titanium 中的 UIView 类。UIView...

    Android Phone book

    首先,让我们了解Titanium Studio。这是一个基于Eclipse的集成开发环境(IDE),由Appcelerator公司开发,专为开发跨平台的移动应用而设计。它支持iOS、Android以及Windows Phone等多个平台,通过JavaScript API提供...

    Titanium环境搭建

    在Titanium Studio中,你可以利用其内置的模拟器或连接实际设备进行应用的调试和测试。 请注意,随着软件更新,这些下载链接和具体步骤可能会有所变化。建议定期检查官方网站获取最新的安装包和指南,以确保开发...

    Titanium plugin开发初探

    - IDE:推荐使用 Appcelerator Studio 或 Visual Studio Code,它们提供了良好的 Titanium 支持。 **3. 创建插件项目** 创建插件项目通常包括以下步骤: 1. 使用 `titanium create` 命令行工具生成新项目,选择 ...

    Titanium中文版开发手册

    **Titanium中文版开发手册** Titanium中文版开发手册是一份专门为中文用户编译的开发者指南,旨在帮助熟悉中文的开发者充分利用Titanium框架进行移动应用的开发。Titanium是一个开源的JavaScript平台,允许开发者...

    TitaniumBackup_6.0.5.1

    《TitaniumBackup_6.0.5.1:专业版的安卓备份与恢复解决方案》 在安卓设备的管理和维护中,数据备份与恢复是至关重要的环节。TitaniumBackup_6.0.5.1,这款专业版应用,以其强大的功能和高效的操作,为用户提供了...

    Titanium Mobile API

    这些模块共同构成了一个强大的框架,让开发者能够轻松创建功能丰富的移动应用。 #### 三、Appcelerator Titanium API Reference 文档结构 Appcelerator 提供了详尽的 API 参考文档,其中包括了 Titanium Mobile ...

    [Titanium] Appcelerator Titanium 移动应用开发教程 (英文版)

    [Packt Publishing] Appcelerator Titanium 移动应用开发教程 (英文版) [Packt Publishing] Creating Mobile Apps with Appcelerator Titanium (E-Book) ☆ 图书概要:☆ Develop fully-featured mobile ...

    TITANIUM智能手机应用开发教程

    - 安装IDE:推荐使用Visual Studio Code等支持TITANIUM插件的IDE。 2. **项目创建**: - 使用命令行工具创建新的项目。 - 设置项目的基本配置,如项目名称、版本号等。 3. **UI设计与布局**: - 使用XML定义...

    titanium 打开本地网络

    Titanium 是一个强大的开源JavaScript框架,专为开发原生移动应用而设计。它允许开发者使用JavaScript编写代码,同时能够利用iOS、Android等平台的原生功能。在涉及到“titanium 打开本地网络”的话题时,我们主要...

    Titanium Backup_3.7.4捐赠完全版

    Titanium Backup_3.7.4捐赠完全版

    TitaniumMobile开发跨平台iOS和Android应用

    4. **强大的IDE:** Titanium Studio提供了全面的开发环境,包括代码编辑、调试工具以及构建和发布功能。 5. **原生性能:** 尽管使用Web技术开发,但Titanium Mobile仍能实现接近原生应用的性能。 **劣势:** 1. ...

Global site tag (gtag.js) - Google Analytics