T Thomas Görtler New Member Licensed User Jul 14, 2021 #1 Hi all, I tried to recompile an older app with the current B4A version. The project uses version 1.11 of the Printing lib (https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/). This lib seems to cause an error "Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba" which I already found in some other forum threads with an advice (here https://www.b4x.com/android/forum/threads/desugar-fix-the-invokedynamic-requires-error.107278/) on how to fix these kind of problems. Unfortunately I wasn't successfull in fixing the problem. I get some errors from the desugar.jar (Failed to register lambda dump directory ...) Any suggestions on how to fix it or maybe a new version would be highly appreciated. Thomas
Hi all, I tried to recompile an older app with the current B4A version. The project uses version 1.11 of the Printing lib (https://www.b4x.com/android/forum/threads/printing-and-pdf-creation.76712/). This lib seems to cause an error "Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba" which I already found in some other forum threads with an advice (here https://www.b4x.com/android/forum/threads/desugar-fix-the-invokedynamic-requires-error.107278/) on how to fix these kind of problems. Unfortunately I wasn't successfull in fixing the problem. I get some errors from the desugar.jar (Failed to register lambda dump directory ...) Any suggestions on how to fix it or maybe a new version would be highly appreciated. Thomas
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2021 #2 You are probably using an old Android SDK. Delete it and download a new one: https://www.b4x.com/b4a.html Upvote 0
You are probably using an old Android SDK. Delete it and download a new one: https://www.b4x.com/b4a.html
T Thomas Görtler New Member Licensed User Jul 14, 2021 #3 WOW! Fast reply! After deleting the SDK files and redownloaded everything it works! Thanks a lot! Saved my day ... donation incomming! Upvote 0
WOW! Fast reply! After deleting the SDK files and redownloaded everything it works! Thanks a lot! Saved my day ... donation incomming!