[英]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:
现在在droid项目中出现了一种新的错误:
java.lang.IllegalArgumentException: already added : Landroid/support/v4/view/VelocityTrackerCompat;
java.lang.IllegalArgumentException:已添加:Landroid / support / v4 / view / VelocityTrackerCompat;
I tried to build and rebuild the project a lot of times without success. 我试图建立和重建项目很多次都没有成功。 What have to do?
怎么办?
Then I tried to update my Droid solution but the result is wrong then before. 然后我尝试更新我的Droid解决方案但结果是错误的。
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 2015显示了很多错误。
The version of Xamarin Studio is old. Xamarin Studio的版本很旧。
This is the new list of references for the Droid project. 这是Droid项目的新参考列表。 I don't know what I can do now...
我不知道我现在能做什么......
To resolve this issue, I removed all references from the Droid project and then I reinstalled all references. 为解决此问题,我删除了Droid项目中的所有引用,然后重新安装了所有引用。
Now it's working fine. 现在它工作正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.