---
url: /api/platforms/android/src.md
---
[pantoken-root](../../../index.md) / android

# android

## Compatibility

Target: Android resources. Current format: `Generated colors, dimensions, and VectorDrawable compile and link with Android build-tools`. Minimum host version: `API 35 / build-tools 35.0.0`. Tested through `API 35 / build-tools 35.0.0`. Newer releases require review.

[Full compatibility matrix](../../../../compatibility)

Experimental

`@pantoken/android` — emit Instructure design tokens as Android resource XML.

It flattens the IR to concrete, single-mode values (`@pantoken/core`'s `toStyleDictionary`), then
emits `res/values/colors.xml` (colour tokens) and `res/values/dimens.xml` (dimension tokens) via
`@pantoken/sd-config`. Style Dictionary applies the Android transforms (`#aarrggbb`, `dp`/`sp`).

## Interfaces

* [GenerateAndroidOptions](interfaces/GenerateAndroidOptions.md)

## Functions

* [toAndroid](functions/toAndroid.md)
* [generateAndroid](functions/generateAndroid.md)

## References

### default

Renames and re-exports [generateAndroid](functions/generateAndroid.md)
