问题到真实设备上运行我的应用程序 [英] Problem to run my application on a real device

查看:120
本文介绍了问题到真实设备上运行我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发展下的 Linux操作系统Ubuntu 10.04 的Eclipse IDE android应用。

I am developing android application under Linux Ubuntu 10.04, with Eclipse IDE.

我成功地设法通过运行我的应用程序蚀虚拟设备仿真器(目标 Android2.1的-UPDATE1 )。

I successfully managed to run my application through eclipse virtual device emulator (target android2.1-update1).

于是,我跟着教程运行我在<一个应用程序HREF =htt​​p://www.techchee.com/2010/10/13/zte-unveils-7-inch-lightweight-android-tablet/相对=nofollow>中兴平板通过月食设备。我跟着教程的每一步。

Then, I followed the tutorial to run my application on a ZTE tablet device through eclipse. I followed every step of the tutorial.

我的规则文件位于下的 /etc/udev/rules.d/51-android.rules 的,与内容:

My rules file is located under /etc/udev/rules.d/51-android.rules, with content:

SUBSYSTEM=="usb", SYSFS{idVendor}=="19D2", MODE="0666"

中兴通讯的供应商ID为19D2。

The vendor ID of ZTE is 19D2.

我还启用了USB中兴通讯设备上,在我的应用程序的清单文件调试两种。

I also enabled USB debugging both on the ZTE device and in my application's manifest file.

当我在Eclipse中运行的应用程序,有一个Android设备选择器窗口弹出,显示设备搭配:

When I run the application in Eclipse, there is a "Android Device chooser" window popped up, which shows a device with:

编号:?????????????

serial number: "?????????????"

AVD名称: N / A

目标:未知

调试:

为什么月食则不能正确识别的中兴平板设备? 可能是什么可能的原因?

Why eclipse can not recognize the ZTE tablet device correctly?? What could be the possible reason?

(我也试过重新启动我的Linux机器,但没有改变)

(I also tried to reboot my linux machine, but nothing changed)

状态: ??

推荐答案

试着改变你的 /etc/udev/rules.d/51-android.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="19D2", OWNER="user", GROUP="group"

其中,用户是在发展帐户的用户名;和是该组的帐户下你的开发。

where user is the username of the account you develop under; and group is the group of the account you developer under.

这篇关于问题到真实设备上运行我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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