2016-06-20 26 views
0

ich in wieder neu bin {4} app und ich versuchte, diesen Code zu verwenden:parseObject.saveInBackground() throw Ausnahme

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

Ich erhalte diese Ausnahme:

A/libc: fatal Signal 4 (SIGILL), Code 2, Störung addr 0xf6f3046e in tid 25170 (ECUTOR-thread-1)

i folgen diesem Tutorial: https://parse.com/apps/quickstart#parse_data/mobile/android/native/existing

Kann mir jemand helfen? Ich versuche von GenyMotion, in android Studio Emulator läuft sie arbeiten

Antwort

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

Ihre Fehlermeldung und Fehlercode schreiben, um weitere Informationen zu bekommen.

+0

Natürlich versuche ich das, aber ich kann kein Protokoll sehen, und ich bin mir sicher, dass es diesen Code natürlich eingeben, ich denke, diese Ausnahme ist 'SIGKILL', also können wir die Ausnahme nicht fangen. –

+0

-> –