Enrico Enrico - 1 year ago 356
Android Question

Xamarin Forms: error in Droid project with Visual Studio

there are three day I'm trying to have a clear solution to start for each platform. Unfortunately, I'm very frustrating because I can't have that. Now in droid project there is a new kind of error:

java.lang.IllegalArgumentException: already added : Landroid/support/v4/view/VelocityTrackerCompat;

I tried to build and rebuild the project a lot of times without success. What have to do?

Android references in the project

Then I tried to update my Droid solution but the result is wrong then before.

I googled a bit but obviuosly I can't find a solution or anyone with my same problem. Visual Studio 2015 shows my a lot of errors.

Visual Studio Error

The version of Xamarin Studio is old.

Nuget Update

This is the new list of references for the Droid project. I don't know what I can do now...

List of references after the update

Answer Source

To resolve this issue, I removed all references from the Droid project and then I reinstalled all references.

Now it's working fine.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download