title: I have a problem with SQLite in android apk file
body: <p>When I run my project from android studio to a device all works well and sqlite reads and writes all the data i want it to...but when I generate an APK SQLite doesn't work at all and I don't get any data, what could be the problem?</p>
  
  <p>Edit:
  I have used the command below to use my database and the database works in the apk and is created as you can see</p>
  
  <p><a href="https://i.stack.imgur.com/JrvVD.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JrvVD.jpg" alt="enter image description here"></a></p>
  
  <p>and to update a certain element I use:</p>
  
  <p><code>String s = "UPDATE data SET Username='"+userT+"'";
                      database.execSQL ( s );</code></p>