无法从日食direclty调试android应用到设备 [英] Not Able to debug android application direclty from eclipse to device

查看:152
本文介绍了无法从日食direclty调试android应用到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个疑问,我已经创造了新的Eclipse项目的Andr​​oid 2.3.1,并尝试直接从Eclipse来调试到device.and它wokring好,这是debugg在device.now当我将这个版本的安卓2.3 .1 GoogleApi 2.3.1通过右击项目,改变Android的property.after,当我运行我的项目,我得到这样的warrining一种符号为u可以看到下面的图片。

i have one doubt,i have created new project in eclipse with android 2.3.1 and try to debug directly from eclipse to device.and it's wokring well,it's debugg in device.now when i am converting that version of android 2.3.1 to GoogleApi 2.3.1 by right clicking project and changing android property.after that when i run my project i am getting such warrining kind of symbol as u can see in below image.

当我改变的版本简单的Andr​​oid 2.3.1比它从月食到设备调试得到了。

again when i am changing version to simple android 2.3.1 than it's get debugging from eclipse to device.

我的设备名称为索尼Ericon行走者Live和亚一件事谷歌API版本运行良好时,我复制APK直接SD卡,安装在设备,但只得到当我从Eclipse中直接运行到设备的问题。

my device name is Sony Ericon Walk Man Live and ya one more thing Google API version working well when i copy apk to sd card directly and installed in device,but getting problem only when i am running from eclipse to device directly.

一另一件事我注意到的是,当我创造出比右击项目一个简单的项目和乳宁它要求我还判定是否在设备或模拟器中运行,但在老年之一,它甚至没有问及仿真器直接运行......在两者的项目清单有喜欢的android没有标签:可调试=真/假也...

One another thing i noticed is that when i create a simple project than right clicking project and runing it's asking me to wether to run in device or emulator but in older one it's not even asking and directly running in emulator...in both's project manifest there is no tag like android:debuggable="true/false" also...

任何一个有想法是什么这个问题的解决办法,我已经insatlled设备驱动程序,以PC为好。

any one have idea what is a solution of this problem i have already insatlled device driver to pc as well.

请帮我短路这个

在此先感谢 Aamirkhan我。

Thanks in advance Aamirkhan I.

推荐答案

启用USB调试是关键,但还有别的东西为好。 Eclipse中,默认情况下,运行在第一次运行后,您会自动应用。所以,如果你选择一个模拟器作为你的第一次运行,Eclipse会默认通过模拟器来运行每次运行afterwards.To改变这一点,去你的运行配置。

Enabling USB debugging is key, but there's something else as well. Eclipse, by default, runs your application automatically after the first run. So, if you choose an emulator as your first run, Eclipse will default to run by emulator every run afterwards.To change this, go to your "Run Configurations".

将有一个选项,以手动或自动运行。

There will be an option to run manually or automatically.

选择手动,你会提示你每次决定运行时的仿真器和设备之间进行选择。否则,您可以设置是否与您的设备或仿真器自动运行。

Choose "Manual" and you will prompted to choose between your emulator and device every time you decide to run. Otherwise, you can set whether to run automatically with your device or emulator.

这篇关于无法从日食direclty调试android应用到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆