Start Android Development

As of Winter 2013, CISC 325 will investigate tablet development using the Asus Nexus 7 and Android Developer Tools.  The following is a step-by-step how-to for configuring your work environment.

Please note that these steps are already complete in the CASLab computing labs in Goodwin Hall 248 and Walter-Light Hall 310.

  1. Download the Android ADT Bundle for your operating system.
    1. Be sure to download the correct version of the ADT Bundle for your OS.  For Windows, this will be either 32-bit or 64-bit.  To verify the correct version, click on Start ->   Right-click on Computer -> Select Properties. You will see something similar to this:
    2. Following the link above, download the correct version of the ADT:
  2. If you are using Windows, download the Nexus 7 drivers from Asus.  They are available here.
  3. Open explorer to your downloads directory and select adt-bundle-windows-x86_64.zip or adt-bundle-windows-x86_32.zip depending on your OS (see 1A)
  4. Extract the zip file to c:.  If you are using the built-in Zip tool, right click on the file and select Extract All… and change the destination directory to c:  Note that the ADT Bundle has many parts.  This step will take a while.
  5. Unzip the Asus drivers.  The driver file is called usb_driver_r06_windows.zip.  Unzip the file to c:adt-bundle-windows-x86_[64 or 32]
  6. Next, we will install the correct Nexus 7 driver for Android development.  If you are using a QSC-supplied Nexus 7, it will already be in development mode.  In this case, with the drivers unpacked, plug in the Nexus 7.
  7. Start -> Computer, right-click on Manage -> Device Manager.
  8. Right-click on Nexus 7 and select “Update driver software”
  9. Browse to C:adt-bundle-windows-x86_64usb_driver, click Next.  You should be prompted for the following: Say install.
  10. When you are finished installing the driver, Device Manager should look like this:
  11. At this point, the ADT tools are in place and the Nexus 7 drivers are installed.  It’s time to run Hello World on the Nexus 7!
  12. Browse to  c:adt-bundle-windows-x86_[64 or 32]eclipse and right-click on the eclipse executable, select “Send to” -> “Desktop (create shortcut)”
  13. On your desktop, rename the new Eclipse shortcut to “Android Development”
  14. You will be prompted to select a Workspace for the Android Developer Tools.  If you have multiple versions of Eclipse installed, we recommend a new workspace.  We have selected c:Users<your home directory>Android in this example.
  15. With ADT running, we suggest opening the following tutorial from Gooogle.  Follow steps 1-7.
  16. Now your first Hello World program should be ready.  before we run it, we must first install a few more Android Development Tools.  We do this through ADT by clicking the Android SDK Manager button.
  17. Select Android Tools, Android 5, 4.4, 4.3, 4.2, 4.1.2, 4.0 and 2.3.3.  Then click “Install packages” and agree to all of the licenses.  This will download and unpack all SDK tools needed to run your app on most common versions of Android.
  18. With the tools installed, you should now be able to run “My First App” on your Nexus 7.  To do this, click on the green play button “Run My First App”

Run App