I have imported a module to my android project. Since I would like to have an opportunity to update my library, I did not import jar-file, but just a link.
In
settings.gradle
I wroteinclude ':myLib' project (':myLib').projectDir = new File('C:\\path\\to\\myLib\\')
in app >
build.gradle
I added:compile project(':myLib')
After these manipulations Android Studio started to see my library module and added it to the project.
But it still does not see imported classes and cannot build. What I have done:
- I started
gradlew clean & gradlew build
- I checked Android Plugin Version: it is equal for my app and for my imported module.
What can I do else?
So my Android Studio version is 2.1.1
My build tools version is 23.0.0
Adroid Plugin Version is 2.1.0
Gradle version is 2.10