Android SDK manager,
,ionic cordova build android:
(node:5876)
[ERROR] An error occurred while running cordova build android (exit code 1).
Android SDK manager,
,ionic cordova build android:
(node:5876)
[ERROR] An error occurred while running cordova build android (exit code 1).
check whether to complete the configuration of these environment variables
cordova~ionic cordova platform remove android
,
this problem has been solved. After my query and detection, it is the problem of the ADB version. Find the compressed package of ADB_1.0.31 on the Internet, and replace the adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll files in the path of ADB with version 1.0.31. Before the replacement, my version is 39. I hope it will be helpful to the partners who encounter this problem