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:

DonManfred

Expert
Licensed User
Longtime User
Wrong forum? This is the B4A Forum! You should post your problem in the librar developer forum.
 

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) {
   
   
  }
 
Top