Posts

Showing posts from October, 2017

Android - Run app without USB cable every time

Now a days it's a common problem for Android Developers to run an app every time by connecting with USB cable, Some times it may disconnect your device due to loose connection or USB cable issues, Due to this developer can't able to Debug/Run an app very frequently. So here is the solution for this, now you can run android app without USB cable but you need to connect it at least once to connect with your mobile until and unless you switch off your mobile OR change your mobile network. You need to connect your device to your computer via USB cable. Make sure USB debugging is working. You can check if it shows up when running  adb devices . Open cmd in ...\AppData\Local\Android\sdk\platform-tools Step1: Run  adb devices Ex: C:\pathToSDK\platform-tools>adb devices You can check if it shows up when running adb devices. Step2: Run  adb tcpip 5555 Ex: C:\pathToSDK\platform-tools>adb tcpip 5555 Disconnect your device (remove the USB cable). Step3: Go to t