Skip to content Skip to sidebar Skip to footer

Running Android Application On Real Device

I'm trying to run my Android App on a real android phone. I've done this previously, but now I have a different android phone I want to connect. The phone is a HTC Wildfire A3333 -

Solution 1:

@ecrip

Dude your app needs 2.3.6 [GingerBread API 10] minimum target but you have a2.2.1(Froyo API 8) device as you said

<uses-sdkandroid:minSdkVersion="10"android:targetSdkVersion="18" />

In your prompt its asking for API 10 you have android 2.2.1(Froyo API 8) as you said so its not listing it here but showing in command prompt this is the problem

Solution

Either use newer version device or lower minSdkVersion of your application

@ecrip if adb is listed on command then make sure the min sdk or your application must be less than or equal to your device api version

This is very common issue with adb The most common solution if it suddenly stop showing connected device or make it offline and never become online Then

Restart Eclipse

or Reboot System

Alternatively

if usb debugging is enable do this on command prompt move to <sdk>/platform-tools

adb kill-server

adb start-server

adb devices

Note:

  1. In my cmd i am directly commanding adb cause i have set the adb path to Environmental Variable
  2. If you know the Device ip connected to pc then you can connect it using the following

    adb connect <Your iP address>

enter image description here


if usb-debugging is desabled do one of following

Keep usb debugging enabled on you Android device For Android 2.3.6

Settings >> Application Settings >> Development

For Android 4.2 Tab

Dev Settings

enter image description here

For Android 2.3.6

Post a Comment for "Running Android Application On Real Device"