Android Virtual Device Manager Mac



Question or issue in Android App Development:

For some reason, the OK button is not clickable when I try to create an AVD. Does anyone know what I’m doing wrong?

On my mac, I have installed the stand-alone Android SDK. Every time I want to use the AVD Manager, I have to execute the following on my terminal: monitor This command (being executed on the installed android sdk path) will open the Android Device Monitor and from here, I go to its menu bar and select Window Virtual Device Manager just to open. An Android Virtual Device (AVD) is a configuration that defines the characteristics of an Android phone, tablet, Wear OS, Android TV, or Automotive OS device that you want to simulate in the Android Emulator. The AVD Manager is an interface you can launch from Android Studio that helps you create and manage AVDs.

  • @VatishSharma I tried and discovered some troubles with such an approach. 1️⃣ I can run AVD in isolation from any project 2️⃣ the local.properties says explicitly: Do not modify this file - YOUR CHANGES WILL BE ERASED! ️ i tried anyway but the duplicate of existing device or a new AVD lands in the old location /Users/ms/.android/avd.
  • To launch a virtual device, you need to access the AVD manager. The problem is, you need to launch the Android Studio first to get access to the AVD manager. This is not a problem if you are developing apps.

How to solve this issue?

Solution no. 1:

Simply because CPU/ABI says “No system images installed for this target”. You need to install system images.

In the Android SDK Manager check that you have installed “ARM EABI v7a System Image” (for each Android version from 4.0 and on you have to install a system image to be able to run a virtual device)

In your case only ARM system image exsits (Android 4.2). If you were running an older version, Intel has provided System Images (Intel x86 ATOM). You can check on the internet to see the comparison in performance between both.

In my case (see image below) I haven’t installed a System Image for Android 4.2, whereas I have installed ARM and Intel System Images for 4.1.2

As long as I don’t install the 4.2 System Image I would have the same problem as you.

UPDATE : This recent article Speeding Up the Android Emaulator on Intel Architectures explains how to use/install correctly the intel system images to speed up the emulator.

EDIT/FOLLOW UP

Mac

What I show in the picture is for Android 4.2, as it was the original question, but is true for every versions of Android.

Of course (as @RedPlanet said), if you are developing for MIPS CPU devices you have to install the “MIPS System Image”.

Finally, as @SeanJA said, you have to restart eclipse to see the new installed images. But for me, I always restart a software which I updated to be sure it takes into account all the modifications, and I assume it is a good practice to do so.

Solution no. 2:

Had to restart the Eclipse after completing the installation of ARM EABI v7a system image.

Solution no. 3:

This can happen when:

  • You have multiple copies of the Android SDK installed on your machine.
    You may be updating the available images and devices for one
    copy of the Android SDK, and trying to debug or run your application in another.

    If you’re using Eclipse, take a look at your “Preferences | Android
    | SDK Location
    “. Make sure it’s the path you expect. If not, change
    the path to point to where you think the Android SDK is installed.

  • You don’t have an Android device setup in your emulator as detailed in other answers on this page.

Solution no. 4:

For Ubuntu and running android-studio run to install the packages (these are not installed by default):

Solution no. 5:

I had the same problem while creating AVD with 4.2.2 images, I resolved it by doing the following :

  1. Check if there exist a “default” folder in adt-bundle-windows-x86_64-20131030sdksystem-imagesandroid-17.

  2. If it exists then move the contents(downloaded system images) of the “default” folder to
    adt-bundle-windows-x86_64-20131030sdksystem-imagesandroid-17.

Hope this helps.

Solution no. 6:

I want to update this question with a screenshot of a recent Android Studio. It took a bit of poking around to find where to install new system images.

You get to the SDK Manager through one of two paths.
Option 1. Tools > Android > SDK Manager
Option 2. Android Studio > Preferences > Appearance & Behavior > System Settings > Android SDK (This is for Mac; adapt for others.)

In the pane “SDK Platforms,” check the “Show Packages” box to see the system images.

Select the ones you want, click “Apply” and voilà!

Solution no. 7:

I had to move the folders inside a folder named “default” to the android-## folder so Eclipse could see the images.

Solution no. 8:

There is a new possible error for this one related to the latest Android Wear technology. I was trying to get an emulator started for the wear SDK in preparation for next week. The API level only supports it in the latest build of 4.4.2 KitKat.

So if you are using something such as the wearable, it starts the default off still in Eclipse as 2.3.3 Gingerbread. Be sure that your target matches the lowest possible supported target. For the wearables its the latest 19 KitKat.

Good Luck!

Which is one of the best platforms for developing mobile apps? Android is the answer – a free and open source platform and was built on Linux. It is one of the best open source platforms available for creating apps on mobile devices while offering an exclusive stack that includes operating systems and middleware. So we will take you through some of the advantages of Android app development:


Open source: Since it is open source, you can easily get a grip of the Android software development kit and here you need not fret about the royalty or license costs. Also, for this very reason, the developers can always get help from the vast Android community out there for any concerns with their existing project or for any of the upcoming projects. This is why Android is one of the best choices for large enterprises, wireless operators, device manufacturers, and others.

The user interface that can be customized: The beauty of an app is in its user interface – which will determine whether your app is here to leave or stay. As you might be aware, being customizable is one of the best parts of an Android app – you can custom Android apps based on your business requirements. So it gives developers an option to experiment with their creative and innovative ideas for building apps that are highly interactive and excellent.

alsoRead

With less investment, gain higher ROI: As we discussed, the Android Software Development Kit is available for free, which means that there are lesser development costs. The distribution might cost a bit as the developers are required to pay a one-time registration fee for the same. Once the distribution has been successfully accomplished, developers can get it built and tested on any smartphones, with less investment and thereby bringing in more user engagement.
So these are some of the important advantages of having an Android app developed for your business.

Now, let us learn more about developing Android apps.
It is found that Eclipse is one of the best available tools for Android app development.

Before we Take you Through the Detailed steps, Here is a Brief on that:

To begin with, we start with an Android development environment. This should be done carefully so as to avoid any kind of complications, which might emerge in the long run. You would need tools, such as Android SDK, Eclipse Development Tools, Eclipse IDE for Java Developers, Eclipse Plugins and Java JDK for creating the development environment.

alsoRead


We would be taking you through the detailed steps, but still, if you have any doubts, you can always find relevant videos on YouTube, where you would be taken through the step-by-step guide for installing the development environment.

Once the development environment is ready, next you have to configure Android SDK. The time taken for configuring this SDK would depend upon how fast your internet connection is. Next, we set up the Eclipse IDE. Here, you would have to download and install the updated version of Eclipse on your system. Just like you install any other app, you can install Eclipse as well.

You are not yet ready to start with the development process. So next, you have to set up the Android Development Tools plugin, which initiates the development process. This can be done from within the Eclipse interface by going to ‘Help’ where you need to select ‘Software Updates’ and then click on “Install New Software”. So with this, you will get the much-needed plugin in Eclipse installed, enabling app development.

Once done, you need to first create a virtual device, which will assist you with app testing, for each app that you develop. This can be done from Android AVD Manager through Eclipse, where you can create a virtual device on the basis of your preference. Now, you have done everything you need to create an Android app within the Android development environment. All you have to do is create the code for your required Android app. Do not forget to save the projects that you have created using Ellipse – give a name to the project that you developed using Ellipse. With this, all the files would be stored for any future modifications as required.

You can export the Android app in the .apk format from Ellipse directly. Install it on your phone and start testing. This is Android app development in Eclipse precisely.

But let us take a better look at it.

So here, we will take you through the step-by-step Guide to Android Development with Eclipse:

Obtaining the Android SDK

As we discussed, we start by obtaining the Android Software Development Kit (SDK). We can do this by visiting the SDK download site: http://developer.android.com/sdk/index.html
Scroll down to the bottom of this web page, where you will find ‘Download the SDK Tools’ button. Select it.
Here, you will open a file, which needs to be saved.

Installing the Android SDK

Mac

Now, you have saved the file that was downloaded. Open this.
It will open in an executable format, advising you about the installation process.
Once you reach the install location screen, choose a location you are bound to remember as you will need this throughout.

Opening the Android SDK Manager

Now, next, you should select the latest version along with the additional SDK tools. This will help you build apps in any desired version of Android.
Next, you open the folder into which the SDK was installed. Here, you will find an executable format, referred to as SDK Manager, which should be opened.
Here, you will see a window, from which you can select various Android versions for which you would be developing your app.

Installing Android Version and add-ons for SDK

Now, you have to select the ‘tools’ and ‘Android 4.4.2 (API 19)’ checkboxes. In the ‘Extras’ selection, you can always choose Android tools if you want additional of these. Here, you would be requested to accept the terms and conditions from Android. And once you have accepted these, the SDK will be installed.
Based on your internet connection, as we discussed, it might take time. Now, you have the Android SDK installed.

Android Virtual Device Manager Mac Pro

Next, Obtaining Eclipse IDE

The tool for developing our app is Eclipse. As we discussed, it is one of the most preferred Android development environments. Also, the interesting fact is that it supports tools from giants, such as Google.

Start by downloading Eclipse from the site: http://www.eclipse.org/downloads/packages/eclipse-…
Now, search the link for your operating system and the 32/64 version. Here, you save the compressed downloaded file.

Running Eclipse the First Time

There is no specific installation required for Eclipse. It comes as a folder, which has all necessary files and settings, which can be run from the Eclipse folder directly. The only thing you should be careful is to put it in a safe place with other apps.
Ensure that you have downloaded the Eclipse file into a safer place where the program can be kept. Here, open the extracted folder, where you can open the executable ‘Eclipse’.

Adding ADT Plugin Repository

Android Virtual Device Manager Mac Os

This plugin, Android Development Tool (ADT) was specially created for Eclipse. It helps to increase productivity and makes integration with Android work environment easier. We use it by adding the Eclipse plugin repository where all the updates will be saved.


Within the Eclipse app menu, go to ‘Help’ where you select the ‘Install New Software’. Then, click on the “Add …” button. Now, you will see a new window. Assign a name to the repository – ‘ADT Repo’. Now, save it to the location: http://dl-ssl.google.com/android/eclipse/.

Next, click ‘OK’ button.

Installing the ADT Plugin

Android virtual device manager mac shortcut

We have reached the stage where the plugin repository has been set up. Next, we install the plugin from it. Now, you will find the ‘Install Software’ screen, where you can select the repository you created from the ‘Work with’ selector.

From the options listed, choose the ‘Developer Tools’. Then, click ‘Next’ and agree to the conditions. Next ‘Finish’ and it will install. Based on the speed of your internet connection, the time for the installation will vary.

Accessing ADT Plugin Preferences

It is required that you restart Eclipse after installing the ADT plugins. This is important before we move on with the next steps. For Windows, once you restart Eclipse, you click ‘Window’ in the app menu.
For Mac/Linux, once you restart Eclipse, click ‘Eclipse’ within the app menu.

Now, select ‘Preferences’. Here, go to the left side, where you will find the ‘Android tab’, which you select along with its corresponding drop-down menu. Here, you have arrived at the ‘ADT Preferences’ screen. Now, you can change the ‘setting’ – remove the SDK and choose from the editor the one that fits into your business needs.

Setting up the ADT Plugin

On the right side of the screen, click ‘Browse’. Now, search for the folder where you had the Android SDK installed and select this. Next, hit the ‘Apply’ button on the ‘Preferences’ screen. Here, provided if you have followed all the above steps perfectly, you would see the Android version you had installed earlier.

If you do not see it, go on and reselect the folder, which contains folders including ‘build tools, platforms, add-ons, and others’. Now click the ‘OK’ button and restart ‘Eclipse’.

Accessing ADT Android Virtual Device Manager

For testing your app, you would need to add the ‘Android Virtual Device’, if there is no personal device on which you can test this. Within the app menu, you can select ‘Window’ and then “Android Virtual Device Manager”. This is where you can create new ‘Devices’.

Adding ADT Virtual Device

Here, click the ‘New …’ button, which you will find toward the right side. Now, give your device a name, for example, “AVD Name”. Next, you have to checkmark ‘Use Host GPU’.
All the other options are left to the user discretion, which you can choose based on your preferences. Once done, go on and hit ‘OK’.

By the above step-by-step Guide to Android development with Eclipse ,it’s easy for you to produce a customized environment.

Now, you have an environment ready for developing an Android app. Once you have installed the Android SDK, Eclipse and ADT Plugin, you can create your first application. For guidance, visit https://developer.android.com/training/basics/firs…

Do you need any help with developing apps? Reach out to us.

Acodez is a web design and development company, offering all kinds of web design and development solutions at affordable prices. We are also an SEO agency offering inbound marketing solutions at affordable prices. For further information, please contact us today.

Looking for a good team
for your next project?

Contact us and we'll give you a preliminary free consultation
on the web & mobile strategy that'd suit your needs best.

Contact Us Now!