AndroidManifest in androidTest directory being ignored

前端 未结 6 2060
一整个雨季
一整个雨季 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:25

    This is a known problem.

    Currently (AGP <= 3.4.X) is not supporting AndroidManifest test merging.

    This is reported here: https://issuetracker.google.com/issues/127986458 and here there is the issue created by one of the Roboelectric maintainers.

    The workaround as described here its near the same proposed by user3286293 and currently is the only way to have the manifest merged for testing purposes.

    Hope to see a fix for AGP 3.5 or 3.6

提交回复
热议问题