Android Question [SOLVED] com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26) with RuntimPermissions and Xml2Map

Jose Cuevas

Member
Licensed User
Longtime User
Hi, I am having this problem compiling a project:

B4A Version: 10.90
Parsing code. (0.00s)
Java Version: 11
Building folders structure. (0.03s)
Compiling code. (0.03s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.09s)
Linking resources (0.41s)
Compiling generated Java code. (1.28s)
Convert byte code - optimized dex. Error
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
1 error; aborting


I created a new project with all the libraries that I use, and I came to the conclusion that it's these 2 libraries that are causing the problem:

RuntimePermissions and Xml2Map

It had to be a recent update, because 2 days ago everything was working fine.

Thanks in advance for any help.

Regards
 

Jose Cuevas

Member
Licensed User
Longtime User
Hello.

Solved, I download the Android SDK + Required Resources again, and now it compiles the project without any problem.
 
Upvote 0

yolira

Member
Licensed User
Longtime User
 
Upvote 0
Top