Android device not detected on eclipse


When I try to run some of the Android applications from my eclipse, I often see the device gets detected by linux system, but the App does not run on the device. It shows the error on eclipse:
??????

When you run
./adb devices
you get the following error:
????????????    no permissions

Here is the solution:
1. Go to settings->Applications->Development->USB debugging
and check it to enable it.
2. Drag the top panel of the android device and select -> Turn on the USB storage.
3. Go the the linux shell and type:
./adb kill-server
./adb start-server
Type
./adb devices

It shows list of devices attached:

List of devices attached
0123456789ABCDEF    device

The app now runs on the device.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s