I Just updated the visual studio to version 15.7.0 preview 3.0, now when i click on ADM nothing is happening, ahh first i disabled the hyper-v as visual studio suggests while running an emulator.
The workaround to this is to disable hyper-v then use xamarin android device manager instead of android device manager, link to download the xamarin android device manager, Android device manger is upgraded to xamarin android devic manger in vs 2017 15.7
if haven't updated the vs to 15.7 u can fix this by wiping all data in emulator and disabling hyper-v, if have not updated the vs, ADM should open without any problem.
To add to this - device manager is now included by default in Vs and VSfM, so no need to download a separate app.
When i run the emulator getting this
Hey wait @NinaVyedin I guess I've seen you in some Xamarin conference am I right? thank you for your answer.
For me, with the latest VS 15.7 update, the problem was that the Device Manager was unable to find a subfolder avd as in the log below. I created the avd folder manually and it started working. Not sure how such code makes into production that can't create a folder if it does not exist.
[18-09-23 06:53:03.85] --- Device Manager started
[18-09-23 06:53:04.90] Dispatcher unhandled exception occured
[18-09-23 06:53:04.94] System.IO.DirectoryNotFoundException: Could not find a part of the path '.android\avd'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at System.IO.Abstractions.DirectoryWrapper.GetFiles(String path, String searchPattern, SearchOption searchOption)
at Xamarin.DeviceManager.Common.AvdManager.ReloadAVDsFromDisk(Boolean dontReloadEditingOnes)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at Xamarin.DeviceManager.MainWindow.UpdateAvdsAndDeviceDefinitions(Boolean reloadFromDisk, AvdInfo avdToSelect)
at Xamarin.DeviceManager.XamarinAndroidDeviceManagerApplication.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
1.CommonInit() at System.IO.FileSystemEnumerableIterator
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies