zoukankan      html  css  js  c++  java
  • Titanium系列--Titanium的简介、Titanium Studio安装和配置(一)

    1. 是什么?--是一个可以通过javascript,html,css等web技术开发移动App的的开发框架,媲美原生App体验和性能,目前支持IOS和Android平台。

    2. 为什么能做这个? --Titanium开发工具Titanium Studio,引入JavaScript解释器,根据JavaScript代码,生成原生工程(IOS||Android),然后打包成原生应用。

    3. 顺便提下phoneGap,很多人比较Titanium和PhoneGap,PhoneGap不负责UI层,仅提供了WebView浏览器包装Web App而已,Titanium则提供原生UI和数据通信。

    4. 配置Titanium开发环境

    --refer to http://docs.appcelerator.com/titanium/latest/#!/guide/Setting_up_Studio-section-37540095_SettingupStudio-installingstudio

    --到官网注册,激活账号,根据不同平台下载,我下载的是Linux 64位 100多mb

    --开始配置 

    System Requirements

    Your system environment must meet the following requirements to run Titanium Studio:

    Operating System: A recent version of Windows, OS X or Ubuntu
    Memory: 2 GB RAM (available memory, rather than total memory)
    Java Runtime: Oracle JDK (no other brand of Java is suitable)  (只能是 Oracle JDK )
    Node.js: required for the Titanium command-line tools like the CLI, Alloy and Node.ACS.

    值得说明的是:  内存要足够大。 需要有2g的空闲内容。 而且只能是Oracle JDK ( 来这里下载 linux 64位包:http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz )

    Node.js 0.10.13 or later.

    on Linux, Titanium Studio also requires the GTK windowing system

    Installing Titanium Studio

    The installation procedure for Titanium Studio differs depending on the platform.

    Linux
    Once downloaded, open the Titanium Studio .zip archive file by right-clicking on it and choosing the Extract Here menu option
    Open the resulting folder, and run the TitaniumStudio executable to launch the application.

    Logging in to Studio
    On initial launch, Studio asks you to provide your Appcelerator Network account credentials. Studio requires an internet connection to authenticate the user to the Appcelerator cloud

    Enter your Appcelerator Network credentials.
    Optionally click Proxy Setup... to configure your proxy settings if needed. (我把chrome中的SSL代理VPN关闭,就能登陆了,不用输入Proxy Settings)
    Click Login.
    Studio remembers your login credentials until you sign out of Studio.

    配置升级的步骤:

    1 Window -> Preferences

    Studio -> Platforms

  • 相关阅读:
    Linux下环境变量配置方法梳理(.bash_profile和.bashrc的区别)
    Mac下安装配置Python2和Python3并相互切换使用
    精通Python自动化脚本
    idea之Git
    python面向对象之:细分类的组成成员
    new string("abc")创建了几个对象
    进程和线程的主要区别
    Leetcode 572 另一个树的子树
    Leetcode 二叉树的坡度
    Leetcode 559 N叉树的最大深度
  • 原文地址:https://www.cnblogs.com/inya/p/4108008.html
Copyright © 2011-2022 走看看