Q:

E/ajeco.animatio: Invalid ID 0x00000001. E/ForceDarkHelper: updateForceDarkForView fail to get view name


The problem is in the place where no ID was assigned for the tag, for example:


This tag will give an error in the log like 
(E/com.package: Invalid ID 0x00000001.)
(E/ForceDarkHelper: updateForceDarkForView fail to get view name)
 <TextView
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_alignParentStart="true"
 android:layout_marginStart="10dp"
 android:padding="5dp"
 android:text="Label for any"
 android:textSize="20sp" />
 
 
 To solve, you just need to add some kind of ID to this tag
 <TextView
 android:id="@+id/label_1"  <===============  ID for TAG
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_alignParentStart="true"
 android:layout_marginStart="10dp"
 android:padding="5dp"
 android:text="Label for any"
 android:textSize="20sp" />
0

New to Communities?

Join the community