-
-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Description
[Regression] 1.14.7 bumps minSdkVersion to 26, breaking builds for API < 26
Description
There is a regression in io.mockk:mockk-android:1.14.7 compared to 1.14.6. The library's minSdkVersion was increased to 26, causing manifest merger failures for projects targeting older SDKs (e.g., API 23).
This is similar to #893 from version 1.12.7.
Steps to Reproduce
-
Create an Android project with
minSdk = 23. -
Update MockK dependency to
1.14.7(Note:1.14.6works correctly). -
Attempt to build the project.
Error Log
Manifest merger failed : uses-sdk:minSdkVersion 23 cannot be smaller than version 26 declared in library [io.mockk:mockk-android:1.14.7] your/path/AndroidManifest.xml as the library might be using APIs not available in 23
Suggestion: use a compatible library with a minSdk of at most 23,
or increase this project's minSdk version to at least 26,
or use tools:overrideLibrary="io.mockk.android" to force usage
Context/Analysis
The issue appears to be caused by a minSdk version bump in commit daabf98.
Metadata
Metadata
Assignees
Labels
No labels