[QUESTION] Is there a way to provide a custom SDK jar to access hidden APIs?

Open
#487 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
android, java
Domain
build-system

Research direction

Start by reviewing how rules_android configures framework jars and SDK inputs, then check the existing discussion for any supported customization point. Done means documenting a supported way to provide a custom framework jar for hidden APIs, or clearly stating that the SDK jar cannot be replaced through the rules.

Written by the indexing model from the issue text.

Description

I'm new to rules_android, and I wonder if there's a neat way to replace a framework jar with a custom jar, for example to include hidden symbols, to avoid manually replacing the jar in the SDK folder. After some trial I couldn't come up with anything.

Thank you!

Dominant language
Java
Stars
205
Forks
113
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazelbuild/rules_android

All issues in bazelbuild/rules_android

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.