12
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Android Studio 2.0でTest Artifactの設定が消えてしまったとき

Posted at

Android Studio 1.5まではBuild Variantの設定のところに以下のようにTest Artifactの設定がありましたが、

RxCaptureSession_kt_-RxCamera2-___github_RxCamera2.png

Android Studio 2.0では以下のように消えてしまい、UnitTestが正しく実行できなくなってしまいました。

RxCaptureSession_kt_-RxCamera2-___github_RxCamera2.png

そんなときは[Preference]から

  • Build, Execution, Deployment
    • Experimental
      • Enable all test artifacts (Unit Test and Instrumentation Test) in Android projects

のチェックを外すと、元通りTest Artifactの設定が見えるようになります。

Preferences.png

12
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?