Android Question file.copy to dirinternal not working?

Discussion in 'Android Questions' started by leitor79, May 13, 2019.

  1. leitor79

    leitor79 Active Member Licensed User

    Hi,

    I'm trying to replace a file with a new version within the app, but I having some issue.
    Unfiltered log shows nothing.

    I have this:

    kvs is initialized from dirinternal at the starter object... could it be datastore3 not being overwritten because it's in use?


    Thank you!
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Have you closed kvs before replacing the file?
     
  3. leitor79

    leitor79 Active Member Licensed User

    Hi Erel, Thank you for your answer!

    No; I wasn't closing the kvs. I didn't know/remember that I should do that first.

    Thank you very much, now it works!
     
Loading...
  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