This document provides answers and links to commonly asked questions about Studio.
- Studio hangs on launch
- Which version of Java should I use with Windows?
- Check Android and set Android SDK version
- How do I resolve this error: [ERROR] : invalid request
- Error during installation IDE recommended updates
- Setup Android SDK for Studio on Windows
- Install Appcelerator Studio on the Mac
- Appcelerator Studio is unable to install latest appc CLI due to proxy/network configuration issues
- Accessing the log from Studio
- Accessing the Daemon log from Studio
- Accessing the Log from the File System
- Fresh installation of Studio for Windows
- Installing x86 emulator packages
- How to enable analytics in a new Appcelerator project?
- Error: com.appcelerator.install.use.download.error
- How do I generate GUID on MAC
- No Android SDK found
- Install Appcelerator Studio on the Mac
- Appcelerator Studio is unable to install latest appc CLI due to proxy/network configuration issues
- Accessing the log from Studio
- Fresh installation of Studio for Windows
- Installing Studio on Linux
- Where can I find Titanium examples?
- Where can I download Studio?
- How do I configure Studio behind a proxy?
- How do I install Android Development Tools with Studio?
- How do I install Java Development Tools with Studio?
- How do I extend Studio?
- Can I add source control to Studio?
- How do I configure Studio's error reporting?
Studio hangs on launch
Studio can hang for three common reasons: you may be using the wrong version of Java,, the version of Node.js is either out of date or beyond what is currently supported, or you're not logged in to an Appc environment.
Java
Confirm that you are using a supported version of Java by visiting Titanium Compatibility Matrix#Javasupport.
- Check to see which version of Java is active:
java -version
- Check to see if Appc recognizes the correct version of Java:
appc ti info
- If there is any discrepancy, please install a supported version of Java.
Node.js
To confirm which version of Node.js is supported, visit Titanium Compatibility Matrix#Node.js.
- Check to see which version of Node.js is active:
node -v
- Check to see if Appc recognizes the correct version of Node.js:
appc ti info
-
If there is any discrepancy, please install a supported version of Node.js.
Appc login
To confirm you are logged into an Appc environment, follow these steps:
- Execute
appc logout
to confirm you are not logged in. - Execute
appc login
and provide your credentials. - Launch Studio.
It should be also noted that if you are logged into Appc environment on another machine, Studio will hang on the launch screen. Use the steps above to log in/out.
Which version of Java should I use with Windows?
The JDK needs to be 32bit whether Windows running 32 or 64 bit.
Check Android and set Android SDK version
You can see which ones you have installed using appc ti info -t android
(Android Platforms) and select the one to use via tiapp.xml
. It will default to 21 atm. See Android SDK / Target Android Platform for more details.
How do I resolve this error: [ERROR] : invalid request
Please open your terminal and type: appc login. Login with your credential and restart Axway Appcelerator Studio.
Error during installation IDE recommended updates
Execute the following commands:
1
2
3
4
5
6
7
|
sudo rm -rf ~/.appcelerator sudo rm -rf ~/.titanium sudo npm uninstall -g titanium sudo npm uninstall -g appcelerator sudo npm install -g appcelerator appc use latest appc setup |
Setup Android SDK for Studio on Windows
- Download the Android SDK manually.
- Move the downloaded file in
C:
directory. Go to the Android SDK > tools and click on Android and select all tools, Android-6, and Extra folder then install those packages. - Setup Android SDK via the command prompt:
appc ti config android.sdk /<SDK location>/
appc ti setup android
- Restart Windows.
Install Appcelerator Studio on the Mac
-
Download node.js and install it.
-
Install Appcelerator CLI via the terminal:
sudo
npm
install
-g appcelerator
appc use latest
appc setup
appc login
- Download and install Studio . Installing Studio automatically installs all other prerequisite software.
Appcelerator Studio is unable to install latest appc CLI due to proxy/network configuration issues
- Open a terminal and execute this command:
appc use latest
- If you get the same error what you reported, verify your proxy configuration
by executing this command:
appc config get proxyServer
- If this proxy configuration command shows any configured proxy and it was
set unintentionally, you can remove it by executing this command:
appc config set proxyServer
- If there is no proxy configured but the issue still remains, it may be that your network firewall is not allowing accessing to Appcelerator Software Update site. Contact your network admin to unblock that site.
Accessing the log from Studio
In Studio, go to Help > Studio > View Log File. This will open the log file in an editor window where you can save the log info to a separate file.
Accessing the Daemon log from Studio
In Studio, go to Help > Studio > Generate Appc Daemon Dump. It generates the appc daemon dump and provide you the location for the generated file.
Accessing the Log from the File System
Current log file is located in the ../.metadata
directory in your workspace directory. The following lists the path for
various operating systems:
- Windows XP:
C:\Documents and Settings\username\My Documents\<Studio Workspace>\.metadata\.log
- Windows Vista/Windows 7:
C:\Users\username\Documents\<Studio Workspace>\.metadata\.log
- Mac OS X:
~/Documents/<Studio Workspace>/.metadata/.log
Fresh installation of Studio for Windows
If you download the Axway Appcelerator Studio and install it, the installation process will cover all the steps automatically. But, sometimes, the installation process may encounter an issue. If this is the case, it may be better to install all other prerequesities and then install Studio.
- Install 32bit Java. Review the info in Installing Oracle JDK for Windows setup.
-
Download node.js and install it.
-
Execute the following commands via the admin command prompt:
npm install -g appcelerator
appc use latest
appc config set proxyServer
null
appc setup
- Download and install Studio . Installing Studio automatically installs all other prerequisite software.
- Launch Studio.
Installing x86 emulator packages
Maximum versions of the Android API are available with Intel x86 emulators. Look for the "Intel x86 Atom System Image" in the Android SDK Manager.
Go to Android SDK > tools and click on Android and select all tools, Android-6, and Extra folder (Intel x86 emulator accelerator (HAXM)). Install those packages.
The x86 emulator may run faster than the standard ARM emulator but may show minor differences with the ARM emulator. Extra software is required to take advantage of the x86 emulator. See Run Apps on the Android Emulator in the Android Tools documentation for details.
The Extra software is Intel x86 emulator accelerator (HAXM).
How to enable analytics in a new Appcelerator project?
To enable analytics in a new Appcelerator project:
- In Studio, create a new Mobile Application (File > New Mobile App Project...).
- Make sure the Enable Appcelerator Services option in enabled in the New Mobile App Project dialog and select the appropriate organization from the Organization pop-up menu. The application is tied to the account and organization used to create it.
- Enter the rest of the required project information and click Finish.
- Build your application and deploy to devices to begin collecting analytics data.
Error: com.appcelerator.install.use.download.error
Please try following steps:
- Open terminal (Mac) or administrative command prompt (Windows) and type:
appc config get proxyServer
- After the first command has finished, execute this one:
appc config set proxyServer null
- Try logging in again and enter your credentials:
appc login
- Launch Studio and try to log in again.
How do I generate GUID on MAC
- Select your project.
- Open Studio terminal and execute:
uuidgen
- Copy the output and open
tiapp.xml
file. - Find
<guid>
tag and replace the value with the copied value from the terminal output. - Clean your project several times and build.
- If you still get the error, close Studio, reopen, and build again.
No Android SDK found
- Go to your Android SDK folder/tools/android. This will open Android SDK manager.
- Download and install the recommended SDK tools and build tools.
- Restart your computer after the installation is done.
If the issue happens after installing Titanium SDK from IDE recommendation, it possible your SDK installation ran into some error during installation. You need to manually download the SDK and install it.
Setup Android SDK for Studio on Windows
- Download the Android SDK manually.
- Move the downloaded file in
C:
directory. Go to the Android SDK > tools and click on Android and select all tools, Android-6, and Extra folder then install those packages. - Setup Android SDK via the command prompt:
appc ti config android.sdk /<SDK location>/
appc ti setup android
- Restart Windows.
Install Appcelerator Studio on the Mac
-
Download node.js and install it.
-
Install Appcelerator CLI via the terminal:
sudo
npm
install
-g appcelerator
appc use latest
appc setup
appc login
- Download and install Studio . Installing Studio automatically installs all other prerequisite software.
Appcelerator Studio is unable to install latest appc CLI due to proxy/network configuration issues
- Open a terminal and execute this command:
appc use latest
- If you get the same error what you reported, verify your proxy configuration
by executing this command:
appc config get proxyServer
- If this proxy configuration command shows any configured proxy and it was
set unintentionally, you can remove it by executing this command:
appc config set proxyServer
- If there is no proxy configured but the issue still remains, it may be that your network firewall is not allowing accessing to Appcelerator Software Update site. Contact your network admin to unblock that site.
Accessing the log from Studio
In Studio, go to Help > Studio > View Log File. This will open the log file in an editor window where you can save the log info to a separate file.
Accessing the log from the file system
Current log file is located in the ../.metadata
directory in your workspace directory. The following lists the path for
various operating systems:
- Windows XP:
C:\Documents and Settings\username\My Documents\<Studio Workspace>\.metadata\.log
- Windows Vista/Windows 7:
C:\Users\username\Documents\<Studio Workspace>\.metadata\.log
- Mac OS X:
~/Documents/<Studio Workspace>/.metadata/.log
Fresh installation of Studio for Windows
If you download the Appcelerator Studio and install it, the installation process will cover all the steps automatically. But, sometimes, the installation process may encounter an issue. If this is the case, it may be better to install all other prerequesities and then install Studio.
- Install 32bit Java. Review the info in Installing Oracle JDK for Windows setup.
-
Download node.js and install it.
-
Execute the following commands via the admin command prompt:
npm install -g appcelerator
appc use latest
appc config set proxyServer
null
appc setup
- Download and install Studio . Installing Studio automatically installs all other prerequisite software.
- Launch Studio.
Installing Studio on Linux
Linux systems require the GTK windowing system, Node.js, and the JDK to be installed before running Studio.
- Review the info in Get started with Axway Appcelerator CLI.
-
Install CLI using the following commands:
sudo
npm
install
-g appcelerator
appc use latest
appc setup
-
Download and install Studio .
Where can I find Titanium examples?
Where can I download Studio?
- Log in to https://platform.axway.com.
- Expand the AMPLIFY menu and clicked on App Builder Studio.
- Download the installer or ZIP file for your operating system.
How do I configure Studio behind a proxy?
See Using Studio From Behind a Proxy for details.
How do I install Android Development Tools with Studio?
See Installing the Android Development Tools for details.
How do I install Java Development Tools with Studio?
See Installing the Java Development Tools for details.
How do I extend Studio?
See Extending Studio and select the document that is appropriate for your situation.
Can I add source control to Studio?
Yes. See Source Control for details on which source controls systems Studio can utilize.
How do I configure Studio's error reporting?
See Studio Error Reporting for details.