AndroidSupportComponents icon indicating copy to clipboard operation
AndroidSupportComponents copied to clipboard

Error when trying to update support libraries to 28.0.0.2

Open adrianknight89 opened this issue 7 years ago • 17 comments

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.

adrianknight89 avatar Aug 26 '19 23:08 adrianknight89

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.

Jared-Aus avatar Aug 27 '19 01:08 Jared-Aus

Same for me, Xamarin.Android

jorgenstorlie avatar Aug 27 '19 07:08 jorgenstorlie

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

TomBruyneel avatar Aug 27 '19 09:08 TomBruyneel

same here... went back to 28.0.0.1

git restore saved me from killing my self . LOL

Nullstr1ng avatar Aug 27 '19 11:08 Nullstr1ng

sameeeeeeee

PouryaNoufallah96 avatar Aug 27 '19 11:08 PouryaNoufallah96

Same here, VS 2019 Mac

miroserge avatar Aug 27 '19 14:08 miroserge

VS 2019 Mac + 1

wuhuangjia avatar Aug 27 '19 14:08 wuhuangjia

VS 2019 Win +1

scervellera avatar Aug 27 '19 14:08 scervellera

Same here, VS 2019 Pro v16.2.3 Win 10

gustavo-cantero avatar Aug 27 '19 14:08 gustavo-cantero

sameeeeeeee

ruattolo avatar Aug 27 '19 15:08 ruattolo

VS 2017 Win + 1

Sergtek avatar Aug 27 '19 17:08 Sergtek

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

alexandrfalyov avatar Aug 27 '19 18:08 alexandrfalyov

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

Redth avatar Aug 27 '19 18:08 Redth

@Redth

28.0.0.3 is tagged when will it be available?

MagicAndre1981 avatar Sep 02 '19 04:09 MagicAndre1981

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.

MagicAndre1981 avatar Sep 04 '19 09:09 MagicAndre1981

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.

adrianknight89 avatar Sep 21 '19 22:09 adrianknight89

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.

MagicAndre1981 avatar Sep 23 '19 05:09 MagicAndre1981