What does it mean in android gradle.
adding //noinspection GradleCompatible has resolve the conflict issue with dependencies.
I had the same problem and finally I have added this line by pressing alt+enter
, but before that check if the app compat library version is latest version that there is available for your app's target sdk version.
If that is okay and you are still getting the problem then do this by pressing alt+enter
key (in ubuntu and windows) and (in mac os (os x) use command +shift +enter) add noinspection GradleCompatible
this will help!
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'me.dm7.barcodescanner:zxing:1.9'
implementation 'com.android.support:support-media-compat:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
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