Can't find android.support.design.widget.Snackbar in support design library2019 Community Moderator ElectionCannot open layout in Android Studioemulator connection to wampserverandroid.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayoutI got this error “error: package com.google.firebase.messaging does not exist”notification manager doesn't work in KitkatHow to enable proguard in android studio?Kotlin fails to compile a libraryPowermock is not working in Android Studio

Who is our nearest neighbor

What is the definition of "Natural Selection"?

Why must traveling waves have the same amplitude to form a standing wave?

Is it true that real estate prices mainly go up?

US to Europe trip with Canada layover- is 52 minutes enough?

Why don't MCU characters ever seem to have language issues?

Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?

validation vs test vs training accuracy, which one to compare for claiming overfit?

Is a lawful good "antagonist" effective?

Best approach to update all entries in a list that is paginated?

Prove that the total distance is minimised (when travelling across the longest path)

Do Bugbears' arms literally get longer when it's their turn?

What has been your most complicated TikZ drawing?

Can "semicircle" be used to refer to a part-circle that is not a exact half-circle?

redhat 7 + How to stop systemctl service permanent

What does おとこえしや mean?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

My story is written in English, but is set in my home country. What language should I use for the dialogue?

Provisioning profile doesn't include the application-identifier and keychain-access-groups entitlements

Does Linux have system calls to access all the features of the file systems it supports?

When is a batch class instantiated when you schedule it?

Playing ONE triplet (not three)

Make a transparent 448*448 image

Potentiometer like component



Can't find android.support.design.widget.Snackbar in support design library



2019 Community Moderator ElectionCannot open layout in Android Studioemulator connection to wampserverandroid.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.support.design.widget.CoordinatorLayoutI got this error “error: package com.google.firebase.messaging does not exist”notification manager doesn't work in KitkatHow to enable proguard in android studio?Kotlin fails to compile a libraryPowermock is not working in Android Studio










35















I develop own library module where I use Snackbar.



Here is my Gradle file:



apply plugin: 'com.android.library'

android
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
compile 'com.android.support:design:23.1.1'



As you can see, I have added import com.android.support:design:23.1.1, but as result I get error:




error: package android.support.design.R does not exist




How can I solve this problem?










share|improve this question



















  • 1





    Indeed the import package you've entered in your block quote is incorrect. This is the correct path import android.support.design.widget.Snackbar

    – Sharp Edge
    Dec 14 '15 at 9:33











  • change your build tool version to 23.1.1

    – Anuj Sharma
    Dec 14 '15 at 9:46






  • 1





    add, compile 'com.android.support:design:23.0.0'

    – Tushar Pandey
    May 21 '16 at 17:10















35















I develop own library module where I use Snackbar.



Here is my Gradle file:



apply plugin: 'com.android.library'

android
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
compile 'com.android.support:design:23.1.1'



As you can see, I have added import com.android.support:design:23.1.1, but as result I get error:




error: package android.support.design.R does not exist




How can I solve this problem?










share|improve this question



















  • 1





    Indeed the import package you've entered in your block quote is incorrect. This is the correct path import android.support.design.widget.Snackbar

    – Sharp Edge
    Dec 14 '15 at 9:33











  • change your build tool version to 23.1.1

    – Anuj Sharma
    Dec 14 '15 at 9:46






  • 1





    add, compile 'com.android.support:design:23.0.0'

    – Tushar Pandey
    May 21 '16 at 17:10













35












35








35


6






I develop own library module where I use Snackbar.



Here is my Gradle file:



apply plugin: 'com.android.library'

android
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
compile 'com.android.support:design:23.1.1'



As you can see, I have added import com.android.support:design:23.1.1, but as result I get error:




error: package android.support.design.R does not exist




How can I solve this problem?










share|improve this question
















I develop own library module where I use Snackbar.



Here is my Gradle file:



apply plugin: 'com.android.library'

android
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
compile 'com.android.support:design:23.1.1'



As you can see, I have added import com.android.support:design:23.1.1, but as result I get error:




error: package android.support.design.R does not exist




How can I solve this problem?







android android-support-library






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 14 '15 at 9:28









AndiGeeky

8,61953457




8,61953457










asked Dec 14 '15 at 9:26









Sergey AndroidSergey Android

213139




213139







  • 1





    Indeed the import package you've entered in your block quote is incorrect. This is the correct path import android.support.design.widget.Snackbar

    – Sharp Edge
    Dec 14 '15 at 9:33











  • change your build tool version to 23.1.1

    – Anuj Sharma
    Dec 14 '15 at 9:46






  • 1





    add, compile 'com.android.support:design:23.0.0'

    – Tushar Pandey
    May 21 '16 at 17:10












  • 1





    Indeed the import package you've entered in your block quote is incorrect. This is the correct path import android.support.design.widget.Snackbar

    – Sharp Edge
    Dec 14 '15 at 9:33











  • change your build tool version to 23.1.1

    – Anuj Sharma
    Dec 14 '15 at 9:46






  • 1





    add, compile 'com.android.support:design:23.0.0'

    – Tushar Pandey
    May 21 '16 at 17:10







1




1





Indeed the import package you've entered in your block quote is incorrect. This is the correct path import android.support.design.widget.Snackbar

– Sharp Edge
Dec 14 '15 at 9:33





Indeed the import package you've entered in your block quote is incorrect. This is the correct path import android.support.design.widget.Snackbar

– Sharp Edge
Dec 14 '15 at 9:33













change your build tool version to 23.1.1

– Anuj Sharma
Dec 14 '15 at 9:46





change your build tool version to 23.1.1

– Anuj Sharma
Dec 14 '15 at 9:46




1




1





add, compile 'com.android.support:design:23.0.0'

– Tushar Pandey
May 21 '16 at 17:10





add, compile 'com.android.support:design:23.0.0'

– Tushar Pandey
May 21 '16 at 17:10












8 Answers
8






active

oldest

votes


















46














add this line to the dependencies in the gradle file



implementation 'com.android.support:design:28.0.0'


Visit Support Library Packages  |  Android Developers, for the latest Design Support Library version.



Source: http://android-developers.blogspot.co.il/2015/05/android-design-support-library.html

(Scroll all the way down)






share|improve this answer

























  • I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

    – Pranjal Choladhara
    Feb 25 '17 at 18:22












  • Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

    – Max Izrin
    Feb 26 '17 at 18:43







  • 1





    if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

    – Aleksey Timoshchenko
    Sep 1 '18 at 10:14


















18














I solved the problem now :)



  1. Open [File] -> [Project Structure...]


  2. Select [app] in the left pad


  3. Select [Dependencies] in the right tabs


  4. Click [+] button on the right side


  5. Select [1 Library dependency]


  6. Choose [com.android.support:design ~~]


  7. Click [OK] button and so on


Result: library added
in [Project's External Libraries]



------ edit -----------------------------------



You can also add this External library in build.gradle(Module:app)



press Alt+Enter in build.gradle(Module:app)



-> add library dependency



-> choose what you need



and press "Sync Now" positioned up right corner






share|improve this answer
































    11














    To get the the Snackbar into our Android proyect just add the reference of support:design library inside the build.gradle file :



    dependencies 
    ...
    ...
    compile 'com.android.support:design:25.0.1'



    Be sure to sync your project with the gradle files sync gradle icon, this will fix your problem.




    Your error message is:




    error: package android.support.design.R does not exist




    be sure to have the correct import:



    import android.support.design.widget.Snackbar;





    share|improve this answer
































      3














      Try this



      dependencies 
      compile fileTree(include: ['*.jar'], dir: 'libs')
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:22.2.0'
      compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
      compile 'com.android.support:design:22.2.1'






      share|improve this answer






























        3














        Dependencies may change with upgrading of android sdk versions, i am creating application in sdkversion 27. I have added the following dependency for snackbar.
        implementation 'com.android.support:design:27.1.1'






        share|improve this answer






























          2














          Just type fully qualified class name android.support.design.widget.SnackBar
          instead of just SnackBar at every occurrence . It solves the issue for me.






          share|improve this answer























          • Solves my problem too.

            – Pranjal Choladhara
            Mar 1 '17 at 10:07


















          1














          implementation 'com.android.support:design:28.0.0'
          implementation 'com.android.support:support-annotations:28.0.0'


          set it in gradle.(module app)
          its working for me in android studio and device with orio.






          share|improve this answer








          New contributor




          jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.



























            0














            Remove Support v4 from your project and then add support design library.






            share|improve this answer






















              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f34263418%2fcant-find-android-support-design-widget-snackbar-in-support-design-library%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              8 Answers
              8






              active

              oldest

              votes








              8 Answers
              8






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              46














              add this line to the dependencies in the gradle file



              implementation 'com.android.support:design:28.0.0'


              Visit Support Library Packages  |  Android Developers, for the latest Design Support Library version.



              Source: http://android-developers.blogspot.co.il/2015/05/android-design-support-library.html

              (Scroll all the way down)






              share|improve this answer

























              • I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

                – Pranjal Choladhara
                Feb 25 '17 at 18:22












              • Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

                – Max Izrin
                Feb 26 '17 at 18:43







              • 1





                if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

                – Aleksey Timoshchenko
                Sep 1 '18 at 10:14















              46














              add this line to the dependencies in the gradle file



              implementation 'com.android.support:design:28.0.0'


              Visit Support Library Packages  |  Android Developers, for the latest Design Support Library version.



              Source: http://android-developers.blogspot.co.il/2015/05/android-design-support-library.html

              (Scroll all the way down)






              share|improve this answer

























              • I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

                – Pranjal Choladhara
                Feb 25 '17 at 18:22












              • Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

                – Max Izrin
                Feb 26 '17 at 18:43







              • 1





                if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

                – Aleksey Timoshchenko
                Sep 1 '18 at 10:14













              46












              46








              46







              add this line to the dependencies in the gradle file



              implementation 'com.android.support:design:28.0.0'


              Visit Support Library Packages  |  Android Developers, for the latest Design Support Library version.



              Source: http://android-developers.blogspot.co.il/2015/05/android-design-support-library.html

              (Scroll all the way down)






              share|improve this answer















              add this line to the dependencies in the gradle file



              implementation 'com.android.support:design:28.0.0'


              Visit Support Library Packages  |  Android Developers, for the latest Design Support Library version.



              Source: http://android-developers.blogspot.co.il/2015/05/android-design-support-library.html

              (Scroll all the way down)







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Feb 17 at 5:59









              Roshana Pitigala

              4,87662449




              4,87662449










              answered Apr 9 '16 at 10:44









              Max IzrinMax Izrin

              693712




              693712












              • I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

                – Pranjal Choladhara
                Feb 25 '17 at 18:22












              • Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

                – Max Izrin
                Feb 26 '17 at 18:43







              • 1





                if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

                – Aleksey Timoshchenko
                Sep 1 '18 at 10:14

















              • I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

                – Pranjal Choladhara
                Feb 25 '17 at 18:22












              • Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

                – Max Izrin
                Feb 26 '17 at 18:43







              • 1





                if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

                – Aleksey Timoshchenko
                Sep 1 '18 at 10:14
















              I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

              – Pranjal Choladhara
              Feb 25 '17 at 18:22






              I've added compile 'com.android.support:design:23.1.1' But it does not help. Is there any difference between the changed versions ?

              – Pranjal Choladhara
              Feb 25 '17 at 18:22














              Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

              – Max Izrin
              Feb 26 '17 at 18:43






              Nothing significant code-wise, but I had many problems changing versions after a project starts, so I can only assume there are some other settings that need to be changed. If you have to change the version, try starting a new project and importing all the code and assets.

              – Max Izrin
              Feb 26 '17 at 18:43





              1




              1





              if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

              – Aleksey Timoshchenko
              Sep 1 '18 at 10:14





              if you use android x dependency so implementation "com.google.android.material:material:1.0.0-rc01"

              – Aleksey Timoshchenko
              Sep 1 '18 at 10:14













              18














              I solved the problem now :)



              1. Open [File] -> [Project Structure...]


              2. Select [app] in the left pad


              3. Select [Dependencies] in the right tabs


              4. Click [+] button on the right side


              5. Select [1 Library dependency]


              6. Choose [com.android.support:design ~~]


              7. Click [OK] button and so on


              Result: library added
              in [Project's External Libraries]



              ------ edit -----------------------------------



              You can also add this External library in build.gradle(Module:app)



              press Alt+Enter in build.gradle(Module:app)



              -> add library dependency



              -> choose what you need



              and press "Sync Now" positioned up right corner






              share|improve this answer





























                18














                I solved the problem now :)



                1. Open [File] -> [Project Structure...]


                2. Select [app] in the left pad


                3. Select [Dependencies] in the right tabs


                4. Click [+] button on the right side


                5. Select [1 Library dependency]


                6. Choose [com.android.support:design ~~]


                7. Click [OK] button and so on


                Result: library added
                in [Project's External Libraries]



                ------ edit -----------------------------------



                You can also add this External library in build.gradle(Module:app)



                press Alt+Enter in build.gradle(Module:app)



                -> add library dependency



                -> choose what you need



                and press "Sync Now" positioned up right corner






                share|improve this answer



























                  18












                  18








                  18







                  I solved the problem now :)



                  1. Open [File] -> [Project Structure...]


                  2. Select [app] in the left pad


                  3. Select [Dependencies] in the right tabs


                  4. Click [+] button on the right side


                  5. Select [1 Library dependency]


                  6. Choose [com.android.support:design ~~]


                  7. Click [OK] button and so on


                  Result: library added
                  in [Project's External Libraries]



                  ------ edit -----------------------------------



                  You can also add this External library in build.gradle(Module:app)



                  press Alt+Enter in build.gradle(Module:app)



                  -> add library dependency



                  -> choose what you need



                  and press "Sync Now" positioned up right corner






                  share|improve this answer















                  I solved the problem now :)



                  1. Open [File] -> [Project Structure...]


                  2. Select [app] in the left pad


                  3. Select [Dependencies] in the right tabs


                  4. Click [+] button on the right side


                  5. Select [1 Library dependency]


                  6. Choose [com.android.support:design ~~]


                  7. Click [OK] button and so on


                  Result: library added
                  in [Project's External Libraries]



                  ------ edit -----------------------------------



                  You can also add this External library in build.gradle(Module:app)



                  press Alt+Enter in build.gradle(Module:app)



                  -> add library dependency



                  -> choose what you need



                  and press "Sync Now" positioned up right corner







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 4 '18 at 11:27

























                  answered Dec 29 '16 at 0:28









                  yaneyane

                  18115




                  18115





















                      11














                      To get the the Snackbar into our Android proyect just add the reference of support:design library inside the build.gradle file :



                      dependencies 
                      ...
                      ...
                      compile 'com.android.support:design:25.0.1'



                      Be sure to sync your project with the gradle files sync gradle icon, this will fix your problem.




                      Your error message is:




                      error: package android.support.design.R does not exist




                      be sure to have the correct import:



                      import android.support.design.widget.Snackbar;





                      share|improve this answer





























                        11














                        To get the the Snackbar into our Android proyect just add the reference of support:design library inside the build.gradle file :



                        dependencies 
                        ...
                        ...
                        compile 'com.android.support:design:25.0.1'



                        Be sure to sync your project with the gradle files sync gradle icon, this will fix your problem.




                        Your error message is:




                        error: package android.support.design.R does not exist




                        be sure to have the correct import:



                        import android.support.design.widget.Snackbar;





                        share|improve this answer



























                          11












                          11








                          11







                          To get the the Snackbar into our Android proyect just add the reference of support:design library inside the build.gradle file :



                          dependencies 
                          ...
                          ...
                          compile 'com.android.support:design:25.0.1'



                          Be sure to sync your project with the gradle files sync gradle icon, this will fix your problem.




                          Your error message is:




                          error: package android.support.design.R does not exist




                          be sure to have the correct import:



                          import android.support.design.widget.Snackbar;





                          share|improve this answer















                          To get the the Snackbar into our Android proyect just add the reference of support:design library inside the build.gradle file :



                          dependencies 
                          ...
                          ...
                          compile 'com.android.support:design:25.0.1'



                          Be sure to sync your project with the gradle files sync gradle icon, this will fix your problem.




                          Your error message is:




                          error: package android.support.design.R does not exist




                          be sure to have the correct import:



                          import android.support.design.widget.Snackbar;






                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Dec 10 '18 at 3:14









                          Dale

                          1,66512444




                          1,66512444










                          answered Apr 19 '17 at 17:59









                          ElenasysElenasys

                          95k16248215




                          95k16248215





















                              3














                              Try this



                              dependencies 
                              compile fileTree(include: ['*.jar'], dir: 'libs')
                              testCompile 'junit:junit:4.12'
                              compile 'com.android.support:appcompat-v7:22.2.0'
                              compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
                              compile 'com.android.support:design:22.2.1'






                              share|improve this answer



























                                3














                                Try this



                                dependencies 
                                compile fileTree(include: ['*.jar'], dir: 'libs')
                                testCompile 'junit:junit:4.12'
                                compile 'com.android.support:appcompat-v7:22.2.0'
                                compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
                                compile 'com.android.support:design:22.2.1'






                                share|improve this answer

























                                  3












                                  3








                                  3







                                  Try this



                                  dependencies 
                                  compile fileTree(include: ['*.jar'], dir: 'libs')
                                  testCompile 'junit:junit:4.12'
                                  compile 'com.android.support:appcompat-v7:22.2.0'
                                  compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
                                  compile 'com.android.support:design:22.2.1'






                                  share|improve this answer













                                  Try this



                                  dependencies 
                                  compile fileTree(include: ['*.jar'], dir: 'libs')
                                  testCompile 'junit:junit:4.12'
                                  compile 'com.android.support:appcompat-v7:22.2.0'
                                  compile 'me.zhanghai.android.materialprogressbar:library:1.1.4'
                                  compile 'com.android.support:design:22.2.1'







                                  share|improve this answer












                                  share|improve this answer



                                  share|improve this answer










                                  answered Dec 14 '15 at 16:02









                                  Pavan BilagiPavan Bilagi

                                  8361920




                                  8361920





















                                      3














                                      Dependencies may change with upgrading of android sdk versions, i am creating application in sdkversion 27. I have added the following dependency for snackbar.
                                      implementation 'com.android.support:design:27.1.1'






                                      share|improve this answer



























                                        3














                                        Dependencies may change with upgrading of android sdk versions, i am creating application in sdkversion 27. I have added the following dependency for snackbar.
                                        implementation 'com.android.support:design:27.1.1'






                                        share|improve this answer

























                                          3












                                          3








                                          3







                                          Dependencies may change with upgrading of android sdk versions, i am creating application in sdkversion 27. I have added the following dependency for snackbar.
                                          implementation 'com.android.support:design:27.1.1'






                                          share|improve this answer













                                          Dependencies may change with upgrading of android sdk versions, i am creating application in sdkversion 27. I have added the following dependency for snackbar.
                                          implementation 'com.android.support:design:27.1.1'







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Apr 30 '18 at 10:26









                                          saleem kalrosaleem kalro

                                          53736




                                          53736





















                                              2














                                              Just type fully qualified class name android.support.design.widget.SnackBar
                                              instead of just SnackBar at every occurrence . It solves the issue for me.






                                              share|improve this answer























                                              • Solves my problem too.

                                                – Pranjal Choladhara
                                                Mar 1 '17 at 10:07















                                              2














                                              Just type fully qualified class name android.support.design.widget.SnackBar
                                              instead of just SnackBar at every occurrence . It solves the issue for me.






                                              share|improve this answer























                                              • Solves my problem too.

                                                – Pranjal Choladhara
                                                Mar 1 '17 at 10:07













                                              2












                                              2








                                              2







                                              Just type fully qualified class name android.support.design.widget.SnackBar
                                              instead of just SnackBar at every occurrence . It solves the issue for me.






                                              share|improve this answer













                                              Just type fully qualified class name android.support.design.widget.SnackBar
                                              instead of just SnackBar at every occurrence . It solves the issue for me.







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Jan 6 '17 at 20:35









                                              Amit SiddhpuraAmit Siddhpura

                                              343




                                              343












                                              • Solves my problem too.

                                                – Pranjal Choladhara
                                                Mar 1 '17 at 10:07

















                                              • Solves my problem too.

                                                – Pranjal Choladhara
                                                Mar 1 '17 at 10:07
















                                              Solves my problem too.

                                              – Pranjal Choladhara
                                              Mar 1 '17 at 10:07





                                              Solves my problem too.

                                              – Pranjal Choladhara
                                              Mar 1 '17 at 10:07











                                              1














                                              implementation 'com.android.support:design:28.0.0'
                                              implementation 'com.android.support:support-annotations:28.0.0'


                                              set it in gradle.(module app)
                                              its working for me in android studio and device with orio.






                                              share|improve this answer








                                              New contributor




                                              jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                              Check out our Code of Conduct.
























                                                1














                                                implementation 'com.android.support:design:28.0.0'
                                                implementation 'com.android.support:support-annotations:28.0.0'


                                                set it in gradle.(module app)
                                                its working for me in android studio and device with orio.






                                                share|improve this answer








                                                New contributor




                                                jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                Check out our Code of Conduct.






















                                                  1












                                                  1








                                                  1







                                                  implementation 'com.android.support:design:28.0.0'
                                                  implementation 'com.android.support:support-annotations:28.0.0'


                                                  set it in gradle.(module app)
                                                  its working for me in android studio and device with orio.






                                                  share|improve this answer








                                                  New contributor




                                                  jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                  Check out our Code of Conduct.










                                                  implementation 'com.android.support:design:28.0.0'
                                                  implementation 'com.android.support:support-annotations:28.0.0'


                                                  set it in gradle.(module app)
                                                  its working for me in android studio and device with orio.







                                                  share|improve this answer








                                                  New contributor




                                                  jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                  Check out our Code of Conduct.









                                                  share|improve this answer



                                                  share|improve this answer






                                                  New contributor




                                                  jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                  Check out our Code of Conduct.









                                                  answered Mar 7 at 11:01









                                                  jignesh k thankijignesh k thanki

                                                  111




                                                  111




                                                  New contributor




                                                  jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                  Check out our Code of Conduct.





                                                  New contributor





                                                  jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                  Check out our Code of Conduct.






                                                  jignesh k thanki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                  Check out our Code of Conduct.





















                                                      0














                                                      Remove Support v4 from your project and then add support design library.






                                                      share|improve this answer



























                                                        0














                                                        Remove Support v4 from your project and then add support design library.






                                                        share|improve this answer

























                                                          0












                                                          0








                                                          0







                                                          Remove Support v4 from your project and then add support design library.






                                                          share|improve this answer













                                                          Remove Support v4 from your project and then add support design library.







                                                          share|improve this answer












                                                          share|improve this answer



                                                          share|improve this answer










                                                          answered Dec 14 '15 at 9:29









                                                          Akhil JayakumarAkhil Jayakumar

                                                          1,391825




                                                          1,391825



























                                                              draft saved

                                                              draft discarded
















































                                                              Thanks for contributing an answer to Stack Overflow!


                                                              • Please be sure to answer the question. Provide details and share your research!

                                                              But avoid


                                                              • Asking for help, clarification, or responding to other answers.

                                                              • Making statements based on opinion; back them up with references or personal experience.

                                                              To learn more, see our tips on writing great answers.




                                                              draft saved


                                                              draft discarded














                                                              StackExchange.ready(
                                                              function ()
                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f34263418%2fcant-find-android-support-design-widget-snackbar-in-support-design-library%23new-answer', 'question_page');

                                                              );

                                                              Post as a guest















                                                              Required, but never shown





















































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown

































                                                              Required, but never shown














                                                              Required, but never shown












                                                              Required, but never shown







                                                              Required, but never shown







                                                              Popular posts from this blog

                                                              Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                                                              2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                                                              Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme