Unable to match class for part: 'Lrx/Observable;
我的方法:
public void SendNote(){
titleStr = etxtTitle.getText().toString();
// saving objects
NotesRealmClass notesRealmClass = new NotesRealmClass();
notesRealmClass.setTitle("try");
// save object asynchronously
Backendless.Persistence.save(notesRealmClass, new AsyncCallback<NotesRealmClass>() {
public void handleResponse(NotesRealmClass note) {
// new Contact instance has been saved
Toast.makeText(getActivity(), "Successfully posted ", Toast.LENGTH_SHORT).show();
}
public void handleFault(BackendlessFault fault) {
Toast.makeText(getActivity(), "" + fault.getMessage(), Toast.LENGTH_SHORT).show();
// an error has occurred, the error code can be retrieved with fault.getCode()
}
}); }
这里我试图将一个对象保存到Backendless服务器但是我得到了这个错误,任何人都可以解释这个错误试图告诉我什么?我四处搜索但没有得到任何东西
答案 0 :(得分:0)
根据这个https://www.bountysource.com/issues/29233605-java-lang-noclassdeffounderror-rx-observable-in-0-87-0,事实证明它是一个错误,为了修复它我们只需要编译&#39; io.reactivex:rxjava:1.0.16&#39;在我们的成绩档案中