protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Bmob.initialize(this, "61237dcdcbe6409527a08ee790e17dca");
BmobUser bu = new BmobUser();
bu.setUsername("sendi");
bu.setPassword("123456");
bu.setEmail("sendi@163.com");
//注意:不能用save方法进行注册
bu.signUp(new SaveListener<MyUser>() {
@Override
public void done(MyUser s, BmobException e) {
if(e==null){
Toast.makeText(MainActivity.this, "success", Toast.LENGTH_SHORT).show();
}else{
Toast.makeText(MainActivity.this, "failure", Toast.LENGTH_SHORT).show();
}
}
});
}
错误: No implementation found for boolean cn.bmob.v3.helper.BmobNative.init(android.content.Context, java.lang.String) (tried Java_cn_bmob_v3_helper_BmobNative_init and Java_cn_bmob_v3_helper_BmobNative_init__Landroid_content_Context_2Ljava_lang_String_2)
5 回答
NullMoneyException
TA贡献9条经验 获得超16个赞
同求 这个问题 Process: com.example.mystu.xueshenggonxuanke, PID: 20789
java.lang.UnsatisfiedLinkError: Native method not found: cn.bmob.v3.helper.BmobNative.init:(Landroid/content/Context;Ljava/lang/String;)Z
- 5 回答
- 0 关注
- 8438 浏览
添加回答
举报
0/150
提交
取消