Android : How do I find/create missing ListView with id - R.id.list? [android]

on Tuesday, September 16, 2014


My android app does not work, I traced the bug and found it is this error:



java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.example.twittersearches_erjan/com.example.twittersearches_erjan.MainActivity}:
java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'


How do I find R.id.list and remove this bug?


0 comments:

Post a Comment