set up device for development (???????????? no permissions)

后端 未结 26 2068
再見小時候
再見小時候 2020-11-22 12:27

I am using a Samsung galaxy nexus phone (Android 4.0 platform) .

I am developing Android app on Ubuntu linux OS. I would like to run my application

26条回答
  •  心在旅途
    2020-11-22 13:27

    I had the same problem, the solution is as fellow: (by the way, you don't have to root your device.)

    1. Type "su" to switch to super user.
    2. your-path/adb kill-server.
    3. your-path/adb start-server.
    4. If no error occurs, you can see the device list with "your-path/adb devices" in root account.
    5. Quit super user.
    6. Now you can perform "adb devices" in your account.

    Enjoy.

提交回复
热议问题