Android simulators in Xamarin (Visual Studio) wont start in ASUS UX410U Notebook - Windows 10

Viewed 1057

It's been 3 days that I am trying to get Xamarin in Visual Studio working, unfortunately with no success. The errors that I get when I am trying to start android simulators are the following:

  • Missing config.ini file in the AVD data folder or Device System image is incomplete and cannot be launched. Do you want us to reinstall the image? Error1 Error2

Pressing OK wont fix the problem.

I have tried many times to reinstall xamarin deleting all xamarin folders and files I could find in my filesystem and repairing Visual Studio but the same problems pop up every time.

I really don't know what else to do since I am new to Xamarin.

Furthermore, in the avd folder in a simulator folder (e.g. pixel_2_oreo_8_1__api_27.avd) there are only 3 files (config, sdcard, userdata) when in another pc that xamarin works fine there are a lot more (files and folders). Simulator folder in pc that works Simulator folder in pc with the problem

I really could use any help.

Thank you in advance

2 Answers

I think that the problem was that the avd folder and the debug.keystore of the Mono Android were placed within my windows user folder which was in greek characters creating problems reading the paths. Changing my windows user folder to english characters fixed the problem. Although i strongly recommend to be very careful or avoid doing something like that because there is great possibility to have problems with the windows and other apps afterwards.

Try creating new emulator selecting another device, else try creating emulator via Android Studio. But remember to keep the path same for jdk & sdk of Android Studio & visual studio.

  1. There might be the case of internet as well, the OS image you trying to download couldn't get downloaded completely cuz of some issues in network connection.
Related