There was a thread about this in the past, but I am encountering something similar.
I have an application that I have in Google Play as an Internal Test that has been functioning very well, up until now. I have not made any code changes or releases since January. I can install the application and I go to the permissions and give storage permission as I have in past, but when attempting to launch the app, it immediately closes and gives the message that the application "Keeps Stopping". It almost appears that the storage permission is not actually working as the application data and cache never grow beyond zero so I think it is not creating the database when it first launches.
This application uses a local SQLite database and connects to a jRDC2 SQL Server. It has worked fine until now and the devices that have it already installed seem to work fine.
Any ideas?
I have an application that I have in Google Play as an Internal Test that has been functioning very well, up until now. I have not made any code changes or releases since January. I can install the application and I go to the permissions and give storage permission as I have in past, but when attempting to launch the app, it immediately closes and gives the message that the application "Keeps Stopping". It almost appears that the storage permission is not actually working as the application data and cache never grow beyond zero so I think it is not creating the database when it first launches.
AT FIRST RUN:
Sub Service_Create
'File.Delete(File.DirDefaultExternal, "RSM.db") ' only for testing, removes the database
'File.Copy(File.DirAssets, "RSM.db", File.DirDefaultExternal, "RSM.db")
'check if the database already exists
If File.Exists(File.DirDefaultExternal, "RSM.db") = False Then
File.Copy(File.DirAssets, "RSM.db", File.DirDefaultExternal, "RSM.db")
localDB.Initialize(File.DirDefaultExternal, "RSM.db", True)
Else
localDB.Initialize(File.DirDefaultExternal, "RSM.db", True)
reqManager.Initialize(Me, "http://XX.XXX.XX.218:XXXXX/rdc")
End If
End Sub
This application uses a local SQLite database and connects to a jRDC2 SQL Server. It has worked fine until now and the devices that have it already installed seem to work fine.
Any ideas?