bazelbuild / bazelbuild/rules_android
`filter_zip_exclude` strips test APK classes needed at runtime for instrumentation tests
Open
- Dominant language
- Java
- Stars
- 203
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
When building an instrumentation test with android_binary + instruments, _process_deploy_jar removes all .class files from the test APK that overlap with the app's deploy jar. This causes ClassNotFoundException at runtime because the test APK's classloader can't find classes that were filtered out.
Repro: https://github.com/snazhmudinov/rules_android-process-crash-repro
Contributor guide
Assessment
This issue has not been assessed yet.