how to copy large database which occupies much memory from assets folder to my application?

前端 未结 1 921
Happy的楠姐
Happy的楠姐 2021-01-25 07:08

I am developing an application in which I have to use existing database but when I try to copy small data base It is copying easily but when I try to copy my database which is o

1条回答
  •  余生分开走
    2021-01-25 07:25

    This is caused by aapt compressing the file in your assets folder. See links below for various solutions:

    How to read LARGE Sqlite file to be copied into Android emulator, or device from assets folder?

    http://ponystyle.com/blog/2010/03/26/dealing-with-asset-compression-in-android-apps/

    0 讨论(0)
提交回复
热议问题