xamarin / AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
MIT License
146 stars 56 forks source link

Error when trying to update support libraries to 28.0.0.2 #195

Closed adrianknight89 closed 5 years ago

adrianknight89 commented 5 years ago

Xamarin.Android Version (eg: 6.0):

9.4.0.51

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Support Libraries Version (eg: 23.3.0):

28.0.0.2

Describe your Issue:

I have a Xamarin Forms project and want to update support libraries from 28.0.0.1 to 28.0.0.2. Unfortunately, I'm getting the dreaded nu1107 version conflict detected error. I decided to open up the .csproj file and manually change the versions to .2.

Here's the error I see in VS Error List window when I try to compile:

The "DesignTimeBuild" parameter is not supported by the "VerifyVersionsTask" task. Verify the parameter exists on the task, and it is a settable public instance property.  MyProject.Android           

The "VerifyVersionsTask" task could not be initialized with its input parameters.   MyProject.Android   

warning MSB3277: Found conflicts between different versions of "System.Net.Http" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.

Jared-Aus commented 5 years ago

Same issue for me. The usual cleans, rebuilds and restarts didn't help. I had to roll back to 28.0.0.1 to keep working.

jorgenstorlie commented 5 years ago

Same for me, Xamarin.Android

TomBruyneel commented 5 years ago

same problem, trying to update via the package manager makes me install every single support library one by one

Nullstr1ng commented 5 years ago

same here... went back to 28.0.0.1

git restore saved me from killing my self . LOL

PouryaNoufallah96 commented 5 years ago

sameeeeeeee

miroserge commented 5 years ago

Same here, VS 2019 Mac

wuhuangjia commented 5 years ago

VS 2019 Mac + 1

scervellera commented 5 years ago

VS 2019 Win +1

gustavo-cantero commented 5 years ago

Same here, VS 2019 Pro v16.2.3 Win 10

ruattolo commented 5 years ago

sameeeeeeee

Sergtek commented 5 years ago

VS 2017 Win + 1

alexandrfalyov commented 5 years ago

You have Jar libraries, common.jar, that have the identical name with inconsistent file contents. Please make sure to remove any conflicting libraries in EmbeddedJar, InputJar and AndroidJavaLibrary

Redth commented 5 years ago

We've delisted 28.0.0.2 for now while we investigate, sorry for the trouble!

MagicAndre1981 commented 5 years ago

@Redth

28.0.0.3 is tagged when will it be available?

MagicAndre1981 commented 5 years ago

ok, 28.0.0.3 is up, but still unlisted. I modified the csproj/packages.config on my own, restored the new nugets and app compiles now fine.

adrianknight89 commented 5 years ago

28.0.0.3 seems to be working without issues now. @Redth Do you want this ticket closed? Not sure if the fix was included in 28.0.0.3 or the functionality that caused it was excluded.

MagicAndre1981 commented 5 years ago

Not sure if the fix was included in 28.0.0.3 or the functionality that caused it was excluded.

yes, it includes a fix and you can close it as issue creator, too.