My project has some initializes data so I have already create a sqlite database with navicat application. I use kotlin instead of java and use room ORM too (android-architecture-components). how can i copy my database too my project from asset folder without any problem?
Asked
Active
Viewed 761 times
0
-
Possible duplicate of [How to migrate existing SQLite application to Room Persistance Library?](https://stackoverflow.com/questions/44081249/how-to-migrate-existing-sqlite-application-to-room-persistance-library) – musooff Jul 15 '19 at 01:16
1 Answers
0
referring to this question , you have just make sure of having same db schema in order to do that. and to copy file to /database
folder in internal app storage there is plenty of resources and example just search.

Alireza Sharifi
- 1,127
- 1
- 9
- 18