Hi I am trying to learn Material design and was stuck up with the Toolbar code.I am confused in which library to use and Why its showing this error
Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class android.support.design.widget.Toolbar
For this I am using the support libraries:
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
If u have any idea of how to solve this error plz share me.Thanks in advance
You need appCompat Support library
compile 'com.android.support:appcompat-v7-XXXX // XXXX is the version , choose latest.
Couple of more suggestions, if you can't make it work by adding above Services.
More suggestion in below link, this is similar question.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.