Android Build Error: minCompileSDK (30) in a dependency...

ExpoKit 42 getting this error on android build:

The minCompileSdk (30) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-29).
Dependency: androidx.work:work-runtime:2.7.0-alpha05.
AAR metadata file: C:\Users\owen_\.gradle\caches\transforms-2\files-2.1\b1836f4922a358d81dacf9c5f52e4afa\work-runtime-2.7.0-alpha05\META-INF\com\android\build\gradle\aar-metadata.properties.

Any help would be appreciated!

Solved by modifying

minCompileSdk = 29

to

minCompileSdk = 30

in app/build.gradle

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.