Cannot setup floating action buttons as class cannot be found (Android Studio)

前端 未结 7 1280
情书的邮戳
情书的邮戳 2021-01-02 07:39

So I am pretty new to android and I am trying to setup a floating action button with the Android Design Support Library using this guide in Android Studio.

My Projec

相关标签:
7条回答
  • 2021-01-02 08:06

    The latest version of Android Studio 3.1.2 seems to not like compile in build.gradle file. Instead I used implementation and it worked fine.

    implementation 'com.android.support:design:27.1.1'
    
    0 讨论(0)
提交回复
热议问题