0

I am not able to run on my android tablet. I have been following the Android training link It says

To run the app from Eclipse:

  1. Open one of your project's files and click Run from the toolbar.
  2. In the Run as window that appears, select Android Application and click OK.

But when I do the same , I do not see anything on my Motorola Xoom Tablet.

I have checked the following link for Setting up USB drivers. As per the link , I have confirmed that device is connected.

When plugged in over USB, you can verify that your device is connected by executing adb devices from your SDK platform-tools/ directory. If connected, you'll see the device name listed as a "device."

C:\Android\sdk\platform-tools>adb devices List of devices attached 0380610842bf5157 device 

Can anyone please advise where I am going wrong. What should I do to make my eclipse code run on android tablet.

3 Answers 3

2

Do this

Click on The Project Root Folder >> Run as Android Project >> A device selection window will appear

Now select your device it will install application and start it

Note: as per your project setup

<manifest xmlns:android="http://schemas.android.com/apk/res/android" ... > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" /> ... </manifest> 

Your device must have API Level >= 8

OR

You can take help from my answer here In which i have talked about several possibilities Running Android Application on Real Device

Sign up to request clarification or add additional context in comments.

Comments

0

Thanks for the responses. I got this beautiful well detailed answer which resolved the issue

Actual Solution

Comments

0

For me, it was all a matter of finding the right window in Eclipse.

Click "Window" -> "Show View" -> "Project Explorer". Then right click "MyFirstApp" from the menu on the left, then click "Run as" -> "Android application".

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.