Я не могу обновить свою версию Android. Я - оборудование, ограниченное Android 7 (Nougat) и Api Api версии 24 (не 25 из -за зависимости, полоса Android -терминала 2.23.4) < /p>
Я застрял с Java, я думаю.
Я нашел образец проекта, чтобы заставить меня запустить эту более раннюю версию:
https://github.com/android/views-widget ... lourground < /p>
Я использую AGP 3.3.0 и Gradle 5.1.1. < /p>
Мне неясно, смогу ли я обновить их, так как разрешение зависимостей, кажется, не хватает По сравнению с другими менеджерами пакетов, такими как паб Flutter's Pub. Более высокий уровень AGP. < /p>
Я просто хочу, чтобы была какая -то матрица совместимости для Android API, AGP и Gradle. < /p>
В любом случае, потому что я не могу Используйте Wassablefield (который является частью Androidx.DataBinding), мне нужна какая -то альтернатива. Любая справка приветствуется.buildscript {
repositories {
google()
mavenCentral()
// jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
}
}
allprojects {
repositories {
google()
mavenCentral()
// jcenter()
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.android.*******"
minSdkVersion 24
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:27.0.0'
androidTestImplementation 'com.android.support:support-annotations:27.0.0'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.1'
implementation 'com.stripe:stripeterminal:2.23.4'
// implementation 'com.android.databinding:baseLibrary:8.8.0'
}
Подробнее здесь: https://stackoverflow.com/questions/794 ... d-7-nougat