Open main menu

CDOT Wiki β

Changes

MAP524/DPS924 Lab 2

102 bytes removed, 09:09, 18 September 2015
Part A: Creating your First Android Studio Project
* 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 phone. The target and Platform should be Android 4.4.2, API level 19. The CPU/ABi should be x86. Set your AVD scaling to "2 pixels on device = 1 pixel on screen" - this will make your AVD half size.
* You can now start your AVD.
* Take a screenshot of the AVD by first bringing up the Android DDMS window pane and then clicking on the camera icon. Note: if the image is all black then edit your AVD and disable GPU acceleration and take a second screenshot. This time it should work.