React-native executes react-native run-android Times error

uses AVD manager simulation with android studio.
ran normally yesterday and reported an error when running today.

Execution failed for task ":app:installDebug".
> com.android.builder.testing.api.DeviceException: Could not create ADB Bridge.

(1) Test port
adb devices display

List of devices attached
* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon   

(2) Test build environment
react-native init HelloworldProject
cd HelloworldProject
react-native run-android error

Execution failed for task ":app:installDebug".
    > com.android.builder.testing.api.DeviceException: Could not create ADB Bridge.    

try adb nodaemon server error

error: cannot open transport registration socketpair: Invalid argument

turn off win10 Firewall
try adb start-server successfully

* daemon not running; starting now at tcp:5037
* daemon started successfully

run react-native run-android again

Menu