Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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! :)