0
私はちょうどので、私はこの愚かな質問には申し訳ありませんが、初心者のAndroid開発 - の開始を行わthis-する:(ませリソース識別子ません「アンドロイド」
を非常に非常に新しいです私は自分の携帯電話に私のアプリを実行しようと、次のエラーを持っている:
C:\Users\melod\AndroidStudioProjects\CardForMelody\app\src\main\re\layout\activity_main.xml
Error:(36) No resource identifier found for attribute 'Layout_below' in package 'android'
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException: Process 'command 'C:\Users\melod\AppData\Local\Android\Sdk\build-tools\24.0.1\aapt.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
誰でも助けることができる私のコードは次のようになります?
<?xml version="1.0" encoding="utf-8"?>
<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"
tools:context="com.example.android.cardformelody.MainActivity">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/rosetrim"
android:scaleType="centerCrop"/>
<TextView
android:id="@+id/Melody"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="34sp"
android:fontFamily="Thin"
android:layout_marginLeft="110dp"
android:layout_marginBottom="10dp"
android:layout_marginTop="200dp"
android:text="Melody..." />
<TextView
android:id="@+id/thebest"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp"
android:fontFamily="cursive"
android:layout_below="@id/Melody"
android:layout_marginLeft="170dp"
android:text="You're the best"
/>
<TextView
android:id="@+id/lovemelody"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="10sp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="120dp"
android:layout_marginRight="100dp"
android:Layout_below="[email protected]/thebest"
android:text="LOVE MELODY" />
この
android:layout_below="[email protected]/thebest"
から3210
'android:Layout_below =" id @/thebest "'は本当に 'android:layout_below =" @ + id/thebest "' - 小文字の 'l'を' layout_below 'にする必要があります'と' @ id 'の代わりに '@ + id'を使います – Entea