我正在爲Android系統自動發送的短信應用程序導入現有的項目後,突然錯誤ObjectSetting.java文件上日食
上次我的應用程序工作正常,但突然我已經刪除的項目構成了我日食,爲此我想再次導入這個項目, 導入這個項目後,我的應用程序無法正常工作,在對象文件上顯示出很多錯誤。 請檢查截圖http://prntscr.com/75v2cg
這裏是我的代碼
package com.example.serviceexample.model.object;
import java.io.Serializable;
public class ObjectSetting extends Object implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int setting_id;
private String setting_name;
private String setting_value;
public int getSetting_id() {
return setting_id;
}
public void setSetting_id(int setting_id) {
this.setting_id = setting_id;
}
public String getSetting_name() {
return setting_name;
}
public void setSetting_name(String setting_name) {
this.setting_name = setting_name;
}
public String getSetting_value() {
return setting_value;
}
public void setSetting_value(String setting_value) {
this.setting_value = setting_value;
}
public ObjectSetting() {
this.setting_id = 0;
this.setting_name = "";
this.setting_value = "";
}
public ObjectSetting(String name, String value) {
this.setting_id = 0;
this.setting_name = name;
this.setting_value = value;
}
public ObjectSetting(int id, String name, String value) {
this.setting_id = id;
this.setting_name = name;
this.setting_value = value;
}
}
我不明白哪裏是這個問題,你能告訴我嗎? @Blackbelt –