Error “package android.support.v7.app does not exist”

前端 未结 16 1709
-上瘾入骨i
-上瘾入骨i 2020-11-30 02:03

I am new to android development, and I have been using the command line tools to create an android project. I followed all the instructions given in the tutorial at android

16条回答
  •  时光取名叫无心
    2020-11-30 02:18

    For AndroidX implement following lib in gridle

    implementation 'androidx.palette:palette:1.0.0'

    and import following class in activity -

    import androidx.palette.graphics.Palette;

    for more info see class and mapping for AndroidX https://developer.android.com/jetpack/androidx/migrate/artifact-mappings https://developer.android.com/jetpack/androidx/migrate/class-mappings

提交回复
热议问题