I'd like to build my android application using stub (as android.jar) and at run time use library which is located in device shell.
In build.gradle i wrote:
dependencies {
provided files('mylib.jar')
}
but i still see the library in apk in instant-run.zip (mylib-classes.dex)