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

后端 未结 26 2029
再見小時候
再見小時候 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:11

    Please DO NOT follow solutions suggesting to use sudo (sudo adb start-server)! This run adb as root (administrator) and it is NOT supposed to run like that!!! It's a BAD workaround!

    Everything running as root can do anything in your system, if it creates or modify a file can change its permission to be only used by root. Again, DON'T!

    The right thing to do is set up your system to make the USER have the permission, check out this guide i wrote on how to do it properly.

提交回复
热议问题