Android Question Android App was working fine but then just crashes on startup ..any ideas

DeclanOK

Member
Licensed User
1682337919918.png
 

agraham

Expert
Licensed User
Longtime User
This line in sba_screen is the problem

29 Resultset = quick_subjects.SQLliteQuick.ExecQuery("SELECT * FROM main where subject = '" & Main.QuerySubjects & "' and attempted = 'False'")

You should only declare variables and do simple initialisation in both ProcessGlobals and Globals. You should not run code. Move the line to Activity_Create and it runs.
 
Upvote 1
Top