Fixed
Status Update
Comments
ch...@google.com <ch...@google.com> #2
Comment has been deleted.
an...@google.com <an...@google.com> #4
➜ My-App git:(feature-agp-7.0) ✗ echo $JAVA_HOME
/Applications/Android Studio Arctic Fox.app/Contents/jre/Contents/Home
➜ My-App git:(feature-agp-7.0) ✗ "/Applications/Android Studio Arctic Fox.app/Contents/jre/Contents/Home/bin/java" --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7281165, mixed mode)
Description
Trying to use
ExoPlayer
in Compose Previews currently results in a Render Error, because classes fromandroid.media
(e.g.MediaCryptoException
) are not loaded in layoutlib.The attached project has a sample repro (
AudioPlayerViewPreview
).