AndroidManifest in androidTest directory being ignored

前端 未结 6 2058
一整个雨季
一整个雨季 2020-12-05 06:52

I\'m trying to test using the following directory structure (which was setup by Android Studio):

\"test

6条回答
  •  感动是毒
    2020-12-05 07:36

    One solution would be like build main apk and test apk in single run. Example: ./gradlew clean :main:assembleDebug :main:assembleDebugAndroidTest.

    This will create a new instrumented main application which has all extra permissions required for test application.

提交回复
热议问题