我的ImageView布局中有一个,见下面的代码.当我尝试将该src属性设置为我的启动器图标时,我收到以下错误:
Cannot resolve symbol '@drawable/ic_launcher'
Run Code Online (Sandbox Code Playgroud)
ic_launcer.png被添加到我的drawables文件夹中,见下图.为什么我不能在我的图像中引用我的图像ImageView?
项目结构:

Layout.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_weight="1"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:src="@drawable/ic_launcher"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
Run Code Online (Sandbox Code Playgroud) android ×1