Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ dependencies {
//
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.1"

testImplementation 'org.mockito:mockito-core:5.8.0'
androidTestImplementation 'org.mockito:mockito-android:5.8.0'
testImplementation 'org.mockito:mockito-core:5.23.0'
androidTestImplementation 'org.mockito:mockito-android:5.23.0'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mockito-android 5.23.0 requires API 28 but minSdk is 21

Medium Severity

The mockito-android:5.23.0 release notes explicitly state that instrumented tests now require a device or emulator running API 28+ (Android P). The project's minSdkVersion is 21, meaning any instrumented test runs on devices or emulators using API 21–27 will fail at runtime. This could silently break CI pipelines or local test workflows that target older API levels.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b9a3e70. Configure here.

testImplementation 'androidx.annotation:annotation:1.7.1'

testImplementation 'junit:junit:4.13.2'
Expand Down
Loading