Posts

Showing posts from February, 2015

Test Android app by installing app wirelessly on device.

I wanted to try out installing the app wirelessly on device. I followed some links given below: 1. http://developer.android.com/tools/help/adb.html 2. http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp 3. https://docs.google.com/document/d/1-wMYWpljgHolnVHCsV2VGeMmBcc29Id9rMbHrZoCelE/edit# All of thes mentioned similar steps however none worked for me. Problem arised when following command was executed. d:\sdk\platform-tools>adb tcpip 5555 restarting in TCP mode port: 5555 The command seemed to be stuck and did not finish executing. It took 4-6 hours to figure out the correct procedure by trial and error. Here's the correct procedure. 1. Connect your phone to PC. 2. Open command prompt and go to /sdk/platform-tools/ directory. 3. Now type the following command " adb tcpip 5555". 4. Once you see "restarting ..." message, remove device from PC. This will finish execution of above command. D:\sdkForEclipse...