Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.1k stars 3.33k forks source link

com.tencent.tinker:tinker-android-lib androidx build time warning with android studio 2021.3.1 #1681

Closed andrew-ld closed 1 year ago

andrew-ld commented 1 year ago
WARNING:Your project has set `android.useAndroidX=true`, but configuration `:redacted:releaseRuntimeClasspath` 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:
:redacted:releaseRuntimeClasspath -> com.tencent.tinker:tinker-android-lib:1.9.1 -> com.tencent.tinker:tinker-android-loader:1.9.1 -> com.android.support:appcompat-v7:23.0.1
:redacted:releaseRuntimeClasspath -> com.tencent.tinker:tinker-android-lib:1.9.1 -> com.tencent.tinker:tinker-android-loader:1.9.1 -> com.android.support:appcompat-v7:23.0.1 -> com.android.support:support-v4:23.0.1
:redacted:releaseRuntimeClasspath -> com.tencent.tinker:tinker-android-lib:1.9.1 -> com.tencent.tinker:tinker-android-loader:1.9.1 -> com.android.support:appcompat-v7:23.0.1 -> com.android.support:support-v4:23.0.1 -> com.android.support:support-annotations:23.0.1

android studio: 2021.3.1 agp: 7.3.0 tinker: 1.9.1

srxffcc1 commented 1 year ago

就是把工程使用 image