Android Component Status Validator
android_component_statusCheck Android, Kotlin, and Jetpack API stability to avoid deprecated or removed components. Get replacement API, migration notes, and documentation links.
Instructions
Checks whether an Android/Kotlin API, class, or library is stable, deprecated, or removed. ALWAYS call this before using any class from android., androidx., or kotlin.*. This tool exists because AI tools confidently generate removed and deprecated APIs. Known failures without this check: AsyncTask (removed API 33), TestCoroutineDispatcher (removed coroutines-test 1.8+), ContextualFlowRow (deprecated Compose 1.8), IntentService (deprecated API 30), Handler(Looper.main()) (deprecated API 30), onBackPressed() (deprecated API 33), ProgressDialog (deprecated API 26). Returns status, replacement API, migration notes, and official documentation link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component_name | Yes | Full or short class name to validate. E.g. 'AsyncTask', 'android.widget.ProgressDialog', 'LiveData'. |