I'm very new to the android development. I imported my friend's project in my android studio and I'm having this trouble right now that I'm unable to sort out on my own. Please help me fix it.
Asked
Active
Viewed 763 times
0

Phantômaxx
- 37,901
- 21
- 84
- 115

AQ Hassaan
- 43
- 4
3 Answers
1
You have to add the design support library in your build.gradle
:
implementation 'com.android.support:design:25.3.1'

joão victor Dias
- 13
- 3

Jéwôm'
- 3,753
- 5
- 40
- 73
0
FloatingActionButton and snackbar are components of design LIB
Add this in your app gradle file
compile 'com.android.support:design:23.1.1'

jagapathi
- 1,635
- 1
- 19
- 32
0
Package android.support.design.widget.FloatingActionButton
and android.support.design.widget.Snackbar
lies under design-support
library. You have to add design-support
library into your project.
Add below dependencies
into your app
modules build.gradle
file and Sync
.
dependencies {
............
................
compile 'com.android.support:design:25.3.1'
}
Hope this will help

Jéwôm'
- 3,753
- 5
- 40
- 73

Ferdous Ahamed
- 21,438
- 5
- 52
- 61
-
Thanks for accepting my answer. If my answer seems useful please vote it up. Thanks in advance :) – Ferdous Ahamed May 20 '17 at 17:17