android development: Usb driver for Nexus5
16lz
2021-01-26
http://binglongx.wordpress.com/2013/03/05/use-android-devices-for-guest-ubuntu-os-in-virtualbox-on-windows-7-host/
1. Enable Developer options and enable USB debugging.
2. Install necessary MTP modules to your computer:
sudo apt-get install mtp-tools mtpfs
3. Configure 51-android.rules
sudo gedit /etc/udev/rules.d/51-android.rules
paste the following at the end of the file (if the file does not exist then just paste):
#LG – Nexus 5
SUBSYSTEM==”usb”, ATTR{idVendor}==”18d1", MODE=”0666"
4. Make the file executable:
sudo chmod +x /etc/udev/rules.d/51-android.rules
5. Restart udev
sudo service udev restart
6. If it doesn't work, restart PC try again.
7.If you use ubuntu in virtualbox, you need add the usb device for ubuntu.
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer