User Tools

Site Tools


user:bkrishe3:portfolio:hpc2project6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:bkrishe3:portfolio:hpc2project6 [2013/11/20 17:55] – [Procedure] bkrishe3user:bkrishe3:portfolio:hpc2project6 [2013/11/20 18:11] (current) – [Procedure] bkrishe3
Line 1: Line 1:
 +=====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 [[http://linuxaria.com/article/how-configure-an-android-development-environment-on-linux?lang=en|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
 +<cli>
 +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.
 +</cli>
 +
 +  * 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 [[http://developer.android.com/sdk/index.html|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
 +<cli>
 +user@debian:/usr/local$ sudo chown -R user /usr/local/android-sdk-linux
 +</cli>
 +  * 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 
 +<code>
 +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 +</code>
 +  * to
 +<code>
 +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/andriod-sdk-linux/tools"
 +</code>
 +
 +  * 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
 +  * {{:user:bkrishe3:portfolio:androidsdkmanager.png?200|}}
 +  * 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