Hi i am facing issue in minCompileSdk (31) specified in a dependency's AAR metadata in ionic capacitor ,when i try to build capacitor app in android studio i got this issue, can anyone please help.
The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.appcompat:appcompat:1.4.0-beta01.
AAR metadata file: C:\Users\username\.gradle\caches\transforms-2\files-2.1\6bf49fd8cef0098411b4a61e01232e22\appcompat-1.4.0-beta01\META-INF\com\android\build\gradle\aar-metadata.properties.
Add this into the build.gradle
configurations.all {
resolutionStrategy {
force 'androidx.appcompat:appcompat:1.3.1'
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With