Android Question Exoplayer - Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)

sentechnologies

Member
Licensed User
I downloaded new AndroidSDK and updated to B4A 10.90
I created a new b4a project for testing and added Exoplayer Library 1.50. and in Layout designer I added SimpleExoPlayerView and generated member in Sub Globals.
B4A Code:
Private SimpleExoPlayerView1 As SimpleExoPlayerView

When compiling i received the following error

Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
1 error; aborting

Screenshots are attached.
 

Attachments

  • 1.png
    1.png
    17.1 KB · Views: 268
  • 2.png
    2.png
    14 KB · Views: 250
  • 3.png
    3.png
    19.2 KB · Views: 253
  • 4.png
    4.png
    7.3 KB · Views: 239
  • 5.png
    5.png
    33.2 KB · Views: 236

sentechnologies

Member
Licensed User
I already downloaded the additional jars from the same link you specified and placed in addition library folder. But same error
 
Upvote 0

sentechnologies

Member
Licensed User
I reinstalled B4A, Additional LIB, New Android SDK downloaded using B4A SDKManager and I tried both the settings "C:\Android\platforms\android-30\android.jar " and " C:\Android\platforms\android-28\android.jar ". But not successful.

i downloaded GoogleMobileAds(FirebaseAdmob 2021) Example for a try. But same error for all.

But, when i compile new default project, no error received.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Upvote 0

sentechnologies

Member
Licensed User
Finally, I cleaned-up everything in my pc and reinstalled everything including os. No, i got everything working fine. Thanks.
 
Upvote 0
Top