Configuración
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-27 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-27 (UTC)"],[],[],null,["# Setup\n\nTo integrate the Ink API, first add the dependencies in your app. From there,\nyou can access the different modules for your inking needs.\n\nThe Ink API library is available from the Google Maven repository. Add the\ndependency to your app's `build.gradle` file as shown: \n\n### Kotlin\n\n```kotlin\ndependencies {\n val ink_version = \"1.0.0-alpha01\"\n\n implementation(\"androidx.ink:ink-authoring:$ink_version\")\n implementation(\"androidx.ink:ink-brush:$ink_version\")\n implementation(\"androidx.ink:ink-geometry:$ink_version\")\n implementation(\"androidx.ink:ink-nativeloader:$ink_version1\")\n implementation(\"androidx.ink:ink-rendering:$ink_version\")\n implementation(\"androidx.ink:ink-strokes:$ink_version\")\n}\n```\n\n### Groovy\n\n```groovy\ndependencies {\n def ink_version = \"1.0.0-alpha01\"\n\n implementation \"androidx.ink:ink-authoring:$ink_version\"\n implementation \"androidx.ink:ink-brush:$ink_version\"\n implementation \"androidx.ink:ink-geometry:$ink_version\"\n implementation \"androidx.ink:ink-nativeloader:$ink_version\"\n implementation \"androidx.ink:ink-rendering:$ink_version\"\n implementation \"androidx.ink:ink-strokes:$ink_version\"\n}\n```"]]