简体   繁体   English

Visual Studio 2015中的Xamarin本机PCL-新应用错误

[英]Xamarin Native PCL in Visual Studio 2015 - New App errors

So I am trying to create a new app with Visual Studio 2015 and Xamarin, I created a new Cross Platform Native Portable app, I try to install AppCompat Library and immediately throws errors, so far I got these: 因此,我尝试使用Visual Studio 2015和Xamarin创建一个新应用程序,创建了一个新的Cross Platform Native Portable应用程序,尝试安装AppCompat库并立即引发错误,到目前为止,我得到了以下这些信息:

  • The element 'LinearLayout' has invalid child element 'android.support.v7.widget.Toolbar'. 元素“ LinearLayout”具有无效的子元素“ android.support.v7.widget.Toolbar”。

  • No resource found for ... (multiple of these) 找不到资源...(其中有多个)

I am trying to create a left drawer but with these errors I cant move forward. 我正在尝试创建一个左抽屉,但是由于这些错误,我无法前进。 So far I have tried to delete all Xamarin Library files from C:/Users/MyUser/AppData/Local/Xamarin to no avail and searching everywhere on google and here noone has found a solution. 到目前为止,我已经尝试从C:/ Users / MyUser / AppData / Local / Xamarin删除所有Xamarin库文件,但无济于事,在google上到处搜索,没有人找到解决方案。 Any help would be greatly appreciated. 任何帮助将不胜感激。

If you delete the bin/obj folders, it will clear out a previous build cache that might have a potential conflict with the support libs. 如果删除bin/obj文件夹,它将清除以前的构建缓存,该缓存可能与支持库潜在冲突。 This is a known issue that I've still been trying to figure out myself. 这是一个已知问题,我仍在努力弄清楚自己。 When I run into it again I'll report a bug on it internally. 当我再次遇到它时,我会在内部报告一个错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM