> For the complete documentation index, see [llms.txt](https://www.xrdev.app/mixed-reality-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.xrdev.app/mixed-reality-docs/lessons/lesson1/project/how-to-enable-developer-mode-on-an-android-device.md).

# How to enable Developer Mode on an Android Device?

&#x20;  The Settings app on Android includes a screen called **Developer options** that lets you configure system behaviors that help you profile and debug your app performance. For example, you can enable debugging over USB, capture a bug report, enable visual feedback for taps, flash window surfaces when they update, use the GPU for 2D graphics rendering, and more.

### Enable developer options and USB debugging <a href="#enable" id="enable"></a>

On Android 4.1 and lower, the **Developer options** screen is available by default. On Android 4.2 and higher, you must enable this screen. To enable developer options, tap the **Build Number** option 7 times. You can find this option in one of the following locations, depending on your Android version:

* Android 9 (API level 28) and higher: **Settings > About Phone > Build Number**
* Android 8.0.0 (API level 26) and Android 8.1.0 (API level 26): **Settings > System > About Phone > Build Number**
* Android 7.1 (API level 25) and lower: **Settings > About Phone > Build Number**

At the top of the **Developer options** screen, you can toggle the options on and off (figure 1). You probably want to keep this on. When off, most options are disabled except those that don't require communication between the device and your development computer.

Before you can use the debugger and other tools, you need to enable USB debugging, which allows Android Studio and other SDK tools to recognize your device when connected via USB. To enable USB debugging, toggle the **USB debugging** option in the Developer Options menu. You can find this option in one of the following locations, depending on your Android version:

* Android 9 (API level 28) and higher: **Settings > System > Advanced > Developer Options > USB debugging**
* Android 8.0.0 (API level 26) and Android 8.1.0 (API level 26): **Settings > System > Developer Options > USB debugging**
* Android 7.1 (API level 25) and lower: **Settings > Developer Options > USB debugging**

The rest of this page describes some of the other options available on this screen.

![](https://1227696974-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LoMjAI1irMPA8c0ezFQ%2F-M2_AUBF2eT9XU3fKj68%2F-M2_BMc2JvASJAsegRdy%2Fdev-options-pixel_2x.png?alt=media\&token=0c9a1ea5-b0ed-4f10-b288-c273d1a2a8f3)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.xrdev.app/mixed-reality-docs/lessons/lesson1/project/how-to-enable-developer-mode-on-an-android-device.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
