How to debug Android Application with Visual Studio or Android Studio without USB ( Wireless / WiFi debugging)

Dear friend,
I would like to tell you debug your Android  mobile without  USB cable. Both mobile and your PC must be in same network.

  1. Get IP address of your Mobile :- You can find your Mobile by tabbing on your mobile's WiFi network or open About Phone and Status  from Setting Menu.
                      

         2.   Connect your phone with USB cable once.

         3. Go to your SDK location . If you don't know location of SDK , Open SDK Manager from                   Visual or Android Studio .Where you can find SDK location.
                 
                   

          4. Open SDK location from Command Window and run below commands 

              
                   
                 adb kill-server
                adb usb


               If you see error More than one device connect .Please stop your other emulators devices.
              you can also see running devices by 
               
               adb devices 
               
              run below commad

            adb tcpip 5555
              



    
      5. Unplug USB cable .
      
      6.Run below command 
        
       adb connect yourDeviceIP:5555




 Now your Application ready to debug without USB cable.

Happy Debugging  :)


   





  



                

             
                    


Comments

Popular posts from this blog

Custom Progress Ring in Xamarin iOS

Custom Progress bar in Xamarin Forms iOS