Adding layout resources to androidTest

前端 未结 3 553
清酒与你
清酒与你 2021-02-13 01:13

I would like to add layout xml files into my androidTest folder to be used only for testing.

I added res/layout folder to androidTest

3条回答
  •  无人及你
    2021-02-13 02:10

    Cannot comment, but wanted to further add to @Slava's answer. If someone can add it as a comment, by all means.

    Try suppressing the lint errors with the accepted answer from this question. Android Studio Remove lint error

提交回复
热议问题