Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baseline Profile missing from Universal Apk #295

Closed
kenshin171 opened this issue Jun 30, 2022 · 1 comment
Closed

Baseline Profile missing from Universal Apk #295

kenshin171 opened this issue Jun 30, 2022 · 1 comment

Comments

@kenshin171
Copy link

Describe the bug
Bundletool does not seem to bundle the baseline profiles located inside the folder BUNDLE-METADATA/com.android.tools.build.profiles in an aab into the universal apk.

Bundletool version(s) affected
Version: 1.11.0

Stacktrace
NA

To Reproduce
commands used to generate universal apk

bundletool build-apks --bundle=output.aab --output=output.apks --ks=path/to/my/keystore/keystore --key-pass="pass:password" --ks-key-alias=release --ks-pass="pass:keypass" --mode=universal --overwrite

unzip output.apks universal.apk

Expected behavior
When i inspect the aab in android studio, i can see that, there is indeed baseline profile files at BUNDLE-METADATA/com.android.tools.build.profiles, but after I create the universal apk. when i inspect the apk, i cannot find the baseline profile files in the assets/dexopt folder at all.

Known workaround
Nil

Environment:
OS: MacOs 12.4

Additional context
Add any other context about the problem here.

@ymakhno
Copy link

ymakhno commented Sep 3, 2022

Fixed in 1.11.1.

@ymakhno ymakhno closed this as completed Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants