Java Question MessagePack Library

victormedranop

Well-Known Member
Licensed User
Longtime User
HI, all. I made a client in java to connect to a socket server using serialize with MessagePack.
work great, but when I try to port the library to Android I get this error :

java.lang.NoClassDefFoundError: Failed resolution of: Lorg/slf4j/LoggerFactory;

in Linux,mac and windows works. but not with android.

I really don't know how to solve this.

is someone have an idea please let me know.

here a simple example of the library.


[/code]
 
Last edited:

victormedranop

Well-Known Member
Licensed User
Longtime User
Solve.
B4X:
import org.slf4j.Logger;
import org.slf4j.Marker;

  @Override
  public void warn(Marker arg0, String arg1, Object arg2, Object arg3) {
   
   
  }
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…