Android Question Compile Error with lib

adriano.freitas

Active Member
Hi,

I had a class that I decided to compile as LIB so that I can use it in more than one application. I've done this before with other classes and everything went well. When changing a last class, when compiling the application the following error occurs:


Convert byte code - optimized dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lb4a/example/dbutils;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lb4a/example/dbutils$_dbfieldinfo;
2 errors; aborting



I honestly don't know what it can be, since I've already searched for DBUtils class updates, recompiled all the libraries, etc... No solution!

Only if there is conflict with libraries that are not mine and I cannot change it.

Any idea how to solve it?
 

asales

Expert
Licensed User
Longtime User
Humm... B4xlibs? Much difference to do this?
Much simple.
 
Upvote 0

adriano.freitas

Active Member
Wow! Really very practical! Thank you all! I use B4A for a short time and my native language doesn't help, I still get confused and I don't always find the information I need quickly on the forum! Grateful for the help!
 
Upvote 0
Top