java - unable to find class referenced in signature (Lorg/shaded/apache/log4j/Logger;) after upgrading Firebase for Android -
when save firebase data storage, getting following errors email , password registration fine in login&auth section. using java, android. spent 3 hours cannot fix problems (maybe new firebase android update?).
here proof email/pass working:
firebase f = new firebase("https://myapp.firebaseio.com/"); firebase userdata = f.child("user"); //save login&auth of email , password success userdata.createuser(emailaddr.gettext().tostring(), passwd.gettext().tostring(), new firebase.valueresulthandler<map<string, object>>() { @override public void onsuccess(map<string, object> result) { system.out.println("successfully created user account uid: " + result.get("uid")); } @override public void onerror(firebaseerror firebaseerror) { // there error } }); firebase set_user = userdata.push(); string user_id = set_user.getkey(); //save database failed map<string, object> save_user = new hashmap<string, object>(); save_user.put("disp_name", dispname.gettext().tostring()); save_user.put("real_name", rl_name.gettext().tostring()); save_user.put("email_addr", emailaddr.gettext().tostring()); save_user.put("user_pwd", passwd.gettext().tostring()); save_user.put("id",user_id); set_user.setvalue(save_user);
the following errors running code above.
vfy: unable find class referenced in signature (lorg/shaded/apache/log4j/logger;)
and
vfy: unable resolve virtual method 26177: lorg/shaded/apache/log4j/category;.log (ljava/lang/string;lorg/shaded/apache/log4j/priority;ljava/lang/object;ljava/lang/throwable;)v
and
could not find method org.shaded.apache.log4j.category.log, referenced method org.shaded.apache.commons.logging.impl.log4jlogger.trace
and
vfy: unable resolve static field 9561 (warn) in lorg/shaded/apache/log4j/priority;
these warnings shaded version of apache httpclient library firebase includes , affect logging disabled default. caused reflection not working shading. should not prevent firebase library working , can ignore these warnings now.
Comments
Post a Comment