column _id does not exist

后端 未结 2 990
再見小時候
再見小時候 2020-12-20 16:58

the error in my logcat is such

Logcat

08-29 08:20:57.961: ERROR/AndroidRuntime(1766): java.lang.RuntimeException: Unable to start activity ComponentI         


        
相关标签:
2条回答
  • 2020-12-20 17:19

    You are not including _id in your column list for the query you do in getSpinnerData().

    0 讨论(0)
  • 2020-12-20 17:24

    You have to create a column in your table called _id integer alphanumeric.

    0 讨论(0)
提交回复
热议问题