Hier ist das Tutorial ich verwendet haben, ich sehr neu bin auf dieseIch bin neu in Android App Entwicklung und halten Sie die folgenden Fehler stoßen, nachdem ein Tutorial folgenden ich erhalte immer Fehler
http://developer.android.com/training/basics/firstapp/building-ui.html
ich erhalte diesen Fehler
Fehler: (2) Keine Resource Identifier für Attribut 'layout_behavior' im Paket 'com.example (myname) .mynewapp.'
Fehler gefunden: (9, 26) keine Ressource gefunden das stimmt mit dem gegebenen Namen überein (bei 'lay out_behavior 'mit dem Wert' @ string/appbar_scrolling_view_behavior ').
Fehler: Ausführung fehlgeschlagen für Task ': app: processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Prozess "command" C: \ Benutzer (meinname) \ AppData \ Local \ Android \ Sdk \ build-tools \ 23.0.3 \ aapt.exe ‚‘ beendet mit nicht-Null-Ausgang Wert 1
Hier ist mein Code
`<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_my">
<EditText android:id="@+id/edit_message"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/edit_message" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>`
Sie jemand so viel danken, die dies aus
den Code behoben, war es zunächst falsch – gummy714
Haben Sie die Design-Support-Bibliothek in Ihrem Build.gradle? – AgileNinja
Wahrscheinlich nicht, wie mache ich das? – gummy714