Android Question Application not reading database

Discussion in 'Android Questions' started by ginsh, Apr 24, 2019.

  1. ginsh

    ginsh Member Licensed User


    I have an address book application with the below versions.

    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>

    and also has a SQLite database "Address". I have done same updates in the address database and the application is reading the updated database and is working fine.

    The database is located at "File.DirInternal".

    But When I am changing the same to 26 as android:targetSdkVersion as below

    <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="26"/>

    the application is not reading from the same updated database. It is still reading from the old database.

    I have completely uninstalled the application and reinstalled it. Once application is uninstalled I guess all the files are also deleted.

    Please anyone let me know what could me the issue.
  2. DonManfred

    DonManfred Expert Licensed User

  3. kisoft

    kisoft Active Member Licensed User

    Rename the package and reinstall.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice