Assigned
Status Update
Comments
bi...@google.com <bi...@google.com>
vi...@google.com <vi...@google.com>
bi...@google.com <bi...@google.com> #2
I tried adding screenshotTestImplementation(libs.androidx.window)
but it didn't fix it.
bi...@google.com <bi...@google.com> #3
This is likely a duplicate of libs.androidx.window
dependency to implementation
to see if it works?
cl...@google.com <cl...@google.com> #4
Ok I will try again let's sync tomorrow
cl...@google.com <cl...@google.com> #5
So I've looked into it and could reproduce.
The problem in the second case comes from the call to stream being placed in an Application class and not another class in the system. In your sample project, did you do that?
Description
Currently there is no tests in R8 or studio infrastructure ensuring that desugared library works with pre-native-multi-dex.
The test has to run on SDK 20 or below (The test device should be SDK <= 20, besides the minAPI level) and use anything belonging to desugared library.
There are some details regarding pre-native-multi-dex and the use of secondary dex files, desugared library types cannot be used or referenced before the MultiDex have been installed.
Here is a working example:
Here is a non working example: