Manifest and setup issues getting Robolectric working with Android Studio 1.1.0

前端 未结 6 1669
盖世英雄少女心
盖世英雄少女心 2021-01-18 07:29

I am trying to get Robolectric tests up and working in our current project, and not having a lot of luck. My preference would be to get these to run within Android Studio 1

6条回答
  •  生来不讨喜
    2021-01-18 08:22

    In your case next change might help:

    @Config(manifest = "src/main/AndroidManifest.xml", emulateSdk = 18, reportSdk = 18)
    

    But read also @nenick guide

提交回复
热议问题