I have projects (libraries) they are for example in the folder C:\\Android\libs and there are projects to which I want to connect these libraries - they lie at the address C:\\Android\projects and I want it when I contribute changes to the library code, I re-assemble it, and then I re-assemble the application project itself, then the libraries with the changes were pulled up to it.
But in the project structure, I can connect the libraries that are in the project itself at C:\Android\AndroidProjects\MyPoject\app\libs and I need to pull them from the C:\\Android\libs directory, how can I organize this?
For the proposed link I do this:
there is
libraryone.aarwhich lies atC:/Android/AndroidProjects/NetworkLib/library/build/outputs/aarI write lines in
settings.gradleinclude ':libraryone' project(':libraryone').projectDir = new File('C:/Android/AndroidProjects/NetworkLib/library/build/outputs/aar')in ProjectStructure, I add the
libraryonemodule to thedependenciesin theappmodule and then the following line appears in build.gradle (module: app):compile project(':libraryone')I click on “build project” and catch this one:
Error:Configuration with name 'default' not found.