connecting adb with ZTE U950

enable USB debugging in Settings ? Applications  Development


from "Pro.Android.4"

Running on a Real Device
The best way to test an Android app is to run it on a real device. Any commercial
Android device should work when connected to your workstation, but you may need to
do a little work to set it up. If you have a Mac, you don’t need to do anything except plug
it in using the USB cable. Then, on the device itself, choose Settings ? Applications ?
Development and enable USB debugging. On Linux, you probably need to create or
modify this file: /etc/udev/rules.d/51-android.rules. We put a copy of this file on our
web site with the project files; copy it to the proper directory, and modify the username
and group values appropriately for your machine. Then, when you plug in an Android
device, it will be recognized. Next, enable USB debugging on the device.
For Windows, you have to deal with USB drivers. Google supplies some with the
Android packages, which are placed under the usb_driver subdirectory of the Android
SDK directory. Other device vendors provide drivers for you, so look for them on their
web sites. When you have the drivers set up, enable USB debugging on the device, and
you’re ready.
Now that your device is connected to your workstation, when you try to launch an app,
either it launches directly on the device or (if you have an emulator running or other devices attached) a window opens in which you choose which device or emulator to
launch into. If not, try editing your Run Configuration to manually select the target.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值