User Tools

Site Tools


user:bkrishe3:portfolio:hpc2project6

Objective

  • I wanted to right my own apps for a long time but never found the time to actually do it. Now that I have plenty of free time I'm going to try and right one

Prerequisites

  • If you want to go the acual site to see what you need it is here Installing Anroid IDE
  • These are steps for installing it into a Linux environment (I'm using Debian so my steps might be a little different)
  • Eclipse

Installing Android into Eclipse for Development

  • version 6 of java is recommended so in order to install it go to a command line and type
root@debian:/home/brett# apt-get install openjdk-6-jre openjdk-6-jdk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openjdk-6-jdk is already the newest version.
openjdk-6-jre is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  • I already have these packages installed but if you haven't it should only take about 15 minutes to install
  • You now have to download the android sdk from Developer Kit
  • now you have to untar it and copy it to /usr/local
  • there might be some permission issues with this so you now have to run
user@debian:/usr/local$ sudo chown -R user /usr/local/android-sdk-linux
  • this will fix any permission errors
  • now you have to add /usr/local/android-sdk-linux/tools to your path enviroment
  • to do this type sudo vi /etc/profile and change
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  • to
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/andriod-sdk-linux/tools"
  • After rebooting the system now go to the command line and type android to bring up the sdk manager
  • I clicked on all of the Android 4.* buttons like this
  • After that click on install and wait… it takes a while
  • Now install eclipse if not already installed then click on help→install new software
  • then click add it the right corner
  • input ADT PLUGIN for the name and https://dl-ssl.google.com/android/eclipse/ for the repository link
  • Then run thought next..next…next…finish if you get a security warning just click on ok
  • now restart eclipse and you should see a android icon in the hot bar
  • Now you can get started on making android apps
user/bkrishe3/portfolio/hpc2project6.txt · Last modified: 2013/11/20 18:11 by bkrishe3