I had the (already infamous) com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26) error. I check the forum but could not resolve it. The examples of desugar seems to be for .aar files, but happens to me with JAR files in the library folder, and with many, like GPS, Phone, FirebaseNotification, RuntimePermissions, etc,. I can't work with B4A right now it won't compile what I need, even the simplest example of B4APages, fails if I add for example Runtimepermissions lib. Any hint?
Ufff, finally I could solve this, I case someone run into this, this is what I did: completely removed my Android tools and resources directory (c:\android, in my case) I download from scratch from the installation B4A page . Never happened to me before, but for some reason even if I was updating the sdk's with SDK Manager, does not resolve the issue for me. I need to do this from scratch. I can rest now.
Hi all: I have a small app to open the garage door. It's made with B4XPages and it was working. Now I want to make some changes, and I get the error you can see in the logs. I've searched the forum and I've seen it's related with "desugar" some libraries. I think all the libraries I have in...
@José J. Aguilar man, it was very frustrating for a few days, the thing is I was looking for the "desugar" solutions, since that was the main solution I found relating to that sim exception error.