Issue
I'm trying to run my new Project in Android Studio. I want to run it on emulator. I created the new virtual device but Android Studio doesn't see this device. I created ~10 devices with various configuration and problem still exists. My project was created on API 23. When I run AVD Manager from sdk folder it showing up every device that I created... Below I attach the screens of this problem. Can someone help me?
p.s. When I changed the target in 'Edit configurations', then my project works, but I would to have a opportunity to test it on various configurations without edit configurations all the time..
Solution
As there are several sources that explain how to properly setup a AVD - android virtual device, this might be a good idea to check official docs here.
The basic steps:
- In Visual Studio select Android -> AVD Manager.
- In AVD Manager press "New".
- Enter a device name and select a target. Please use Android 2.3.3 or newer. Older versions are not stable and might not work.
- Press "Create AVD"
- Press "Start"
- Wait till your device starts up.
If you do get into "no android devices found" on the AVD manager you would want to retrieve some more info with the following steps:
- Open command-line tool.
- Go to platform-tools directory in your Android SDK directory (C:\Program Files (x86)\Android\android-sdk\platform-tools, )
- Run the
adb devices
command.
Credit goes to this article
The output might give a clue regarding the cause. In your case i was able to find the following post on SO that deals with similar issue, review it here!.
Answered By - sup4eli
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.