Bad request for field slot 0,-1.错误

SQLiteQueryBuilder queryBuilder = new SQLiteQueryBuilder();

queryBuilder.setTables(BlackList.TABLE_NAME);

String[] columns = {BlackList._ID,

BlackList.NAME,BlackList.COMPANY,BlackList.ID_NUMBER,BlackList.PHONE

};

cursor = queryBuilder.query(mDB, columns, null, null, null, null, BlackList.ORDER_BY_DEFAULT);



由于返回的colums 字段数组中不存在你想要的字段,就会报这个错误。
bad request 。 

你可能感兴趣的:(request)