2015年12月8日 星期二

Install Android Studio on Ubuntu 14.04.2 LTS

Ubuntu 14.04.2 LTS

sudo apt-get install default-jre

I got this when trying to install Android Studio:

JDK Required: 'tools.jar' seems to be not in Studio classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
It can be fixed by install JDK(I thought I already did? But I searched all the package installed but there's no tools.jar.) and export the JAVA_HOME.

Java SE Development Kit 7 - Downloads | Oracle Technology Network | Oracle
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html


Installing the JDK Software and Setting JAVA_HOME (Using the GlassFish ESB Installation CLI)
http://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/

Download the JDK from Oracle.
mkdir -p  /usr/java;
cd /usr/java ;
sudo tar xf ~/Downloads/jdk-7u79-linux-x64.tar.gz ;
export JAVA_HOME=/usr/java/jdk1.7.0_79;

Using the Emulator | Android Developers
http://developer.android.com/tools/devices/emulator.html#vm-linux

Download Android Studio and SDK Tools | Android Developers
http://developer.android.com/sdk/index.html

Download Android Studio and unzipped, and enter the directory. Run the following command to start the installation of Android Studio:
cd bin;
./studio.sh

DragonBoard 410c: Module 3 Setting up Your Developing Environment
https://d396qusza40orc.cloudfront.net/phoenixassets/internet-of-things-history/C2M3-ExploringAndroidStudio.pdf



沒有留言: