15
5

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 3 years have passed since last update.

[Android] Waiting For Debuggerが終わらない時の打開策💢

Last updated at Posted at 2020-06-25

困って調べたのでメモ代わりに載せます

何のこと?

デバッグ中に起こる

Waiting For Debugger
Application is waiting for the debugger to attach.

このダイアログがいつまでも消えない問題。

解決方法

エミュレーター側で、

  1. Settings(設定) -> About emulated device(エミュレートされたデバイスについて) -> Build number(ビルド番号) を7回タップ →Developer options(開発者向けオプション)が有効になる
  2. Settings(設定) -> System(システム) -> Advanced(詳細設定) -> Developer options(開発者向けオプション) -> Select debug app(デバッグアプリを選択)を開き、自分のアプリを選択する

実機でも一緒だと思います。

調査時の環境:Android Studio 4.0 / Android 10

15
5
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
15
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?