0
0

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 3.2でRecord Espresso Testが表示されないときの対処法

Posted at

Androidの実機やエミュレータ上でアプリのUIを操作するだけでテストコードが自動で生成できる [Record Espresso Test] という機能がAndroid Studioに搭載されているのですが,自分の環境だとメニューに項目が表示されていなかったため,その際対処した方法をメモしておきます.

といっても大したことはしておらず,個人設定ファイルを消してリセットするだけです.

手順

まず,Android Studioを終了します.

次に,環境設定ファイル群を削除します.
Windowsだと,
C:\Users\{ユーザ名}\.AndroidStudio3.2\
にあるので,これをフォルダごと削除します.

Android Studioを起動します.
エディタの配色設定やSDKの格納場所など,ほとんどの設定が消えているので,設定しなおします.

これで,メニューの [Run] に [Record Espresso Test] が表示されるようになりました.

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?