Assigned
Status Update
Comments
ap...@google.com <ap...@google.com> #2
I just attached a minimal test application with duplicated and multiline traces. Provided are a couple of logcat files and screenshots.
To me this isn'r really a big problem, since AS compiles my application and lets me debug it. That's what I use it for in my company. I just found it a bit annoying that something that worked one way in AS 2.x and 3.0, suddenly changed in 3.1. The new way results more time-consuming to me while debugging and reviewing the logs.
Could this be made configurable? Not necessarily in the UI, but editing some properties file. Thanks. :)
To me this isn'r really a big problem, since AS compiles my application and lets me debug it. That's what I use it for in my company. I just found it a bit annoying that something that worked one way in AS 2.x and 3.0, suddenly changed in 3.1. The new way results more time-consuming to me while debugging and reviewing the logs.
Could this be made configurable? Not necessarily in the UI, but editing some properties file. Thanks. :)
ap...@google.com <ap...@google.com> #3
I have the same problem.
Description
Allow an R8 compilation to only apply R8 to a part of the program, and compile the rest of the program with D8.
This allows developers to gradually opt in to using R8 by only applying it to the part of the program which has been sufficiently configured for R8 (i.e. has the required rules).
One way of using this could be to only compile libraries correctly configured for R8 with R8 and compile the remaining program with D8. The JetPack (
androidx
) libraries are good candidates here.The implementation expected to roughly take this overall approach:
This still leaves many details open (e.g. handling desugared library, feature splits, profiles, ...). This will also generate R8 compilations with larger parts of the program on classpath, which is not currently a common use case.