# Android Studio

Providing that you are using at least dart 2.15 then OnePub works with Android Studio out of the box.

The only actions required are to install OnePub and then login:

```dart
flutter pub global activate onepub
onepub login
```

If you are running a version of Dart pre 2.15 then you will need to run the pub commands manually.

{% hint style="info" %}
If you are running a Dart version pre 2.12 then follow the[ pre 2.12](/guides/installing/pre-dart-2.12.md) install instructions.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onepub.dev/guides/installing/ide-integration/android-studio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
