Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nexus 7 Android Development and the dreaded ????????????
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
wjholden
l33t
l33t


Joined: 01 Mar 2004
Posts: 826
Location: Augusta, GA

PostPosted: Sat Jul 21, 2012 5:51 am    Post subject: Nexus 7 Android Development and the dreaded ???????????? Reply with quote

I've been doing Android development for a while, but udev didn't like my new Nexus 7. adb devices gave a cryptic error:
Code:
List of devices attached
????????????   no permissions
From http://stackoverflow.com/questions/3429959/why-is-eclipses-android-device-chooser-not-showing-my-android-device I created a file /etc/udev/rules.d/51-android.rules containing (based on lsusb output)
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
and set sudo chmod a+r /etc/udev/rules.d/51-android.rules. After restarting udev with sudo /etc/init.d/udev restart and also restarting ADB with adb kill-server everything now works perfectly:
Code:
john@sisig ~/Desktop $ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
015d24a81737f00a   device
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon Jul 23, 2012 2:12 pm    Post subject: Reply with quote

Please add that to our wiki: http://wiki.gentoo.org/wiki/Android
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Tue Jan 30, 2018 10:25 pm    Post subject: Re: Nexus 7 Android Development and the dreaded ???????????? Reply with quote

"/etc/udev/rules.d/51-android.rules" fixed the problem for me as well. Thank you.
__
sol
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum