Support Library Packages | Android Developers
After migrating a couple of my older projects over to AndroidX it as though three of my dependencies are deprecated: implementation 'com.android.support:appcompat-v7:28..0' implementation 'com.android.support:design:28..0' implementation 'com.android.support:cardview-v7:28..0'
Android支持库AndroidX和support-v4、appcompat-v7的前世今生-CSDN博客
How you setup the Android Support Libraries in your development project depends on what features you want to use and what range of Android platform versions you want to support with your application. This document guides you through downloading the Support Library package and adding libraries to your development environment.
java - how can import android.support.v7.app.Appcompatactivity in ...
import android.support.v7.app.Appcompatactivity; with. import androidx.appcompat.app.AppCompatActivity; will work since v7 is no longer supported. You cannot use them at the same time.
Difference Between AndroidX and Android Support Libraries
androidx.appcompat:appcompat:1.6.-alpha03 and androidx.appcompat:appcompat-resources:1.6.-alpha03 are released. This version requires Android 13 Beta 1 to compile and is not guaranteed to be runtime-compatible with future developer previews. New Features. Support for app-wide custom language selection via AppCompatDelegate ...