Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to create App archive. This type of CollectionView does not support changes to its SourceCollection from a thread different from the

In Visual Studio 2017, while attempting to archive a Xamarin android project i get the following error after succesfull build:

Failed to create App archive "MyArchive". This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.

Anyone else who have seen this error?

like image 607
René AD Avatar asked Jan 19 '19 09:01

René AD


2 Answers

Deleting the Bin and Obj folders also worked for me.

like image 65
Liviu-IC Avatar answered Oct 13 '22 01:10

Liviu-IC


I encountered the same issue. The only way I could get around it was to uncheck "Enable Multi-Dex" in Android Options. I think something might be broke in the latest version of visual studio 2017.

like image 26
Scott Avatar answered Oct 13 '22 00:10

Scott