MZCretin / AutoUpdateProject

App 内部更新 提供12种更新的样式 支持Android全系统版本 支持自定义UI 断点续传
1.07k stars 222 forks source link

android studio dolphin can't build #48

Closed Luke-Tang closed 1 year ago

Luke-Tang commented 2 years ago

android studio dolphin, can't build

Task :app:dataBindingMergeDependencyArtifactsDebug
AGPBI: {"kind":"warning","text":"Your project has set `android.useAndroidX=true`, but configuration `:app:debugRuntimeClasspath` still contains legacy support libraries, which may cause runtime issues.\nThis behavior will not be allowed in Android Gradle plugin 8.0.\nPlease use only AndroidX dependencies or set `android.enableJetifier=true` in the `gradle.properties` file to migrate your project to AndroidX (see https://developer.android.com/jetpack/androidx/migrate for more info).\nThe following legacy support libraries are detected:\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-annotations:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:collections:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1 -> android.arch.lifecycle:common:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1 -> android.arch.core:common:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> com.android.support:versionedparcelable:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:cursoradapter:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:documentfile:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1 -> android.arch.core:runtime:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1 -> android.arch.lifecycle:livedata-core:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> android.arch.lifecycle:viewmodel:1.1.1\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:localbroadcastmanager:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:print:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:customview:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:viewpager:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:coordinatorlayout:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:drawerlayout:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:slidingpanelayout:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:interpolator:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:swiperefreshlayout:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:asynclayoutinflater:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-vector-drawable:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:animated-vector-drawable:28.0.0\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support.constraint:constraint-layout:1.1.3\n:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support.constraint:constraint-layout:1.1.3 -> com.android.support.constraint:constraint-layout-solver:1.1.3","sources":[{}]}
Your project has set `android.useAndroidX=true`, but configuration `:app:debugRuntimeClasspath` still contains legacy support libraries, which may cause runtime issues.
This behavior will not be allowed in Android Gradle plugin 8.0.
Please use only AndroidX dependencies or set `android.enableJetifier=true` in the `gradle.properties` file to migrate your project to AndroidX (see https://developer.android.com/jetpack/androidx/migrate for more info).
The following legacy support libraries are detected:
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-annotations:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:collections:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1 -> android.arch.lifecycle:common:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> android.arch.lifecycle:runtime:1.1.1 -> android.arch.core:common:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-compat:28.0.0 -> com.android.support:versionedparcelable:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:cursoradapter:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:documentfile:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1 -> android.arch.core:runtime:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:loader:28.0.0 -> android.arch.lifecycle:livedata:1.1.1 -> android.arch.lifecycle:livedata-core:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> android.arch.lifecycle:viewmodel:1.1.1
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:localbroadcastmanager:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-core-utils:28.0.0 -> com.android.support:print:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:customview:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:viewpager:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:coordinatorlayout:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:drawerlayout:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:slidingpanelayout:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:interpolator:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:swiperefreshlayout:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-fragment:28.0.0 -> com.android.support:support-core-ui:28.0.0 -> com.android.support:asynclayoutinflater:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:support-vector-drawable:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support:appcompat-v7:28.0.0 -> com.android.support:animated-vector-drawable:28.0.0
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support.constraint:constraint-layout:1.1.3
:app:debugRuntimeClasspath -> com.github.MZCretin:AutoUpdateProject:2.0.5 -> com.android.support.constraint:constraint-layout:1.1.3 -> com.android.support.constraint:constraint-layout-solver:1.1.3

> Task :app:dataBindingMergeDependencyArtifactsDebug UP-TO-DATE
Luke-Tang commented 2 years ago

set android.enableJetifier=true in the gradle.properties 后能编译, 但根据上面log提示,遗留的support libraries很快就不能用了