Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dynamic feature: enable dex files#437

Open
snazhmudinov wants to merge 4 commits into
bazelbuild:main from
snazhmudinov:has_dex_feature
Open

Dynamic feature: enable dex files #437
snazhmudinov wants to merge 4 commits into
bazelbuild:main from
snazhmudinov:has_dex_feature

Conversation

@snazhmudinov

@snazhmudinov snazhmudinov commented Dec 22, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Expanded the functionality of feature module to include source code. If feature modules are available, we will run single R8 on both base and feature modules, to ensure consistent dex-ing and obfuscation.

The feature activity can be launched on demand, using the following steps:

  1. Make sure you have a connected device/emulator up and running
  2. cd rules_android/examples/bundle && bazel build //app:assets
  3. bundletool build-apks --local-testing
    --bundle=bazel-bin/app/assets_unsigned.aab
    --output=assets.apks
    --connected-device
  4. bundletool install-apks --apks=assets.apks
  5. Launch the app and tap on Load Feature

@snazhmudinov snazhmudinov changed the title (削除) Dynamic feature: do not filter out the dex files (削除ここまで) (追記) Dynamic feature: enable dex files (追記ここまで) Dec 29, 2025
@snazhmudinov snazhmudinov force-pushed the has_dex_feature branch 3 times, most recently from 9a2b686 to b398932 Compare December 30, 2025 07:20
@snazhmudinov snazhmudinov marked this pull request as ready for review January 3, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /