Android Question B4A Compile Error

Ibrahim Saleh

Member
Licensed User
Longtime User
My B4a IDE is not working well. I updated the SDK lately and now I can't compile most of my projects.
B4X:
B4A Version: 11.00
Parsing code.    (0.16s)
    Java Version: 8
Building folders structure.    (0.02s)
Compiling code.    (0.20s)
Compiling layouts code.    (0.05s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.22s)
Linking resources    (4.55s)
Compiling generated Java code.    (0.17s)
Convert byte code - optimized dex.    Error
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
2 errors; aborting

Please Help.
 

MarcoRome

Expert
Licensed User
Longtime User
It could be this problem.


In any case, download the SDK from here and reinstall it as indicated Step 2

 
Upvote 1
Top