I donβt know if its the exact reason, but in the XML layout file it refers to @+id/textView1 , but there is no TextView in the XML file. This may mean the TextView , which the SDK creates by default to show the label "Hello World", but has been removed from the example.
In fact, looking at the code in the layout more, the line android:layout_alignLeft="@+id/textView1" is wrong, since it has @+id/ , which means that it is trying to assign a new id/ to android:layout_alignLeft instead of matching value "@id/textView1" ,
source share