지원 중단

출시될 때마다 특정 Android API가 더 이상 사용되지 않거나 더 나은 개발자 환경을 제공하거나 새로운 플랫폼 기능을 지원하기 위해 리팩터링해야 할 수 있습니다. 이러한 경우 Google은 사용되지 않는 API를 공식적으로 지원 중단하고 개발자에게 대신 사용할 대체 API를 안내합니다.

지원 중단은 API에 대한 공식 지원이 종료되었지만 개발자가 계속 사용할 수 있음을 의미합니다. 이 페이지에서는 이 Android 출시에서 지원 중단된 주요 기능을 설명합니다. 다른 지원 중단 사항을 확인하려면 API 차이점 보고서를 참고하세요.

Virtualizer 대신 Spatializer 사용

First added in Android 12 (API level 32), the Spatializer class lets apps query the capabilities and behavior of sound spatialization on the device. In Android 15, the Virtualizer class is deprecated. Use AudioAttributes.Builder.setSpatializationBehavior instead to characterize how you want your content to be played when spatialization is supported.

AndroidX media3 ExoPlayer 1.0 enables spatial audio by default for multichannel audio when the device supports it. See this recent blog post and the spatial audio documentation for more information, including APIs to control the feature.

Android WebView에서 WebSQL 지원 중단

The setDatabaseEnabled and getDatabaseEnabled methods from WebSettings are now deprecated. These settings activated support for WebSQL inside Webview. WebSQL is now removed in Chrome and is now deprecated on Android Webview. These methods will become a no-op on all Android versions in the next 12 months.

The World Wide Web Consortium (W3C) encourages apps needing web databases to adopt Web Storage API technologies like localStorage and sessionStorage, or IndexedDB. SQLite Wasm in the browser backed by the Origin Private File System outlines a replacement set of technologies based on the SQLite database, compiled to Web Assembly (Wasm), and backed by the origin private file system to enable more direct migration of WebSQL code.