sentechnologies Member Licensed User Jul 4, 2021 #1 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. Code: Copy 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 Click to expand... Screenshots are attached. Attachments 1.png 17.1 KB · Views: 633 2.png 14 KB · Views: 580 3.png 19.2 KB · Views: 545 4.png 7.3 KB · Views: 626 5.png 33.2 KB · Views: 575
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. Code: Copy 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 Click to expand... Screenshots are attached.
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2021 #2 It looks like you haven't downloaded the correct additional jars. Download them from here: https://www.b4x.com/android/forum/threads/exoplayer-mediaplayer-videoview-alternative.72652/#content Upvote 0
It looks like you haven't downloaded the correct additional jars. Download them from here: https://www.b4x.com/android/forum/threads/exoplayer-mediaplayer-videoview-alternative.72652/#content
sentechnologies Member Licensed User Jul 4, 2021 #3 I already downloaded the additional jars from the same link you specified and placed in addition library folder. But same error Upvote 0
I already downloaded the additional jars from the same link you specified and placed in addition library folder. But same error
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2021 #4 Yeskay said: downloaded new AndroidSDK Click to expand... 1. android.jar is wrong. See the instructions: https://www.b4x.com/b4a.html 2. Delete all the exoplayer jars and download again. It should work. Upvote 0
Yeskay said: downloaded new AndroidSDK Click to expand... 1. android.jar is wrong. See the instructions: https://www.b4x.com/b4a.html 2. Delete all the exoplayer jars and download again. It should work.
sentechnologies Member Licensed User Jul 4, 2021 #5 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
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.
agraham Expert Licensed User Longtime User Jul 4, 2021 #6 Yeskay said: New Android SDK downloaded using B4A SDKManager Click to expand... You shouldn't need to run SDK Manager to install a new SDK except to add some every specific items if they are needed. - the instructions say explicitly not to. B4A – The simple way to develop native Android apps (b4x.com) Note that you don't need to run B4A Sdk Manager, unless you want to use the Android emulator, which is less recommended Click to expand... Upvote 0
Yeskay said: New Android SDK downloaded using B4A SDKManager Click to expand... You shouldn't need to run SDK Manager to install a new SDK except to add some every specific items if they are needed. - the instructions say explicitly not to. B4A – The simple way to develop native Android apps (b4x.com) Note that you don't need to run B4A Sdk Manager, unless you want to use the Android emulator, which is less recommended Click to expand...
sentechnologies Member Licensed User Jul 4, 2021 #7 Finally, I cleaned-up everything in my pc and reinstalled everything including os. No, i got everything working fine. Thanks. Upvote 0
Finally, I cleaned-up everything in my pc and reinstalled everything including os. No, i got everything working fine. Thanks.