WAI
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Which app are you using? Please share its Play Store link. Also mention the steps to be followed for reproducing the issue with the given app.
Can you share a bug report, after reproducing the issue ?
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
NOTE: Please upload the files to Google Drive and share the folder to android-bugreport@google.com, then share the link here.
Can you share a bug report, after reproducing the issue ?
Frequency
How frequently does this issue occur? (e.g 100% of the time, 10% of the time)
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
NOTE: Please upload the files to Google Drive and share the folder to android-bugreport@google.com, then share the link here.
Description
As it was mentioned here :
This works well for application (app bundle), but it was turned out, this doesn't work for library (aar).
Please, check out the demo project. It contains 3 modules:
app
,sdk
andbaseline-profile
. Modulesapp
andsdk
are both configured to be built with Baseline Profile.Build App Bundle:
Build AAR:
Then open
./app/build/outputs/bundle/release/app-release.aab
in Android Studio and check two files -classes.dex
andbaseline.prof
- both have obfuscated classes, everything is well, as expected.Then open
./sdk/build/outputs/aar/sdk-release.aar
in Android Studio and check two files -classes.jar
andbaseline-prof.txt
- the first one has obfuscated classes, but the second one have not!Expected state: classes & methods in
baseline-prof.txt
must be obfuscated according toclasses.jar
.