Error CS0104 'Environment' is an ambiguous reference between 'Android.OS.Environment' and 'System.Environment'
Selecting Android or system does not solve the problem !
I did a simple test, with the following code, it compiles successfully.
var path= System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData);
Note:I don't know the TransferUtility, you can recheck the function Upload of it.
Xamarin forums are migrating to a new home on Microsoft Q&A!
We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
For more information, please refer to this sticky post.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies