Wednesday, October 24, 2012

Phonegap : adb command not found

As many people must have known that Phonegap is really nice for cross platform mobile app development. I installed android development environment via eclipse and downloaded the latest plugin of phonegap.

Tried out the sample application given in the plugin. It worked well in emulator but while running it on my sony ericsson x10i I faced some problems as I will say I am new to android development.

First my phone was not recognized by Android device chooser in eclipse. So I got that I will have to add rules file to users/udev/something folder. So I followed the Also the information is given on

Even for sony need to add sudo gedit /etc/udev/rules.d/51-android.rules and the required information in the file.

Now when I completed most of the steps command
adb devices
was not getting the output. But instead throwing the error as below.

Changed the permissions for the same file. I again run the adb command, but no positive result still the same in terminal and in eclipse. Finally restarted the pc and checked the command in terminal. Still the same error. But when I checked it in eclipse it showed the device chooser.

Thats it and the device detected and apk installed successfully.

No comments:

Post a Comment