Home > Net >  SqlDelight KMM app where is the generated SQL database located
SqlDelight KMM app where is the generated SQL database located

Time:11-22

I have a KMM app for iOS/Android where I am using SQLDelight (1.5.3). I would like to find the generated DB file (maybe .SQLite) and open it to see the content. (maybe using DB Browser in SQLite).

I am able to find the file through Xcode, but not sure how to do it using Android Studio for the Android app. Where is the file located? What is the format that is generated through the AndroidSqliteDriver.

I might have the wrong expectation, how can I visualize what I have in the DB?

Thanks.

CodePudding user response:

It should be in /data/data/<Your-Application-Package-Name>/databases/app.db on your device. For emulator the easiest way to go to device manager in your Android studio Android Studio screen

  • Related