Assigned
Status Update
Comments
sg...@google.com <sg...@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. :)
oh...@gmail.com <oh...@gmail.com> #3
I have the same problem.
sg...@google.com <sg...@google.com> #4
I also have the same problem.
oh...@gmail.com <oh...@gmail.com> #5
I also have the same problem.
ri...@google.com <ri...@google.com> #6
I also have the same problem.
Description
R8 primarily supports class files and archives, as seen here:https://r8.googlesource.com/r8/+/refs/heads/main/src/main/java/com/android/tools/r8/utils/FileUtils.java#68
The issue is that it only checks for the extension instead of their magic number. If a valid archive is not named after an archive extension, R8 will not process the file.
dex\n039\0
as specified in:0xCAFEBABE
:Source files do not have any magic number and would need to be checked for their extension.
An alternative solution to this issue is to add a parameter to specify or override the type of the file to process manually.