Bug 38087 - Xamarin 4.0.1.81: Android VS searching AVDs in the wrong folder
Summary: Xamarin 4.0.1.81: Android VS searching AVDs in the wrong folder
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: Normal normal
Target Milestone: 4.2.0 (C8)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-01-27 09:36 UTC by softlion
Modified: 2016-09-06 17:58 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description softlion 2016-01-27 09:36:20 UTC
If you look at the diagostic log below, you'll see that the search path for avd is
[D:]:                     avd watcher *.ini path: 'C:\Users\benja\.android\avd'

My avd are located in C:\dev\android-avd\.android\avd, this is the folder that is used by the Android AVD manager.
It should also be the folder used by the Xamarin Android Extension.





[I:sdk]:                  Looking for Android SDK..
[I:sdk]:                    Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found:
    Path contains adb.exe in \platform-tools (C:\dev\android-sdk).
[I:sdk]:                    Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found:
    Path does not contain adb.exe in \platform-tools (C:\android-sdk-windows).
[I:sdk]:                    Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found.
[I:sdk]:                    Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Android SDK Tools\Path found:
    Path contains adb.exe in \platform-tools (C:\dev\android-sdk).
[I:sdk]:                  Looking for Android NDK..
[I:sdk]:                    Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory found:
    Path contains ndk-stack.exe in \. (C:\dev\android-ndk-r10e).
[I:sdk]:                    Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory not found.
[I:Unknown]:              Found Android SDK. API levels: 10, 15, 16, 17, 18, 19, 20, 21, 22, 23
[I:Unknown]:              Found Xamarin.Android 6.0.1
[I:]:                     Tracking android devices started
[D:]:                     Tracking avd started
[D:]:                     avd watcher *.ini path: 'C:\Users\benja\.android\avd'
[D:]:                     avd watcher android path: 'C:\dev\ANDROI~1\tools\android.bat'
[D:]:                     TrackDeviceTask got: 
[I:]:                     Got new device list from adb with 0 devices
[D:]:                     avd watcher: got device list from avd with 1 devices



**Version info**

Microsoft Visual Studio Professional 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Xamarin   4.0.1.81 (f460236)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.1.9 (8dd1a77)
Visual Studio plugin to enable development for Xamarin.Android.
Comment 2 xamarin-release-manager 2016-09-05 17:05:48 UTC
Fixed in version 99.0.0.3535 (master)

Author: Juan Marcelo Tondato
Commit: 6da22659477c9603153e0d70a669dbc3bfbe2da6 (xamarin/XamarinVS)
Comment 3 xamarin-release-manager 2016-09-05 17:06:32 UTC
Fixed in version 4.2.0.649 (cycle8)

Author: Juan Marcelo Tondato
Commit: 7bd9eef374b55ea9fe5dc9eac513d63c06e3128a (xamarin/XamarinVS)