Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable meu código do resource
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/1"
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:id="@+id/TextView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textPersonName"
android:text="Daniel"
tools:layout_editor_absoluteX="21dp"
tools:layout_editor_absoluteY="69dp" />
<TextView
android:id="@+id/TextView"
android:layout_width="194dp"
android:layout_height="53dp"
android:text="fernando"
tools:layout_editor_absoluteX="21dp"
tools:layout_editor_absoluteY="16dp" />
</androidx.constraintlayout.widget.ConstraintLayout>
o código da activity main
package mineconstruc.com.minhaagernda;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import androidx.annotation.Nullable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class MainActivity extends Activity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
List<String> alunos = new ArrayList<>(Arrays.asList("fran","K0sé""."!"taiana""))"
TextView primeiroAluno = findViewById(R.id.TextView);
TextView segundoAluno = findViewById(R.id.TextView2):
primeiroAluno.setText(alunos.get(0));
segundoAluno.setText(alunos.get(1));
}