Я новичок в android разработке. Когда я строю свой android проект, он выдает ошибку
INFO: API 'optionOutput.getPackageLibrary ()' устарел и был заменен на 'variable.getPackageLibraryProvider ()'. Он будет удален в конце 2019 года. Для получения дополнительной информации см. https://d.android.com/r/tools/task-configuration-avoidance. Чтобы определить, что вызывает optionOutput.getPackageLibrary (), используйте -P android .debug.obsoleteApi = true в командной строке для отображения дополнительной информации. Затронутые модули: конденсатор - android
Я попробовал решения, предложенные в других топиках c при реализации 'com. android .support: appcompat-v7: 28.0.0 '
Может кто-нибудь помочь мне, пожалуйста? Спасибо за ваше время!
Мой файл build.gradle (конденсатор - android):
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.novoda:bintray-release:0.9.1'
}
}
tasks.withType(Javadoc).all { enabled = false }
apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
//implementation 'com.android.support:appcompat-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:customtabs:28.0.0'
implementation 'com.google.firebase:firebase-messaging:18.0.0'
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'
implementation 'org.apache.cordova:framework:7.0.0'
}
def version = System.getenv("BINTRAY_PKG_VERSION")
publish {
userOrg = 'ionic-team'
repoName = 'capacitor'
groupId = 'ionic-team'
artifactId = 'capacitor-android'
if (version != null) {
publishVersion = System.getenv("BINTRAY_PKG_VERSION")
} else {
publishVersion = '0.0.0'
}
desc = 'Capacitor Android Runtime'
website = 'https://github.com/ionic-team/capacitor'
}