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
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
add a comment |
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
1
Indeed the import package you've entered in your block quote is incorrect. This is the correct pathimport 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
add a comment |
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
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
android android-support-library
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 pathimport 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
add a comment |
1
Indeed the import package you've entered in your block quote is incorrect. This is the correct pathimport 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
add a comment |
8 Answers
8
active
oldest
votes
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)
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 useandroid x
dependency soimplementation "com.google.android.material:material:1.0.0-rc01"
– Aleksey Timoshchenko
Sep 1 '18 at 10:14
add a comment |
I solved the problem now :)
Open [File] -> [Project Structure...]
Select [app] in the left pad
Select [Dependencies] in the right tabs
Click [+] button on the right side
Select [1 Library dependency]
Choose [com.android.support:design ~~]
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
add a comment |
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 , 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;
add a comment |
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'
add a comment |
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'
add a comment |
Just type fully qualified class name android.support.design.widget.SnackBar
instead of just SnackBar at every occurrence . It solves the issue for me.
Solves my problem too.
– Pranjal Choladhara
Mar 1 '17 at 10:07
add a comment |
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.
New contributor
add a comment |
Remove Support v4 from your project and then add support design library.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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)
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 useandroid x
dependency soimplementation "com.google.android.material:material:1.0.0-rc01"
– Aleksey Timoshchenko
Sep 1 '18 at 10:14
add a comment |
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)
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 useandroid x
dependency soimplementation "com.google.android.material:material:1.0.0-rc01"
– Aleksey Timoshchenko
Sep 1 '18 at 10:14
add a comment |
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)
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)
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 useandroid x
dependency soimplementation "com.google.android.material:material:1.0.0-rc01"
– Aleksey Timoshchenko
Sep 1 '18 at 10:14
add a comment |
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 useandroid x
dependency soimplementation "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
add a comment |
I solved the problem now :)
Open [File] -> [Project Structure...]
Select [app] in the left pad
Select [Dependencies] in the right tabs
Click [+] button on the right side
Select [1 Library dependency]
Choose [com.android.support:design ~~]
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
add a comment |
I solved the problem now :)
Open [File] -> [Project Structure...]
Select [app] in the left pad
Select [Dependencies] in the right tabs
Click [+] button on the right side
Select [1 Library dependency]
Choose [com.android.support:design ~~]
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
add a comment |
I solved the problem now :)
Open [File] -> [Project Structure...]
Select [app] in the left pad
Select [Dependencies] in the right tabs
Click [+] button on the right side
Select [1 Library dependency]
Choose [com.android.support:design ~~]
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
I solved the problem now :)
Open [File] -> [Project Structure...]
Select [app] in the left pad
Select [Dependencies] in the right tabs
Click [+] button on the right side
Select [1 Library dependency]
Choose [com.android.support:design ~~]
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
edited May 4 '18 at 11:27
answered Dec 29 '16 at 0:28
yaneyane
18115
18115
add a comment |
add a comment |
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 , 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;
add a comment |
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 , 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;
add a comment |
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 , 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;
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 , 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;
edited Dec 10 '18 at 3:14
Dale
1,66512444
1,66512444
answered Apr 19 '17 at 17:59
ElenasysElenasys
95k16248215
95k16248215
add a comment |
add a comment |
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'
add a comment |
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'
add a comment |
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'
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'
answered Dec 14 '15 at 16:02
Pavan BilagiPavan Bilagi
8361920
8361920
add a comment |
add a comment |
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'
add a comment |
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'
add a comment |
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'
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'
answered Apr 30 '18 at 10:26
saleem kalrosaleem kalro
53736
53736
add a comment |
add a comment |
Just type fully qualified class name android.support.design.widget.SnackBar
instead of just SnackBar at every occurrence . It solves the issue for me.
Solves my problem too.
– Pranjal Choladhara
Mar 1 '17 at 10:07
add a comment |
Just type fully qualified class name android.support.design.widget.SnackBar
instead of just SnackBar at every occurrence . It solves the issue for me.
Solves my problem too.
– Pranjal Choladhara
Mar 1 '17 at 10:07
add a comment |
Just type fully qualified class name android.support.design.widget.SnackBar
instead of just SnackBar at every occurrence . It solves the issue for me.
Just type fully qualified class name android.support.design.widget.SnackBar
instead of just SnackBar at every occurrence . It solves the issue for me.
answered Jan 6 '17 at 20:35
Amit SiddhpuraAmit Siddhpura
343
343
Solves my problem too.
– Pranjal Choladhara
Mar 1 '17 at 10:07
add a comment |
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
add a comment |
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.
New contributor
add a comment |
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.
New contributor
add a comment |
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.
New contributor
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.
New contributor
New contributor
answered Mar 7 at 11:01
jignesh k thankijignesh k thanki
111
111
New contributor
New contributor
add a comment |
add a comment |
Remove Support v4 from your project and then add support design library.
add a comment |
Remove Support v4 from your project and then add support design library.
add a comment |
Remove Support v4 from your project and then add support design library.
Remove Support v4 from your project and then add support design library.
answered Dec 14 '15 at 9:29
Akhil JayakumarAkhil Jayakumar
1,391825
1,391825
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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