I'm not sure if it's already possible to add a library project via the IDE (-> without any problems).
I do this by configuring the gradle files of my project like this:
- create a folder in your root project directory named
libs
- copy the folder
datetimepicker-library
to libs
add this library in your settings.gradle
with the following command:
include ':libs:datetimepicker-library'
go to your build.gradle
file of your AppProject
and add the following line to your dependencies
:
implementation project(':libs:datetimepicker-library')
at least you have to sync your gradle files: Tools -> Android -> Sync Project with Gradle Files
Please try this. If you get errors please post the log file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…