У меня есть большая консоль с ошибками, все те же ошибки.«Ресурс не найден, который соответствует указанному имени»
[2015-02-07 08:33:42 - TheHunter] C:\Users\Windows 8\workspace\TheHunter\res\drawable-hdpi\custom2.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/button2').
[2015-02-07 08:33:42 - TheHunter] C:\Users\Windows 8\workspace\TheHunter\res\drawable-hdpi\custom3.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/button3').
У меня такие же ошибки, но для разных изображений около 100 раз в моей консоли. Это всего лишь мой код для моей главной страницы, у меня есть несколько кнопок и изображений, которые используются, но сохраняют все те же ошибки. Я вижу все изображения, которые просто не позволят мне использовать приложение в эмуляторе Android из-за этих ошибок.
Не могли бы вы рассказать мне, почему я получаю эти ошибки? Благодарю.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
tools:context="com.application.thehunter.MainActivity" >
<ImageButton
android:id="@+id/imageButton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="74dp"
android:contentDescription="TODO"
android:background="@drawable/custom1"
android:src="@drawable/Button1"
tools:ignore="HardcodedText,ContentDescription" />
<ImageButton
android:id="@+id/imageButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/imageButton1"
android:contentDescription="TODO"
android:background="@drawable/custom2"
android:src="@drawable/Button2"
tools:ignore="HardcodedText,ContentDescription" />