数据库报错信息:
E/SQLiteLog: (1) near "order": syntax error
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.newwbbie.redhat, PID: 24050
org.litepal.exceptions.LitePalSupportException: near "order": syntax error (code 1): , while compiling: SELECT * FROM order ORDER BY id LIMIT 1
原因:
order
是MySQL数据库的关键字,换个数据库名就可以解决了。