I am migrating a project from Eclipse to AndroidStudio. I have a project used as a lib in this project. This lib is called PullToRefresh.
I've tried many ways to import this project to AS, but anyting I try works.
In my project I have this folder structure:
Project Root
+-- app
| +-- builds
| +-- libs
| | +-- PullToRefresh (my lib project)
| +-- src
| | +-- main (java code and resources)
In the build.gradle, I've tried to do this:
dependencies {
compile project(":libs:PullToRefresh")
}
But I'm getting this error message:
Gradle 'my_project' project refresh failed: Project with path ':libs:PullToRefresh'
could not be found in project ':app'