I'm trying to add library in Android Studio Project, but I am getting an error:
Error:Configuration with name 'default' not found.
All I have done is followed tutorials and guides from Stack Overflow
- First added the library to root of my project.
then went to my settings.gradle and done that
include ':app' include ':ImagePicker' project(':ImagePicker').projectDir = new File(settingsDir, '../ImagePicker/library')
then went to my dependencies and in app.gradle
compile project(':ImagePicker')
but still getting particular stated error.