S silvercover Member Licensed User Longtime User Jun 18, 2012 #1 Hi, My app works smooth on emulator and other devices. my device Android version is 2.3.4 and when I want to launch my app on it I get below error message. It wasn't like this from the beginning of development and happened after some tests! I've also tried to uninstall and delete related database manually but problem still exists. What should I do? Attachments screenshot_2012-06-18_1635.png 29.1 KB · Views: 661
Hi, My app works smooth on emulator and other devices. my device Android version is 2.3.4 and when I want to launch my app on it I get below error message. It wasn't like this from the beginning of development and happened after some tests! I've also tried to uninstall and delete related database manually but problem still exists. What should I do?
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2012 #2 Please check the logs and post the full stack trace. Upvote 0
E edgar_ortiz Active Member Licensed User Longtime User Jun 18, 2012 #3 Sometimes, I had the same problem when I generate the application and had the database open. Or when I get a copy form the device and the database is open by the application. Tip.: Now always close the database. Regards, Edgar Upvote 0
Sometimes, I had the same problem when I generate the application and had the database open. Or when I get a copy form the device and the database is open by the application. Tip.: Now always close the database. Regards, Edgar
S silvercover Member Licensed User Longtime User Jun 18, 2012 #4 Sometimes, I had the same problem when I generate the application and had the database open. Or when I get a copy form the device and the database is open by the application. Tip.: Now always close the database. Regards, Edgar Click to expand... Nice tip edgar_ortiz. from now on I double check my code to close database connection at right time. But how can I get rid of current database? I already turned off/on my device and deleted db file. Is there any other footprints or temp files remaining somewhere that I am not aware of? I just have one simple SQLite database attached to my app package. Upvote 0
Sometimes, I had the same problem when I generate the application and had the database open. Or when I get a copy form the device and the database is open by the application. Tip.: Now always close the database. Regards, Edgar Click to expand... Nice tip edgar_ortiz. from now on I double check my code to close database connection at right time. But how can I get rid of current database? I already turned off/on my device and deleted db file. Is there any other footprints or temp files remaining somewhere that I am not aware of? I just have one simple SQLite database attached to my app package.
E edgar_ortiz Active Member Licensed User Longtime User Jun 18, 2012 #5 silvercover said: Is there any other footprints or temp files remaining somewhere that I am not aware of? I just have one simple SQLite database attached to my app package. Click to expand... In your SQLite database manager, make a script to check each table (a select is enough). Regards Edgar Upvote 0
silvercover said: Is there any other footprints or temp files remaining somewhere that I am not aware of? I just have one simple SQLite database attached to my app package. Click to expand... In your SQLite database manager, make a script to check each table (a select is enough). Regards Edgar