我是后来{4}应用的新用户,我尝试使用此代码:
public void save(View view) {
ParseObject parseObject = new ParseObject("users");
//we will add column
parseObject.put("name","eyal");
parseObject.put("age",29);
parseObject.put("password","123");
//new thread is open to save the info
parseObject.saveInBackground();
}
我得到了这个例外:
A / libc:致命信号4(SIGILL),代码2,故障地址0xf6f3046e in tid 25170(ECUTOR-thread-1)
我遵循本教程: https://parse.com/apps/quickstart#parse_data/mobile/android/native/existing
任何人都可以帮助我吗? 我尝试运行 GenyMotion ,在android studio模拟器中它正在运行
答案 0 :(得分:0)
parseObject.saveInBackground(new SaveCallback() {
@Override
public void done(ParseException e) {
// TODO Auto-generated method stub
if (e == null) {
Log.e("TAG ", "Success .... ");
} else {
Log.e("TAG ", "faillll .... " + e.getMessage() + " Code " + e.getCode());
}
}
});
发布您的错误消息和错误代码以获取更多信息。