Nie znaleziono identyfikatora zasobu dla atrybutu „showAsAction” w pakiecie „android”
jak sugeruje tytuł, otrzymuję ten błąd w co najmniej 3 plikach układu XML, jednak nie widzę attritube „showsAsAction” w żadnym z tych plików XML, czy coś mi brakowało, czy jestem po prostu ślepy? to są pliki XML, o których mowa:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<Button
android:id="@+id/findSelected"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Registrar Asistencia"
android:onClick="registrarAsistencia"/>
<ListView
android:id="@+id/listaAlumnos"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center|top"
android:orientation="vertical" >
<TextView
android:id="@+id/lblCuenta"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cuenta"
android:textAppearance="?android:attr/textAppearanceLarge" />
<EditText
android:id="@+id/txtCuenta"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10" />
<TextView
android:id="@+id/lblPass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Contraseña"
android:textAppearance="?android:attr/textAppearanceLarge" />
<EditText
android:id="@+id/txtPass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPassword" />
<Button
android:id="@+id/btnIniciarSesion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="iniciarSesion"
android:text="Iniciar Sesion" />
</LinearLayout>
<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" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="Large Text"
android:textAppearance="?android:attr/textAppearanceLarge" />
</RelativeLayout>
Ponadto używam Androida 2.2 (API 8) jako wersji docelowej. Wiem, że „showAsAction” zostało zaimplementowane w API 11, ale nie mogę znaleźć problemu tutaj.
Aktualizacja: Panel problemów pokazuje następujące błędy:
Błąd podczas generowania archiwum końcowego: java.io.FileNotFoundException: C: Użytkownicy Dokumenty Android Registro de Asistencia bin zasoby.ap_ nie istnieje