I have tried to run my ionic v3.x project in android device without wired connection and i have fired this commands. path is /home/Android/Sdk/platform-tools.
./adb start-server
./adb devices
./adb tcpip 5555
./adb connect 10.42.0.130
my mobile is connected through same WiFi network and after this, I have run my ionic project to the mobile but following error has occurred.
Error: android: Command failed with exit code 2
[ERROR] An error occurred while running cordova run android (exit code 1).
so please help me out what is the problem. Thank you in advance and all suggestions are welcome