set up computer ** please be aware screenshots may not match **

Download SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **

If you can't read please download the document

Upload: lawrence-atkins

Post on 23-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

  • Slide 1
  • SET UP COMPUTER ** PLEASE BE AWARE SCREENSHOTS MAY NOT MATCH **
  • Slide 2
  • OVERVIEW Install Eclipse Install Android Software Development Kit (SDK) Install the JDK 7u9 if necessary Install Android plug-ins in Eclipse Create an Android Virtual Device (AVD) Start an Android Virtual Device (AVD) Start building Android apps!
  • Slide 3
  • INSTALL ECLIPSE Most students will have already downloaded and installed Eclipse. If not, please go here for a tutorial http://andrewmangle.com/eclipse-java-hello-world/ or directly to the PDF http://andrewmangle.com/wp-content/uploads/2011/09/Module-0-Eclipse-and- HelloWorld-Tutorial.pdfhttp://andrewmangle.com/eclipse-java-hello-world/ http://andrewmangle.com/wp-content/uploads/2011/09/Module-0-Eclipse-and- HelloWorld-Tutorial.pdf
  • Slide 4
  • GETTING THE SDK Go to http://developer.android.com/sdk/index.htmlhttp://developer.android.com/sdk/index.html Depending on your operating system, your Blue box may have different text. If you do not see your operating system, select other platforms Save it to the desktop so you can find the file.
  • Slide 5
  • INSTALLATION After running the installer click next. And next again till you get Choose Install Location. Install into the C drive For these purposes it will be called C:\android-sdk *At home when installing, wherever you install it make sure the path has no spaces for it will cause problems later down the line. After your done click next and install
  • Slide 6
  • INSTALLATION CONT. Click next and install it. After installation is complete click finish. The Android SDK Manager should put up next. ** If you do not have the most update-to-date JDK, you will get a warning. You will be directed to the Java downloads pages please download Java SE 7u9 (JDK) http://www.oracle.com/technetwork/java/javase/downloads/index.html *** Only do this step if you encounter the warning when installing the Android SDK ***
  • Slide 7
  • ANDROID SDK MANAGER In the manager, only check off the following and nothing else (For now, installing a lot of things will take to long to accomplish) Tools Android SKD Tools Android SDK Platform-tools. Android 4.1.2 (API 16) (Latest stable Android OS) Documentation for Android SDK SDK Platform Sample for SDK ARM EABI v7a System Image Google APIs (Need for using Google maps in your apps) Sources for Android SDK Android 2.2 (API 8) (Most common OS for now) SDK Platform Samples for SDK Google APIs by Google Inc. Extras Android Support Library Google USB Driver Package (Not compatible with Macs will not be seen in the next screen shot)
  • Slide 8
  • PAUSE Did you select more options than were recommended? Yes go back! This will make developing in Android more difficult as a beginner You can always go to the Android SDK Manager in eclipse to download more No excellent. Lets continue.
  • Slide 9
  • It should look like this when your done.
  • Slide 10
  • Your screen will list all of the options you select two slides earlier. The screen shot illustrates only the software I wanted to update. Please review the all the licenses and accept all (if you do not agree with the license, please to not press Accept) Press the install button - FYI This could take a LOOOOOONG time depending on your Internet download speed.
  • Slide 11
  • SETTING UP ECLIPSE
  • Slide 12
  • IN ECLIPSE GO TO HELP AND THEN INSTALL NEW SOFTWARE
  • Slide 13
  • In the work with section enter: ** You must be connect to the Internet ** https://dl-ssl.google.com/android/eclipse/https://dl-ssl.google.com/android/eclipse/ if https: does not work try http: Then click add In the next menu, type in the name Android (or whatever you want at home)
  • Slide 14
  • Then click the select all, and next button to continue
  • Slide 15
  • Once its done installing just restart eclipse. Next, in eclipse, go to window> preferences > android (Mac users Eclipse -> Preferences -> Android) And in the path, type in C:\android-sdk (or wherever you saved the android SDK folder.) (Macs will be different) Then click apply and then okay. ** This screenshot does not include Android 4.1.2 and Google APIs for 4.1.2. Your screen will ** Click next again. And accept the terms and license agreement.
  • Slide 16
  • SETTING UP THE AVD CREATING THE VIRTUAL DROID
  • Slide 17
  • In eclipse go to window> AVD Manager (or click on the Icon in Eclipse on your toolbar) Then click new. For name enter whatever name you like (Test for this example purpose). Then for target select Google APIs (Google Inc.) API Level 16 For SD card > size: you can enter 100 Mib (which is more than enough for most lightweight projects your working on) Lastly click create AVD
  • Slide 18
  • Should like something like this.
  • Slide 19
  • STARTING THE AVD (ANDROID VIRTUAL DEVICE) The AVD can now be started Select Test and press Start
  • Slide 20
  • STARTING THE AVD (CONTINUED) Press the Launch button
  • Slide 21
  • LOADING THE AVD 1 STEP
  • Slide 22
  • LOADING THE AVD STEP 2 STILL WILL TAKE A SUBSTANTIAL AMOUNT OF TIME 30 SECONDS TO 5 MINUTES You will want to keep the emulator (AVD) running during your Android development, so you only have to wait once. If you connect your Android-enabled device (phone/tablet), you can avoid this entire process.
  • Slide 23
  • LOADING AVD STEP 3 Continue to wait (My 2.8 GHz Intel Core 2 Duo with 4 GB of RAM took 3 minutes to load) SUCCESS!! Use your mouse to click the OK button and then press the home button (looks like a house)
  • Slide 24
  • SUMMARY You are ready to start developing in Android We have completed the following: Installed Eclipse (if necessary) Installed Android Software Development Kit (SDK) Install the JDK 7u9 if necessary Installed Android plug-ins in Eclipse Created an Android Virtual Device (AVD) Started an Android Virtual Device (AVD)
  • Slide 25
  • NEXT STEPS Try the Hello World Tutorial http://developer.android.com/training/basics/firstapp/index.html Well do a rock paper scissors program