# keystoresDedicatedLocation

> Path to a location dedicated to keystores for signing Android applications.

## Definition

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

```csharp
public static string keystoresDedicatedLocation { get; set; }
```

### Remarks

Additional Resources: [Create a new keystore](/engine/6000.7/manual/platform-specific/android/getting-started/keystore/create.md)

### Examples

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

public class KeystoresDedicatedLocationSample
{
    [MenuItem("Build/Set Custom Keystores Location")]
    public static void SetKeystoresLocation()
    {
        // Example custom location. Replace this with the actual path.
        string customPath = "/path/to/your/keystores";

        // Validate the directory before setting it
        if (Directory.Exists(customPath))
        {
            AndroidExternalToolsSettings.keystoresDedicatedLocation = customPath;
            Debug.Log($"Custom Keystores Location set to: {AndroidExternalToolsSettings.keystoresDedicatedLocation}");
        }
        else
        {
            Debug.LogError($"Invalid Keystores Location. Directory does not exist: {customPath}");
        }
    }

    [MenuItem("Build/Get Current Keystores Location")]
    public static void GetKeystoresLocation()
    {
        // Retrieve the currently configured location of the keystores
        string currentLocation = AndroidExternalToolsSettings.keystoresDedicatedLocation;

        Debug.Log($"Current Keystores Location: {currentLocation}");
    }
}
```
