sql語句錯誤
解決方案:
[java]
public void update(Person person) {
SQLiteDatabase db = dbOpenHelper.getWritableDatabase();
db.execSQL(
"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.execSQL(
"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.
單擊“Android JUnit Test”運行後會,會出現如下警告:
It outputs Warning: No instrumentation runner found for the launch, using
android.test.InstrumentationTestRunner.
模擬器不能記住Androidmanifest的配置,在運行時需要重新設定回合組態,如下:
1.在工程名字上點擊右鍵,選擇properties
2.在Run/Debug setting列表中刪除全部配置,這些配置在每次單擊“Android JUnit Test”運行後會自已產生的。