Sqlite3_open_v2 ("/data/COM. Android. packagename/databases/dump. SQLite", & handle, 1, null) fa

Source: Internet
Author: User

Haha, I am getting smarter. I 've been pouring a 2.2 source code package over the past few days and running the database that fast, but the above error sqlite3_open_v2 ("/data/COM. android. packagename/databases/dump. SQLite ", & handle, 1, null) failed

Decisive Google, in stackflow looked for a long time to read a lot of articles is also written in the cloud FOG (http://stackoverflow.com/questions/9060754/sqlite3-open-v2-data-data-com-android-packagename-databases-dump-sqlite-han ),

So I created a testcase test,

I found that the original error still occurred, but the same code won't appear in the new project. After careful analysis, I suddenly realized that it should be

The original database was not erased, but it was an incorrect update. Uninstall the application .... Recompile
Get it done .... Mark it.

Hahaha

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.