java.lang.NoSuchMethodError: No static method getBoolean(Ljava/util/Properties;Ljava/lang/String;Z)Z in class Ljcifs/Config; or its super classes (declaration of 'jcifs.Config' appears in base.apk)
at jcifs.config.PropertyConfiguration.<init>(PropertyConfiguration.java:46)
at de.donmanfred.SMBClientwrapper$1.run(SMBClientwrapper.java:67)
at de.donmanfred.SMBClientwrapper$1.run(SMBClientwrapper.java:67)
ReadFile.Initialize(File.OpenInput(File.DirRootExternal & "/TentataVendita/Configurazione","Parameter.ini"))
credential.Domain = ReadFile.ReadLine
credential.Username = ReadFile.ReadLine
credential.Password = ReadFile.ReadLine
credential.Share = "smb://" & credential.Domain & "/" & ReadFile.ReadLine
ReadFile.Close
tipotrasferimento="scarico"
SMBInit(credential)
Sub SMBInit(cred As SMBCred)
smbClient.Initialize("SMBClient",cred.Domain,cred.Username,cred.Password,cred.Share)
End Sub
Does the example app works if you use your credentials there?
Add some log to check the values read from the ini file if they are set correctly.
This is probably the issue. You are not expected to remove any classes.When I put the same instructions in this program, which I had done in the past, I first had to delete some classes in the jcifs-ng.jar file because it didn't compile me and told me that those ".class" files already existed.
This is probably the issue. You are not expected to remove any classes.
Create a new thread, post the full error you got about the dublicate dependencies.
I noticed that I have two similar libraries .... could this be the cause of the error?
Please post errors as TEXT. Copy the text and paste it.
only one of them should be added at all. Try remove one of the #additionaljar lines
this file must be in the additional libs folder. The jcif-ng.jar and .xml must be in the additional libs folder too.jcfis-ng 2-1-2.jar
this file must be in the additional libs folder. The jcif-ng.jar and .xml must be in the additional libs folder too.
Make sure NOT to put all of them into the internal libary folder
Check the jcif-ng.xml file (edit it and look at the end of the file). Is there a different DependsOn line listed?
The additional library folder should not be inside the program files folder.did I get it right ?
so no #additionaljar should be used then in your project.At the end of the file I find this
so no #additionaljar should be used then in your project.
The additional library folder should not be inside the program files folder.
Use any other Folder.
C:\Android\Addlibs
D:\AnyPath
Make sure to configure the ide to set this path for the additional libs folder..
NO! NO! NO!o I created a folder here
C: \ Program Files (x86) \ Anywhere Software \ Basic4android \ LibAgg
NO! NO! NO!
You should NOT use the programfiles folder. It is a restricted folder.
Problem Library jcifs-ng
Good evening, i have a problem with a program. I am performing the file transfer, using the SMB. I am using the jcifs-ng library (v. 0.32). I initialized the smbClient variable and when I call the SMBINIT procedure I get this message: java.lang.NoSuchMethodError: No static method...www.b4x.com
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?