SQL statement Error
Solution:
[Java]
Public void update (Person person ){
SQLiteDatabase db = dbOpenHelper. getWritableDatabase ();
Db.exe cSQL (
"Update person set name = ?, Phone =? Where personid =? ",
New Object [] {person. getName (), person. getPhone (),
Person. getId ()});
}
Public void update (Person person ){
SQLiteDatabase db = dbOpenHelper. getWritableDatabase ();
Db.exe cSQL (
"Update person set name = ?, Phone =? Where personid =? ",
New Object [] {person. getName (), person. getPhone (),
Person. getId ()});
}
It outputs Warning: No instrumentation runner found for the launch, using
Android. test. InstrumentationTestRunner.
After you click "Android JUnit Test", the following warning is displayed:
It outputs Warning: No instrumentation runner found for the launch, using
Android. test. InstrumentationTestRunner.
The simulator cannot remember the configuration of Androidmanifest. During running, you need to re-set the running configuration as follows:
1. Right-click the project name and choose properties
2. delete all the configurations in the Run/Debug setting list. These configurations are generated after you click "Android JUnit Test" each time.