I am trying to import the library.
I added it to the gradle script
compile 'com.android.support:design:22.2.0'
If I open the project structure( control+shift+alt+s ) It is added on dependencies of the module. But If I try to write the import it doesnt appear.
There is a photo with the project dependencies, gradle script and the import now working
我只是尝试在xml文件上添加TextInputLayout,消除了Snackbar并尝试对其进行编译,在没有错误的情况下,它可以正常工作,现在我可以导入Snackbar
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.