victormedranop Well-Known Member Licensed User Longtime User Jan 14, 2018 #1 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: Jan 14, 2018
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]
DonManfred Expert Licensed User Longtime User Jan 14, 2018 #2 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 Jan 14, 2018 #3 My Mistake, Can you show me how to move it ? or should I create a new post. VIctor
victormedranop Well-Known Member Licensed User Longtime User Jan 14, 2018 #4 Solve. B4X: import org.slf4j.Logger; import org.slf4j.Marker; @Override public void warn(Marker arg0, String arg1, Object arg2, Object arg3) { }
Solve. B4X: import org.slf4j.Logger; import org.slf4j.Marker; @Override public void warn(Marker arg0, String arg1, Object arg2, Object arg3) { }