昨日からAndroid Studioを学び始めました。簡単な "Hello World"をエコーしてみます。
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/activity_main"
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:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:paddingBottom="16dp"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!" />
</RelativeLayout>
「デザイン」ビューをクリックすると、このエラーが表示されますか?
ビルドが成功するまでデザインエディターは使用できません
このエラーを修正する方法を教えてください。昨日Android Studioをダウンロードしました。
私のxmlコードがエラーを引き起こしていることに気づきました。これが機能しない理由です。どうもありがとうございます