简体   繁体   English

使用Xamarin IDE构建项目时出现资源未找到错误

[英]I am getting a resource not found error when building a project using the xamarin IDE

When the project is built the following output file in abc_screen_toolbar.xml contains the error 构建项目时,abc_screen_toolbar.xml中的以下输出文件包含错误

<android.support.v7.widget.ActionBarContainer
            android:id="@+id/action_bar_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            style="?attr/actionBarStyle"
            android:touchscreenBlocksFocus="true"
            android:gravity="top">

also currently my project does not use any touch screen features. 也目前我的项目没有使用任何触摸屏功能。

Screenshot of the output file : 输出文件的屏幕截图: 输出文件

Solution : Set your target API level to 21 or higher 解决方案:将目标API级别设置为21或更高


Refer : 参考:

暂无
暂无

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

相关问题 在xamarin forns项目中使用xaml时出现错误,并且呈现控件时发生异常 - I am getting an error when using xaml for a xamarin forns project and I am getting an exception occurred while rendering the control 出现错误,找不到Xamarin跨平台项目的资源 - Getting error no resource found for Xamarin cross platform Project 构建 Xamarin 项目时出错 - Error when building Xamarin project 为什么我在运行 Xamarin 应用程序时收到 JINativeWrapper.g.cs 文件未找到错误? - Why am I getting JINativeWrapper.g.cs file not found error when running my Xamarin app? 我收到错误“没有找到与请求 URI 匹配的 HTTP 资源” - I am getting error “No HTTP resource was found that matches the request URI” 使用.rsp文件进行构建时,为什么会出现错误CS0116? - Why am I getting error CS0116 when building using a .rsp file? 使用CakeBuild构建Xamarin.Android项目时找不到mscorlib - mscorlib not found when building Xamarin.Android project with CakeBuild 我在使用 specflow Specrun 为 selenium 构建解决方案时遇到错误 - I am getting an Error while I am building a solution for selenium using specflow Specrun 构建我的 c# 项目时,我收到“在未引用的程序集中定义”错误,如何解决? - I am getting “defined in an assembly that is not referenced” errors when building my c# project, how to solve it? 构建Android项目(Xamarin)时出现奇怪的错误提示 - Wierd error accurs when building Android project (Xamarin)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM