Unit tests terminated in Debug mode

后端 未结 4 1789
轮回少年
轮回少年 2020-12-20 22:25

I\'m using IntelliJ IDEA 15.0.2 (Community Edition) under Windows 7 and Windows 10 Pro, Gradle 2.9, JDK 1.7.0_65. Operating systems installed as guests under VMware Workstat

4条回答
  •  旧巷少年郎
    2020-12-20 22:54

    Gabor's suggestion seemed to fix this issue for me. On a Mac (and I presume on a Windows machine, but with a different route to get there) go to Preferences:

    From the menu bar at the top Android Studio → Preferences

    or

    Hit ⌘ and , to jump straight to it.

    Then in the menu search box type "instant". Uncheck the box that says "Enable instant run..", which looks like the image below.

    That fixed it for me; didn't even need to restart/kill ADB.

    It seems to be enabled by default, and I use it often to hot-swap changes during development, so I didn't think to turn it off when running Espresso tests.

提交回复
热议问题