지원 중단

각 출시에서 특정 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.