I've got a problem on library importation. I followed these step :
- File / New / Import Module.
- Then I go to Project structure, Dependencies and "+". But there is Nothing to show.
Is somebody can help me ?
Screen : https://i.stack.imgur.com/B72EM.jpg
I've got a problem on library importation. I followed these step :
Is somebody can help me ?
Screen : https://i.stack.imgur.com/B72EM.jpg
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.
Go to main menu -> File -> New -> Import Module. Then select the source code. Give module a name. (Android studio 3.3)
Add following line to app build.gradle
implementation project(':module_name')
Also in the settings.gradle file should have following line
include ':app'
include ':module_name'
try : go to SDK manager-> SDK tools : look for Support repository and download them this might work
You need to add import module in gradle also
Try this
implementation project(path: ':yourLibName')
than sync it will show dependencies.