0

我是 back{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,tid 25170 (ECUTOR-thread-1) 中的故障地址 0xf6f3046e

我遵循本教程: https ://parse.com/apps/quickstart#parse_data/mobile/android/native/existing

谁能帮我?我尝试通过GenyMotion运行,在 android studio 模拟器中它正在运行

4

1 回答 1

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());
            }
        }
    });

发布您的错误消息和错误代码以获取更多信息。

于 2016-06-20T10:38:40.027 回答