0
0

More than 1 year has passed since last update.

Virtual Boxからandroid emulatorに接続する

Last updated at Posted at 2021-12-14
ゲストOSからホストOSに接続出来るか確認する

デフォルトでOKのはず

スタートメニュー
 ⇒歯車
  ⇒更新とセキュリティ
   ⇒Windowsセキュリティ
    ⇒ファイアウォールとネットワーク保護
     ⇒(アクティブ)となっているものを選択
      ⇒ファイアウォールをOFFにする。

ゲストからpingを打って返ってきたらOK

ファイアウォールは戻しておく

Windowsの転送設定をする
netsh interface portproxy add v4tov4 listenport=6000 listenaddr=192.168.11.3 connectport=5555 connectaddress=127.0.0.1
ファイアウォールの穴あけ

スタートメニュー
 ⇒歯車
  ⇒更新とセキュリティ
   ⇒Windowsセキュリティ
    ⇒ファイアウォールとネットワーク保護
     ⇒詳細設定
      ⇒受信の規則を右クリック
       ⇒新しい規則
        ⇒ポート6000とかで適当に作る

adb connectで接続する

vbox2emulator.png

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