In Android Studio I\'m trying to compile an Android application module which uses an Android library.
The library includes a jar file for Bugsense (included automaticall
It's the expected behavior. Only the repository declarations for the project whose configuration is currently resolved are taken into account, even when transitive dependencies are involved. Typically, repositories are declared inside the root project's allprojects { .. }
or subprojects { ... }
block, in which case this problem can never occur.
PS: dependencies { .. }
needs to go outside the android { ... }
block.