Running Android Application On Real Device
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:
- In my
cmd
i am directly commandingadb
cause i have set the adb path toEnvironmental Variable
If you know the Device ip connected to pc then you can connect it using the following
adb connect <Your iP address>
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
Post a Comment for "Running Android Application On Real Device"