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!

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 trial

Android Build a Simple Android App Testing and Debugging Running an App on a Device

Nikita Beresnev
Nikita Beresnev
5,660 Points

Insufficient rights

Hello guys,

I guess I might have a problem. I have tried to connect my device to the computer and Android Studio detects it without any issues but each time I try to run an app on the device, I get an error message saying "insufficient rights". Has anyone else faced the same issue?

Akshat Jain
Akshat Jain
12,819 Points

I am not sure, but perhaps you might need to enable Developer Mode first.

1 Answer

Matthew Lee-Mattner
Matthew Lee-Mattner
6,359 Points

Hey Nikita,

I ran into exactly the same problem. Search the mobile device you're using and make sure all drivers are installed. Also make sure that developer mode is switched on.

You can find the drivers, and how to activate developer mode by searching your device on Google.

That worked for me! :)