Building and Running Projects from the Command Line:
You should also be able to run from the emulator from the command line specifying an AVD you created by name:īack to the top. Once you have created several AVDs you will have a list as shown and you will be able to start the emulator for the selected AVD from Start.
Additional attributes are screen resolution, SD card size and whether you want to save snapshots of running instances of the emulator (to save time when restarting the emulator). You give the new AVD any name but must select a target platform you've installed previously.
From the Android SDK and AVD Manager: again select New. To run the emulator one must create AVDs specifying attributes and platform API level. If you'll be using Google APIs like Google Maps, also get the Google Third Party Add-on for same API Levels Create AVDs (Android Virtual Devices) This will start the Android SDK and AVD Manager:įrom Available Packages select at least the last two or three Android Platforms (e.g. Note: from here on we will be running android tools from the command line (open Command or Terminal window) Complete installation of Android Platforms and Add-ons Or My Computer - > Properties - > Advanced -> Edit Windows Windows : modify the PATH variable adding : \tools \platform - toolsįrom either Control Panel -> System -> Advanced -> Env Variables bash_profile or equivalent :Įxport PATH = $PATH :/ tools :/ platform - tools