android / android/testing-samples
I can't run tests in project ui/BasicSample
- Dominant language
- Java
- Stars
- 9.3k
- Forks
- 3.6k
- PR merge metrics
- No merged PRs in 30d
Description
I can install the app and use it.
But when I want to run a test, it shows error like this:
`Illegal character in opaque part at index 11: jar:file:D:\04_myproject\official\testing-samples-master\ui\espresso\BasicSample\app\build\intermediates\apk_for_local_test\debugUnitTest\packageDebugUnitTestForUnitTest\apk-for-local-test.ap_`
What should I do ?
Contributor guide
Research direction
Start by reproducing the test run in ui/espresso/BasicSample and inspect the generated APK path shown in the error. Trace where the jar:file URI is created during the local-test APK handling. Done means the BasicSample tests run without the illegal-character exception and produce their expected results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100