linkedin / linkedin/dexmaker

Is it possible to use dexmaker-mockito-inline on API <28?

Open
#120 7 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.