I want to make my test module dependent on the application module in Android Studio, but I canβt achieve this, let's say
Error:Dependency AndroidApp:app:unspecified on project TestsRobotium resolves to an APK archive which is not supported as a compilation dependency. File: D:\android\MEWE\AndroidApp\app\build\apk\MeWe.apk
In my test.gradle, I added the provided project (': app') to the dependency tag (this is done automatically by Android studio)
How can i solve this? I need a dependency on src, res folders of my main application and you need to know the R file
android android-studio gradle
Anton Kizema
source share