I am developing an application to login with LinkedIn
.
The things I have done are:
LinkedIn
SDK from this link LinkedIn-SDK
from that downloaded project and added it in my project-> libs folder.compile project(':libs:linkedin-sdk')
to build.gradle
andinclude ':libs:linkedin-sdk'
to setting.gradle
filesThen I am getting an error as:
"Gradle 'LinkdinApplication' project refresh failed
Error:Configuration with name 'default' not found."
while building project.
So, Is the procedure that I followed is right? or How should I add it?
After many searching over the Internet, I finally managed to import linkedin SDK.
In my app dependencies, instead of setting
compile project(':libs:linkedin-sdk')
I put
compile fileTree(dir: 'libs', include: ['linkedin-sdk'])
And magically Android Studio imported without problems the library.
Hope this helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With