WAI
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Android build
Which Android build are you using? (e.g. PPP5.180610.010)
From the provided description it seems you are reporting this bug from an end user's perspective. Kindly confirm the same.
Could you please share a bugreport.
Android build
Which Android build are you using? (e.g. PPP5.180610.010)
From the provided description it seems you are reporting this bug from an end user's perspective. Kindly confirm the same.
Could you please share a bugreport.
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
.