Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialHaoqing Zhu
5,681 PointsDevice connect to android studio
when I connect my samsung galaxy note s3, in the device logcat it shows: device unauthorized. Please check the confirmation dialog on your device. I wanna know how to solve it.
2 Answers
Ken Alger
Treehouse TeacherHaoqing;
Is your device in USB debug mode?
Ken
Wesley Seago
10,424 PointsAs Ken said above, first you need to enable USB debugging. It is very helpful at this point to check the box that keeps it active during debugging. After that, make sure the device is connected and unlocked before you build. You may need to answer an alert dialog on the device the first time, depending on several factors, but that should be it at that point. When the IDE asks where to deploy, select your device and you should be good to go.
Haoqing Zhu
5,681 PointsHaoqing Zhu
5,681 PointsYes, I clicked the USB debugging.