Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Application Development with Maven

You're reading from   Android Application Development with Maven Learn how to use and configure Maven to support all phases of the development of an Android application

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781783986101
Length 192 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Creating an AVD

Before running any application, you have to create an Android Virtual Device (AVD), a kind of software emulator for Android device. Alternatively, you can run directly on a physical device (phone, tablet, and watch), which is actually faster. However, creating AVD instances allows you to test your application in a variety of configurations (OS version, screen size, memory, and so on) which is almost impossible to do with real devices. You can perform this operation via the Graphical User Interface (GUI), or in command line. Both produce the same result.

With the GUI

To run the AVD Manager in windows, you need to execute the AVD Manager.exe file located in the $ANDROID_HOME root; Linux users need to navigate to their SDK's tools/ directory and execute:

$ android avd

When you see the dialog—the list probably contains no emulators – click on New to add a new AVD. Fill out the fields relating to the device you want to emulate, as shown in the following screenshot...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image