camera1-to-camerax
Installation
SKILL.md
Step 0: Add Dependencies
Check for and add the required CameraX dependencies. Use version 1.3.0 or higher for interoperability, or version 1.5.0 or higher for Compose extensions.
If you are using a Version Catalog (libs.versions.toml), add the following:
[versions]
camerax = "<minimum_version_needed>"
[libraries]
androidx-camera-core = { group = "androidx.camera", name = "camera-core", version.ref = "camerax" }
androidx-camera-camera2 = { group = "androidx.camera", name = "camera-camera2", version.ref = "camerax" }
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "camerax" }
androidx-camera-view = { group = "androidx.camera", name = "camera-view", version.ref = "camerax" }
androidx-camera-compose = { group = "androidx.camera", name = "camera-compose", version.ref = "camerax" }
Related skills
More from android/skills
r8-analyzer
Analyzes Android build files and R8 keep rules to identify redundancies,
333navigation-3
Learn how to install and migrate to Jetpack Navigation 3, and how to
327edge-to-edge
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge
306migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View to Jetpack
296play-billing-library-version-upgrade
Use this skill when upgrading or migrating an Android project from any
235display-ai-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected applications for Android
87