Sing the emulators (adb shell sqlite3--version):
SQLite 3.7.11:
- 19-4.4-kitkat
- 18-4.3-jelly Bean
- 17-4.2-jelly Bean
- 16-4.1-jelly Bean
SQLite 3.7.4:
- 15-4.0.3-ice Cream Sandwich
- 14-4.0-ice Cream Sandwich
- 13-3.2-honeycomb
- 12-3.1-honeycomb
- 11-3.0-honeycomb
SQLite 3.6.22:
- 10-2.3.3-gingerbread
- 9-2.3.1-gingerbread
- 8-2.2-froyo
SQLite 3.5.9:
- 7-2.1-eclair
- 4-1.6-donut
- 3-1.5-cupcake
Note:android SDK level links show where the Android.database.sqlite package has changed. Where there is no link (e.g. SDK level), indicates the no changes to the package.
Note:here is some anomalies (list by no means exhaustive):
SQLite 3.7.13 (instead of 3.7.11):
- LG Optimus G E975 lg-e975| jzo54k (16-4.1-jelly Bean)
- LG G2 D802 lg-d802| jdq39b (17-4.2-jelly Bean)
SQLite 3.7.6.3 (instead of 3.6.22):
- LG Optimus Sol e730/mytouch e739/mytouch Q C800 (10-2.3.3-gingerbread, GRJ22)
- LG Optimus Vu f100s/f100l (10-2.3.3-gingerbread, rk39f)
- LG Optimus LTE TAG f120k/f120l (10-2.3.3-gingerbread, grk39f)
- LG Optimus LTE l-01d (10-2.3.3-gingerbread, GRJ90)
- LG Optimus Net p690b (10-2.3.3-gingerbread, Gingerbread)
- LG Prada KU5400 (10-2.3.3-gingerbread, GWK74)
- LG Prada P940 (10-2.3.3-gingerbread, GWK74)
- LG lu6200/su640 (10-2.3.3-gingerbread, GRJ90) s
SQLite 3.7.5 (instead of 3.7.4):
- Samsung Galaxy Note (15-gt-n7000| iml74k. ZSLPF)
- Samsung Galaxy SII (15-sc-02c| iml74k. OMMP4 and gt-i9100| iml74k. DXLP7)
- Samsung Galaxy S Duos (15-gt-s7562| imm76i. S7562XXBMD6)
- Samsung Galaxy Tab 7.7 (15-gt-p6810| imm76d. ZSLP8)
SQLite 3.7.0.1 (instead of 3.6.22):
- LG Esteem MS910 (10-2.3.3-gingerbread, gse-_v.05)
- Androtab (8-2.2-froyo, 1.0.7100.0385)
- GPLUS Musn M500 (8-2.2-froyo, frg83g)
SQLite 3.6.23.1 (instead of 3.5.9):
- Motorola Backflip MB300 (7-2.1-eclair, ERD79)
- Garmin-asus Nüvifone A10/a50/garminfone (7-2.1-eclair, ERE27)
NOTE:ADB command to get SQLite version for works on emulators and on devices with Sqlite3 Available:http://stackoverflo w.com/a/3645800/444761
For other devices, see Juri ' s answer.
I have added a Issue #58909 to the Android Issue Tracker. Please do would like to support it.
Although the documentation gives 3.4.0 as reference number if you execute the following SQL and you'll notice that there is A much higher number of SQlite installed:
Cursorcursor=Sqlitedatabase.Openorcreatedatabase(": Memory:",NULL).Rawquery("Select Sqlite_version () as Sqlite_version",NULL);String sqliteversion=""; while(cursor.MoveToNext()){sqliteversion+=cursor.getString(0);}
This is just a piece for quick, dirty code to retrieve the SQLite version. For instance on a HTC Hero with Android 2.1, I get: 3.5.9.
On my Nexus one with Android 2.2, I even get 3.6.22.