Java Question Trying to Desugar exoplayer with no luck

Addo

Well-Known Member
Licensed User
i got the following error when i try to desugar exoplayer aar

always getting Failed to register lambda dump directory i am using the latest android sdk

B4X:
Private AndroidJar As String = "C:\Android\platforms\android-30\android.jar"

the exoplayer version that i am trying to desugar is 2.18.0
 

Addo

Well-Known Member
Licensed User
I´m pretty sure the provided files for exoplayer doesn´t need to be desugared.
Why are you doing this?
i am trying to use the latest version of exoplayer aar thats why i have to desugar the new aar and adjust the exoplayer with the new exoplayer function and remove the deprecated old version usage, then recompile the library
 

JohnC

Expert
Licensed User
Longtime User
It is no longer needed to desugar libraries.
Where can I get more info on why this is no longer needed, or is it not needed for only certain types of libs?
 

JohnC

Expert
Licensed User
Longtime User
probably because of the new toolchains in the newest SDK.
Desugaring was needed before the new tools were available.
Excellent to know - thank you Don.
 

JohnC

Expert
Licensed User
Longtime User
So does that mean that the newer SDK will allow the latest version of B4A to work with *any* library that worked with B4A 9.x?
 

DonManfred

Expert
Licensed User
Longtime User
So does that mean that the newer SDK will allow the latest version of B4A to work with *any* library that worked with B4A 9.x?
I can not answer this. It is far above my knowledge about the toolchain.
I can´t see any reason why a library will not work.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…