Reputation: 81
Recently I installed Xamarin and the Android SDK in order to mess around with Android development. After spending all day fixing errors before writing a single line of code, this one has me stumped. I haven't found a solution anywhere on the internet.
I have installed the emulator and I have downloaded several system images. I have searched for this config.ini but didn't find which one the error seemed to be referencing. I can build the solution just fine but when I try to debug it just says "There were deployment errors", and in the output window just says "Error: cancelled."
Is there any way to solve this issue?
Thanks.
Upvotes: 8
Views: 3362
Reputation: 3182
I just had the same issue.
This will download the missing system images for your Android emulator.
Here are some screenshots, depicting the solution (they're in German):
I suspect Microsoft didn't add these because they're not courtesy of Google. You need to accept Google's license terms when downloading the images.
Upvotes: 3
Reputation: 343
So I come across the same error message on my device manager. I solved it with following step:
~\.android\avd
. There should be a folder named
[YourDeviceName].avd
. For my case it was Nexus_5X_API_28_x86.avd.image.sysdir.1
. Mine was image.sysdir.1=system-images\android-28\google_apis_playstore\x86\
.
Make sure the your have properly downloaded such image in
%ANDROID_HOME%\system-images
.For me, it seems that I have installed Android SDK twice in two different locations with Android Studio & Visual Studio Xamarin installation, and they have messed up my device manager. So I uninstalled one and moved the images and it worked fine then. While this is probably a year too late for OP, I hope this could help someone in the future.
Upvotes: 5