«   2018/07   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Archives
Today
108
Total
1,126,102
안정적인 DNS서비스 DNSEver
관리 메뉴

Blue Breeze

android SQLite DB 열기 본문

Editor IDE/AndroidStudio

android SQLite DB 열기

푸른바람 C/H 2017.01.17 08:30

Pull

adb pull /data/data/com.android.test/databases/testdb.db ~/.

Pull 권한이 안된다면

adb shell
$ run-as com.domain.package
$ chmod 777 databases
$ chmod 777 databases/databse_name

Shell

adb shell
sqlite3 /data/data/com.domain.test/databases/testdb.db
SQLite version 3.x.xx yyyy-mm-dd H:i:s
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
testdb            android_metadata

sqlite> .schema testdb

sqlite> .schema testdb

sqlite> .exit

root@android:/ # exit

Select Device Shell

$adb devices
List of devices attached
G1AXB70596xx	device

$ adb -s G1AXB70596xx shell

SQLScout

라이선스가 필요하다.


'Editor IDE > AndroidStudio' 카테고리의 다른 글

Android Swipe  (0) 2017.01.19
Android Drawable Shape Syntax  (0) 2017.01.18
android SQLite DB 열기  (0) 2017.01.17
Circle TextView  (0) 2017.01.16
orma "transformClasses With New Class Shrinker For Debug"  (0) 2017.01.12
Android ORM  (0) 2017.01.11
0 Comments
댓글쓰기 폼