1BUG, (SQLite related)
Encountered: Attempt to re-open an already-closed object:sqlitedatabase:/data/data/com.example.biye/databases/todothing.db
Attempt to reopen an object that has been closed: sqlitedatabase ...
Workaround: See if the previous method has closed the database operation? such as: Db.close (); Comment out or delete it.
2.BUG, (edittext Assignment)
Encounter: EditText Edit31.settext ("Just don't let you assign value");
Research: Error null pointer abnormal nullpointerexception;
Did you have the wrong ID? 1. <edittext android:id= "@+id/edit31"/> 2. Edit31 = (EditText) Findviewbyid (R.ID.EDIT31); Oh, yes!! Tangled
Find out why: edit31 = (EditText) Findviewbyid (R.ID.EDIT31); Position after the button event, when the BTN event is executed, the program does not assign EditText to edit31 on the UI interface, so edit31 is null.
Solution: Edit31 = (EditText) Findviewbyid (R.ID.EDIT31); Position transferred to Setonclicklistener (); Go above, bug solved. Such as:
Bugs that Android encounters