Android column '_id' does not exist?

前端 未结 8 973
野性不改
野性不改 2020-11-22 15:39

I\'m having trouble with something that works in the Notepad example. Here\'s the code from the NotepadCodeLab/Notepadv1Solution:

String[] from = new String[         


        
8条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 16:00

    This probably isn't relevant anymore, but I just hit the same problem today. Turns out column names are case sensitive. I had an _ID column, but Android expects an _id column.

提交回复
热议问题