简体   繁体   中英

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

<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


Refer :

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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