Android Question Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/tomlost/MSSQL/MSSQL;

romario87027

Active Member
Licensed User
Longtime User
B4A Versione: 10.50
Analisi del Codice. (0.01s)
Java Versione: 11
Building folders structure. (0.01s)
Compilazione del codice. (0.12s)
Compilazione del codice di layouts (0.00s)
Organizzazione Librerie. (0.00s)
(AndroidX SDK)
Generazione file R. (0.00s)
Compilazione del codice debugger. (0.00s)
Compilazione del codice Java prodotto. (0.00s)
Conversione byte code - ottimizzazione dex. Error
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.CharsetInfo$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.ConnectionJDBC2$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.DateTime$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.Support$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.TdsCore$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.ssl.SocketFactories$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.ssl.SocketFactoriesSUN$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/tomlost/MSSQL/MSSQL;
1 error; aborting

I can't understand the problem
 

makis_best

Well-Known Member
Licensed User
Longtime User
First of all upgrade to 10.60
Make sure you done the installation steps correctly.
Check your libraries... I think you have a conflict there about the classes you call.
Probably are the same?
Have you run jetifier?
 
Upvote 0

romario87027

Active Member
Licensed User
Longtime User
Thanks for the help, I tried to do as you said, but nothing.
 

Attachments

  • Screenshot_8.jpg
    Screenshot_8.jpg
    156.3 KB · Views: 259
  • Screenshot_1.jpg
    Screenshot_1.jpg
    48.2 KB · Views: 255
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Thanks for the help, I tried to do as you said, but nothing.
Did you select a path from program files folder for the additional libraries???????
Additional library should NOT be there. They should be on a accessible path.

Are you sure the library you want to use is for Android?
 
Upvote 0

romario87027

Active Member
Licensed User
Longtime User
B4A Version: 10.60
Parsing code. (0.02s)
Java Version: 11
Building folders structure. (0.02s)
Compiling code. (0.11s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.00s)
Compiling debugger engine code. (0.00s)
Compiling generated Java code. (0.00s)
Convert byte code - optimized dex. Error
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.CharsetInfo$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.ConnectionJDBC2$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.DateTime$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.TdsCore$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.jdbc.Support$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.ssl.SocketFactories$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(net.sourceforge.jtds.ssl.SocketFactoriesSUN$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/tomlost/MSSQL/MSSQL;
1 error; aborting
 
Upvote 0
Top