Unable to start activity:UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView
what should i do??? Correct your code. UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView A subclass of AdapterView like a ListView can’t have children manually added either in the layout file or added in code. So if you have this in one of your layouts: <ListView // .. other attributes> <// other views <– … Read more