[Solved] java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView populateview


Your id textview1 is doubled, it is set to the linear layout and to the textview
Change one of them

0

solved java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView populateview