Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not resolve symbol FloatingActionButton #209

Open
PrafullaKumarSahu opened this issue Feb 12, 2016 · 1 comment
Open

Can not resolve symbol FloatingActionButton #209

PrafullaKumarSahu opened this issue Feb 12, 2016 · 1 comment

Comments

@PrafullaKumarSahu
Copy link

I am unable too import FloatingActionButton and Snackbar class successfully, Can anyone guide me ?

import android.app.ListActivity;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import android.view.MenuItem;

build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

@opreani
Copy link

opreani commented Jun 7, 2018

Add this to your build gradle app module - implementation 'com.android.support:design:27.1.1'(or any newer version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants