지원 중단

버전이 출시될 때마다 특정 Android API가 쓸모없게 되거나 더 나은 개발자 환경을 제공하거나 새로운 플랫폼을 지원하도록 리팩터링됨 기능을 제공합니다 이러한 경우 Google은 더 이상 사용되지 않는 API를 공식적으로 지원 중단하고 개발자가 사용할 다른 API를 사용하도록 안내합니다.

지원 중단이란 API에 대한 공식적인 지원이 종료되었지만 개발자는 계속 사용할 수 있습니다 이 페이지에서는 중요한 지원 중단에 대해 말씀드리겠습니다. 다른 지원 중단을 확인하려면 API 차이점 보고서를 참고하세요.

Virtualizer 대신 Spatializer 사용

Android 12 (API 수준 32)에서 처음 추가된 Spatializer 클래스를 사용하면 앱에서 기기의 사운드 공간화 기능과 동작을 쿼리할 수 있습니다. Android 15에서는 Virtualizer 클래스가 지원 중단됩니다. 대신 AudioAttributes.Builder.setSpatializationBehavior를 사용하여 공간화가 지원되는 경우 콘텐츠 재생 방식을 지정합니다.

AndroidX media3 ExoPlayer 1.0은 기기에서 다중 채널 오디오를 지원하는 경우 기본적으로 서라운드 오디오를 사용 설정합니다. 이 기능을 제어하는 API를 비롯한 자세한 내용은 최근 블로그 게시물서라운드 오디오 문서를 참고하세요.

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.