在 Android Studio 2.2 中创建项目时遇到问题
尝试创建 xml 布局时,出现以下错误:
渲染过程中引发异常:找不到布局资源
这是我的 xml 代码片段:
<ScrollView xmlns:android="schemas.android.com/apk/res/android"
xmlns:app="schemas.android.com/apk/res-auto"
xmlns:tools="schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:layout_width="match_parent"
android:layout_height="match_parent" android:orientation="vertical">
<include layout="@layout/app_bar" />...
我怎样才能解决这个问题?