The ADB shell startup method in Ubuntu solves your troubles.

Source: Internet
Author: User

Are you still worried that you can only compile the source code in the Ubuntu environment, but cannot directly debug the ADB shell?

The following method can solve your problem:

If your environment already has ADB,

My ADB has been copied to Ubuntu, but environment variables have not been configured, so it can only be used in that folder, so:

$ Gedit. bashrc

Added the last line.

Export Path = $ path:/home/Username/Platform-Tools

Save and exit

$ Source. bashrc

$ ADB shell prompts (excluding the file you do not have)

Then you

# Lsusb view the information of your USB device, ID

Bus 004 device 001: Id 2222:0001 Linux Foundation 1.1 root Hub
Bus 002 device 015: Id 1668: 615d LG Electronics, Inc.
--> This Is My
Bus 007 device 004: Id 2222:0002 Linux Foundation 2.0 root Hub

Change the content of the/etc/udev/rules. d/51-android.rules file
Subsystem = "USB", sysfs {idvendor} = "1668", mode = "0666.

Then try again.

# Does the ADB shell work? Haha


Http://blog.163.com/bining_hb/blog/static/9409055201111914131638/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.