Đây là một số nội dung rất cơ bản. Ngoại lệ được nêu trong khi hiển thị: java.util.Locale.toLanguageTag() Ljava/lang/String;Android Studio: Hiển thị các sự cố
XML:
<LinearLayout 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:orientation="horizontal">
<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>
Dường như vấn đề là với đối tượng EditText. Trợ giúp sẽ được đánh giá cao.
có thể kiểm tra 'strings.xml' cho giá trị' edit_message' và/hoặc 'button_send'. – turtle
bạn có cung cấp hỗ trợ đa ngôn ngữ không? –
@ onm118 Kiểm tra xem chuỗi edit_message của bạn có lớn không. Rút ngắn và thử. – SimpleGuy