2. For next few classes we are
going to learn basics to build
and Android App.
3. You need java platform to build Android
App with any IDE.
So if you don't have one:
Java JRE or JDK:
http://docs.oracle.com/javase/7/docs/webnotes/install/index.html
(sudo apt-get install openjdk-7-jre for Linux)
4. Problems?
Java JRE or JDK: check this out
http://docs.oracle.com/javase/7/docs/webnotes/install/
for Linux try something like:
tar xzvf ~/Downloads/jdk-7u<your version>-linux-x64.tar.gz
sudo mv jdk1.7.0_21/ /usr/lib/jvm/
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_<your
version>/bin/java 1
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_<your
version>/bin/javac 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0_<your
version>/bin/javaws 1
sudo update-alternatives --config java
sudo update-alternatives --config javaws
5. IDEs: Android Studio or Eclipse
(Android Development Tools plugin)
Eclipse – less bugs, but a bit tricky to install.(can
also be used for java development)
For new guys in Eclipse, better to install ADT
plugin which comes with eclipse and all settings
Android Studio – a lot bugs(yet), very easy to set
up, better app design tools, worse geo coordinates
tracking on virual device.
6. Eclipse ADT (for guys new to Eclipse):
http://developer.android.com/sdk/installing/installing-
adt.html#Download
Android Studio:
http://developer.android.com/sdk/installing/studio.html#Updating
Eclipse (and want to follow few steps of upgrading it on
slides below):
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-
developers/indigosr2
would recommend Classic:
(http://www.eclipse.org/downloads/packages/eclipse-classic-
422/junosr2)
7. Don't forget on Linux you need to
install IA32 library as well.
(sudo apt-get install ia32-libs).
8. Next few slides are for guys who
have Eclipse on their computer or are
not going to set up Eclipse ADT for
some reason.
32. Hopefully you are getting something like this.
Otherwise next to the Run button, press arrow,
then (Run Configurations) → (Target) → and
choose device you want to run.
33. Contact me if you have any
problems or edits you want to make
with this presentation.
www.facebook.com/vlad.kolesnyk