Open main menu

CDOT Wiki β

Changes

MAP524/DPS924 Lab 1

17 bytes added, 17:42, 1 July 2015
Part C: Start an Android Virtual Device (AVD) and install your app.
<pre>adb install build/outputs/apk/GradleProject-debug.apk</pre>
<li>Now that our app is installed, we should be able to run it. Click on the app icon in the AVD to execute it.
<li>Modify your app by editing your HelloActivity.java file and change the text to be displayed to "Hello Senecamy name is Andrew Smith". You'll find your HelloActivity.java inside your project's java/org/hello folder.</li>
<li>Back in your apps project directory rebuild your app as in step B7.</li>
<li>Try to install the app using the adb command as in step C4. You should get an error message telling you that the app is already installed.</li>