How can i avoid java.io.StreamCorruptedException: invalid stream header: 00000000

Viewed 89

when i add the text input xml tag like the one below

<EditText
        android:id="@+id/editText2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="60dp"
        android:layout_marginEnd="60dp"
        android:ems="10"
        android:gravity="start|top"
        android:inputType="textAutoCorrect"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/imageButton"
        app:layout_constraintStart_toEndOf="@id/imageView3"
        app:layout_constraintTop_toTopOf="parent" />

i get the error

Execution failed for task ':app:kaptDebugKotlin'.
> java.io.StreamCorruptedException: invalid stream header: 00000000
0 Answers
Related