Reputation: 11
I don't understand how to add a library in my new project.
https://github.com/txusballesteros/bubbles-for-android
I saw similar posts but I don't get the library in my project.
Error:Configuration with name 'default' not found.
And when I add the library can I change the original source code and can I use it because I read about the same License ?
Please help me, I was trying many methods and I failed.
Upvotes: 1
Views: 1519
Reputation: 324
Locate your build.gradle file:
android view
(easiest this way) Gradle Scripts
folder:compile 'com.txusballesteros:bubbles:1.2.1'
) according to picture:Upvotes: 1
Reputation: 9178
Add the library dependency in your app level build.gradle file(not project level). you don't need to download any library file just add this dependency and sync the project
dependencies {
...
compile 'com.txusballesteros:bubbles:1.2.1'
}
Upvotes: 1
Reputation: 5557
Add following to your Build.Gradle under dependency block and then sync. project. Now you can use that library methods in your code.
compile 'com.txusballesteros:bubbles:1.2.1'
Upvotes: 0