Amit Barjatya
Amit Barjatya
Think problem is because of missing testCompile dependency on junit. Once I add those, it starts giving out other warnings.Attached Screenshot 
if you look at the dependencies, it shows that one of the dependency is using version 23.1.1 for support-annotations library on running ./gradlew -q :app:dependencies Have a look at generated...
You also need to add "android.permission.MANAGE_DOCUMENTS" to your manifest.