Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: Android Emulator の IP アドレスを取得するには?
エミュレーターのIPアドレスを取得してローカルサーバーに接続し、そのエミュレーターを使用して現在実行されている特定のアプリケーションのコンテンツを取得する方法について、誰か教えてください..
ローカルサーバーに接続するには、次のように簡単にアドレス指定できます10.0.2.2
10.0.2.2
通常、エミュレータを実行している PC の IP です。ネットワーク接続は共有されます。PC のファイアウォールがこの接続を除外しないようにする必要があります。