

But before jumping to that let’s have a quick look at this: We can use Gradle, to add library projects with a single line code. In this article, we will see different ways to add library projects to our project. This article is helpful for all such people. Many developers are often confused about how to add these libraries to their projects.

So including all those libraries in our project is really going to help you a lot. There are many external libraries available that make many specific tasks simple and easy with the APIs and Classes they provide.

So now, without fixing this, you want to go for building your app then you will get the error: Error: A problem occurred configuring project ‘:app’. Whenever you want to add some external library and you try to do that with maven( File > Project Structure > Dependencies) and try to add your dependencies there but when you hit Gradle sync, it fails.

