Error Details:
Execution failed for task ': App:installdebug '.
> com.android.builder.testing.api.DeviceException:Could not create ADB Bridge. ADB Location:d:\appdata\local\android\sdk\platform-tools\adb.exe
* Try:
Run with--STACKTRACE option to get the stack trace. Run with--info or--debug option to get more log output.
BUILD FAILED
Total time:10.89 secs
Could not install the app on the device and read the error above for details.
Environment: Windows7 Real machine Redmi Note 4x-6.0.1
Workaround:
You cannot create ADB Bridge to view the next device
Found Adbserver problem, Baidu for a long time, are not suitable for me, I am taking the real Machine debug mode, Rice note4x off MIUI optimization
Since 5037 port monitoring cannot be started, let's see who's listening to this port.
Start Task Manager--process, top menu-View--Select column--pid list show PID to find the corresponding 9600 application, found that is adb.exe no problem ah, why can not listen to it
Let's try it again, it's not a problem after restarting.
App finally registered successfully
React-native the problem with the mind 2:com.android.builder.testing.api.deviceexception