---
title: androidGradlePluginVersion
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unityeditor/android/androidexternaltoolssettings/gradle/androidgradlepluginversion
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/android/androidexternaltoolssettings/gradle/androidgradlepluginversion.md
last_updated: 2026-09-14
generated_at: 2026-11-11T19:19:54.578Z
locale: en-us
---

# androidGradlePluginVersion

> Version of the Android Gradle Plugin (AGP) used for building Android applications.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Android](/engine/6000.3/script-reference/unityeditor/android.md)
* **Assembly:** UnityEditor.Android.Extensions

```csharp
public static string androidGradlePluginVersion { get; }
```

### Examples

```csharp
using UnityEngine;
using UnityEditor;
using UnityEditor.Android;

public class GradlePluginVersionManager
{
    [MenuItem("Build/Get Android Gradle Plugin Version")]
    public static void GetAndroidGradlePluginVersion()
    {
        // Retrieve the current version of the Android Gradle Plugin (AGP)
        string currentVersion = AndroidExternalToolsSettings.Gradle.androidGradlePluginVersion;

        // Log the currently configured version
        Debug.Log($"Current Android Gradle Plugin Version: {currentVersion}");
    }
}
```
