I'm encountering a weird issue that started over night. If I open any xml layout file with the line android:text="whatever" in an element, Android Studio immediately shuts down with no errors displayed. Android Studio works perfectly fine for any other tasks. I've been going through similar questions and trying solutions with no success, until manually typing I noticed THIS attribute is causing the crash.
For example,
<TextView
android:id="@+id/emailtextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
works perfectly.
But when the line android:text="TextView"
is added even manually the programs shuts down.
The same happens with buttons.
I can even run the app but I can't edit the xml from Android Studio. Why might this be?