Is it possible to use dexmaker-mockito-inline on API <28?
- Dominant language
- Java
- Stars
- 2k
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I need dexmaker-mockito-inline to run tests on Android 9.0, but I still want to run tests on older apis. Currently I have this error:
` Caused by: java.io.IOException: Requires API level 28. API level is 23`
Is there a way to run tests on different API without changing gradle dependencies which is not quite convenient?
Contributor guide
Research direction
No source file or test is named. Start by reproducing the API 23 failure with dexmaker-mockito-inline while comparing the API 28 setup, then inspect the Gradle dependency configuration and related Android test entry points. Done means the same dependency setup can support the requested older APIs without requiring manual dependency changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100