Migrating to the AppCompat Library


Android Studio v3.4.1 and higher will now start forcing AndroidX namespaces. See this document for migrating libraries and imports.

The AppCompat support library enables the use of the ActionBar and Material Design specific implementations such as Toolbar for older devices down to Android v2.1.

Caution: Starting with Support Library release 26.0.0 (July 2017), the minimum supported API level across most support libraries has increased to Android 4.0 (API level 14) for most library packages

android {
    compileSdkVersion 29

dependencies {
    // See
    implementation 'androidx.appcompat:appcompat-1.0.2'


Fork me on GitHub