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.

AndroidStudio実機デバッグ中にLogcatが出力されないときの対処法

Last updated at Posted at 2020-06-03

現象

  • AndroidStudioに実機をUSB接続して、USBデバッグを有効化している状態。
  • Log.i(TAG, 'hoge') などでログが吐かれない。エミュレータだと吐かれる。

やったこと

  • USBケーブルの抜き差し
  • USBデバッグモードが有効化されていることの再確認
  • 「開発者向けオプション」の「デバッグアプリを選択」で、開発中のアプリを再選択
  • USBデバッグ(USB接続時はデバッグモードにする)のスイッチを、いったんオフにして、再度オン。
  • 「ログバッファのサイズ」を16MBに設定
  • GPUデバッグレイヤの有効化

以上で表示されるようになった。

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?