There are some options to add lib to project
I can add dependency to gradle
I can add lib to lib dir and
set as a lib
I can add module to my project
But this ways it is not exactly what I need. I am looking to option to add path to external dir(lib) on my PC that my android project can use it... The same like you set path to ndk
or sdk
... You don't copy this libs to your project you just set a path to them and android studio knows how to compile it and you can use it, right?
So, it is means that a lot of projects can look (set path) at the same dir (ndk, sdk) and use it... And if you will delete this dirs (ndk, sdk) from your PC none of the projects will compile...
So, I am looking the same way and question is if is it possible to set path to my dir (like ndk, sdk) and use it. I don't want to copy source code to each project...