问题描述
我想一个真正的Android手机上运行我的Android应用程序。我做这个previously,但现在我有一个不同的android手机我想连接。这款手机是HTC野火A3333 - Android的版本2.2.1(旧我知道)......如果这是任何帮助。
我已经连接的设备,并在Windows设备管理器显示出来。
我已经连接的驱动程序管理器内的手机,在pviously工作$ P $,我(相同位置 sdkhome \\演员\\谷歌\\ usb_driver \\ I386
)和它总是说司机是最新的更新。
我只是不能让它出现在Android设备列表中了!
甚至杀害的ADB服务器版和再次启动后,它出现在命令提示符下连接的设备,但仍然在Android设备选择器不显示。我重新启动我的电脑并重新连接电话很多次了。
任何人可以帮助我在这里?
@ecrip
多德您的应用程序需要 2.3.6 [姜饼API 10]
最低目标,但你有一个 2.2.1(Froyo的API 8)
设备如你所说
<采用-SDK
安卓的minSdkVersion =10
机器人:targetSdkVersion =18/>
在提示符的要求API 10
你有的Android 2.2.1(API升级Froyo 8)
如你所说所以它不是在这里上市,但在指挥显示提示
这就是问题所在。
解决方案
要么使用更新版本的设备或应用程序的较低的minSdkVersion
@ecrip如果亚行是在命令中列出,那么要确保最小SDK或您的应用程序必须小于或等于设备API版本
这是与亚洲开发银行很常见的问题
最常见的解决方案,如果它突然停止显示
连接的设备或使其离线
,永不在线
然后
重启Eclipse
或重新启动系统
或者
如果USB调试启用做到这一点
在命令提示符下移至< SDK> /平台的工具
ADB杀服务器亚行启动服务器ADB设备
注意:
- 在我的
CMD
我很直接指挥亚行
因为我已经设置了亚行路径到环境变量
-
如果您知道连接PC设备的IP,那么你可以使用它连接以下
ADB连接<您的IP地址>
如果USB-调试desabled做下列之一
请你的Android设备上启用USB调试
为Android 2.3.6
设置>>应用程序设置>>发展
有关的Android 4.2标签
开发设置
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 - Android Version 2.2.1 (old I know)... if that's any help.
I have connected the device and shows up in the Windows device manager..
I've connected the driver for the phone within the manager, in the same location that worked previously for me (sdkhome\extras\google\usb_driver\i386
) and it always says the driver is up-to date.
I just can't get it to appear in the android device list at all!
Even after killing the adb sever and starting it again, it comes up with the connected device in command prompt but still doesn't show in the android device chooser. I've restarted my PC and reconnected the phone many times.
Can anybody help me out here?
@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-sdk
android:minSdkVersion="10"
android:targetSdkVersion="18" />
In your prompt its asking for API 10you 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 adbThe 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 thison 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 deviceFor Android 2.3.6
Settings >> Application Settings >> Development
For Android 4.2 Tab
Dev Settings
这篇关于运行在真实设备Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!