kotlin Android アプリケーションに Parse SDK 1.20.0 を実装していますが、それを実装してグラドルを同期するたびに、appcompat-v7:28.0.0 でグラドルの非互換性の問題が発生しました。
Android Studio 3.4で作成したParse SDKに接続したkotlinアプリです。過去に、私は appcompat をより小さなバージョンに変更しようとしましたが、gradle の非互換性が発生したようです。
build.gradle (Module:app) のコード:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7: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'
//Parse SDK implementation
implementation "com.github.parse-community.Parse-SDK-Android:parse:1.20.0"
implementation "com.github.parse-community.Parse-SDK-Android:ktx:1.20.0"
}
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
Gradleには互換性があると思っていましたが、結果は常に非互換性を示しています。