14 May 2015

Emulator not started in Android Studio

As you installed the Android Studio and started making your first app, you may have realized that the emulator won't start. This is because of lack of some libraries or drivers.
The solution to this problem is.

Step 1 : Open the Android SDK manager. Click on Tools->Android->SDK Manager from the menu bar.
android studio

Step 2 : Select the packages as shown in the image below. All the packages are not shown in the image below.
packages downloaded
The packages to be chosen are:
  • Android TV ARM EABI v7a System Image (Important)
  • Android TV Intel x86 Atom System Image (Important)
  • ARM EABI v7a System Image (Important)
  • Intel x86 Atom_64 System Image (Important)
  • Intel x86 Atom System Image (Important)
  • Android Support Library (Important)
  • Intel x86 Emulator Accelerator HAXM (Important)
  • Google USB Driver Revision 11 (Optional)
Step 3 : Click Install by accepting License after checking all packages on the left.
all packages

Step 4 : Run the project.

Choose the device and click Box besides Device. Do not click OK.
choose emulator

Step 5 : Choose Nexus5 API  OR Nexus One and click Edit (pencil shaped icon).
edit device

Step 6 : Give a name to your emulator. Go to Advanced Settings.
name emulator

Step 7 : Choose Appropriate RAM and Internal Memory,External Memory,and check on Keyboard Input. Then click Finish.
avd
 Now run the application with your newly defined emulator.

Stay Tuned with Made In Android

Previous Page Next Page Home

No comments:

Post a Comment

Top