I've got a problem on library importation. I followed these step :
Is somebody can help me ?
Screen : https://imgur.com/a/34mhw1N
尝试:转到“ SDK管理器”->“ SDK工具”:查找支持存储库并下载它们,这可能有效
In order to add library module in your project you should follow the following steps:
1) After adding library, open your project's build.gradle file and add implementation project(path: ':yourLibraryName')
.
2) Don't sync yet, now open your settings.gradle file and add your project with your library: include ':yourLibrayName', ':yourProject/ModuleName'
. Now sync.
3) After sync you will be able to use your library in your project.
You need to add import module in gradle also
Try this
implementation project(path: ':yourLibName')
than sync it will show dependencies.
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.