Java Question Compile ExoPlayer with SLC but no stan.jar

sea1812

Member
Licensed User
When I downloaded the Lib_Exoplayer from github.com and compile it with SLC, I got the same error like this https://www.b4x.com/android/forum/threads/use-slc-to-compile-exoplayer-lib-got-error.88259/.

As Erel said :
1. Create an empty B4A project. Add all these aar libraries with #AdditionalJar.
2. Run the project.
3. Find a file named stan.jar in the Objects folder. Copy it to the libs folder of your ExoPlayer project.

But I could not found the stan.jar anywhere. So what should I do ? Thanks and sorry for my pure English.

Ps: My B4A version is 11.50
 

sea1812

Member
Licensed User
Thanks for reply. I need add an extension-ffmpeg into ExoPlayer, so I had to compile the lib. Any suggestion ?
 

sea1812

Member
Licensed User
There is no more "stan.jar" file. The compiler is more efficient now and doesn't need to create this intermediately file.

You should add a reference to exoplayer_desugar.jar. You will find it in the additional libs zip.
Thanks Erel, I will try.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…