1,234
edits
Changes
→Part A: Creating your First Android Studio Project
* For the App name enter "MAP524 Lab 2" or "DPS924 Lab 2".
* You can now create a default Android Studio app with just a few clicks of the mouse. All the code will be automatically generated. Click Next.
* On the next screen you can set the Minimum SDK to API 15 for Phone and Tablet. Do not set up anything for TV, Wear or Glass. That will come later. Click Next twice then click Finish.
* Your app should now be successfully built by Gradle.
* Now you can create an AVD using the AVD Manager. Create an AVD for the Nexus4 Nexus5 phone. The target and Platform should be Android 4.4.2Marshmallow, API level 1923. The CPU/ABi ABI should be x86x86_64.** You will need to download the emulator image if you haven't done that earlier.* You can now start your AVD. The first time you run it - it will take longer to start, that's normal.* Take a screenshot of the AVD by first bringing up the using Android DDMS window pane and then clicking on Monitor. Once you select your device the camera iconwill be enabled. Note: if Notice how much larger the image screenshot is all black then edit your AVD and disable GPU acceleration and take a second screenshot. This time it should workthan the emulator screen.Why is that?
* Finally, install and run your app by clicking the "Run" icon on the top tool bar. NOTE: The first time you run you'll notice that Gradle and a few other components of Android Studio may be updated by automatic downloads of newer versions.
* When your app runs correctly make the following modifications to it: