Relative Content

Tag Archive for androidflutterandroid-emulatorios-simulator

why can’t the android emulator shell command access the network

the app installed on the android emulator can access network resources normally, for example: Dio().get(‘https://www.google.com’), but the commands that call the system in the app or adb shell cannot access the network, for example: dart:io Process.run(‘tracepath’, [‘www.google.com’]), what is the cause of this, is it the emulator itself or the Settings need to be adjusted?