hello
I startet using jcifs-ng with a simple app to copy a File from the Android to the Server.
.
The example App runs ok, but my own app crashs by the following Java Exception:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/slf4j/LoggerFactory;
at jcifs.config.BaseConfiguration.<clinit>(BaseConfiguration.java:51)
at de.donmanfred.SMBClientwrapper$1.run(SMBClientwrapper.java:67)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
... 3 more
and here the Code
Have I use it as a service, like the example ?
Does anyone have an idea to get this work ?
Thanks in advance
I startet using jcifs-ng with a simple app to copy a File from the Android to the Server.
.
The example App runs ok, but my own app crashs by the following Java Exception:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/slf4j/LoggerFactory;
at jcifs.config.BaseConfiguration.<clinit>(BaseConfiguration.java:51)
at de.donmanfred.SMBClientwrapper$1.run(SMBClientwrapper.java:67)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
... 3 more
and here the Code
B4X:
Sub btAll_Click
Dim val As String
CopyAll = 1
CopyIdx = 0
smbUrl = "smb://" & smbServer & "/" & smbFreig & "/trans/"
smbf.Initialize("smbf", "", smbUser, smbPassw, smbUrl) ' <<<<<< here the app chrashes
If CopyIdx < lvFile.Size Then
val = lvFile.GetItem(CopyIdx)
CallSubDelayed3(Me, "start_upload", val, CopyIdx)
End If
End Sub
Have I use it as a service, like the example ?
Does anyone have an idea to get this work ?
Thanks in advance