支援的裝置
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
核心 ExoPlayer 用途所需的最低 Android 版本如下:
用途 |
Android 版本 |
API 級別 |
音訊播放 |
5.0 |
21 |
音訊播放 (使用卸載) |
10 |
29 |
影片播放 |
5.0 |
21 |
影片播放 (含效果) |
5.0 |
21 |
影片播放 (HDR) |
7.0 |
24 |
DASH (不含 DRM) |
5.0 |
21 |
DASH (Widevine CENC;"cenc" 架構) |
5.0 |
21 |
DASH (Widevine CENC;「cbcs」模式) |
7.1 |
25 |
DASH (ClearKey; "cenc" 配置) |
5.0 |
21 |
SmoothStreaming (不含 DRM) |
4.4 |
19 |
SmoothStreaming (PlayReady;"cenc" 配置) |
Android TV |
Android TV |
HLS (不含 DRM) |
5.0 |
21 |
HLS (AES-128 加密) |
5.0 |
21 |
HLS (Widevine CENC;"cenc" 配置) |
4.4 |
19 |
HLS (Widevine CENC;"cbcs" 配置) |
7.1 |
25 |
針對特定用途,我們的目標是在滿足最低版本需求的所有 Android 裝置上支援 ExoPlayer。已知的裝置專屬問題會列在 Media3 GitHub 問題追蹤工具或舊版 ExoPlayer GitHub 問題追蹤工具中。
Android Emulator
部分 Android 模擬器未正確實作 Android 媒體堆疊的元件,因此不支援 ExoPlayer。這是模擬器的問題,而非 ExoPlayer 的問題。只要系統映像檔的 API 級別至少為 23,Android 的官方模擬器 (Android Studio 中的「虛擬裝置」) 就會支援 ExoPlayer。早期 API 級別的系統映像檔不支援 ExoPlayer。第三方模擬器提供的支援層級會有所不同。在第三方模擬器上執行 ExoPlayer 時發生的問題,應向模擬器開發人員回報,而非 ExoPlayer 團隊。建議您盡可能在實體裝置上測試媒體應用程式,而非模擬器。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Supported devices\n\nThe minimum Android versions required for core ExoPlayer use cases are:\n\n| Use case | Android version | API level |\n|--------------------------------------------|-----------------|------------|\n| Audio playback | 5.0 | 21 |\n| Audio playback (using offload) | 10 | 29 |\n| Video playback | 5.0 | 21 |\n| Video playback (with effects) | 5.0 | 21 |\n| Video playback (HDR) | 7.0 | 24 |\n| DASH (no DRM) | 5.0 | 21 |\n| DASH (Widevine CENC; \"cenc\" scheme) | 5.0 | 21 |\n| DASH (Widevine CENC; \"cbcs\" scheme) | 7.1 | 25 |\n| DASH (ClearKey; \"cenc\" scheme) | 5.0 | 21 |\n| SmoothStreaming (no DRM) | 4.4 | 19 |\n| SmoothStreaming (PlayReady; \"cenc\" scheme) | Android TV | Android TV |\n| HLS (no DRM) | 5.0 | 21 |\n| HLS (AES-128 encryption) | 5.0 | 21 |\n| HLS (Widevine CENC; \"cenc\" scheme) | 4.4 | 19 |\n| HLS (Widevine CENC; \"cbcs\" scheme) | 7.1 | 25 |\n\nFor a given use case, we aim to support ExoPlayer on all Android devices that\nsatisfy the minimum version requirement. Known device-specific issues are listed\non the [Media3 GitHub issue tracker](https://github.com/androidx/media/labels/bug%3A%20device%20specific) or the\n[legacy ExoPlayer GitHub issue tracker](https://github.com/google/ExoPlayer/labels/bug%3A%20device%20specific).\n\nEmulators\n---------\n\nSome Android emulators don't properly implement components of Android's media\nstack, and as a result don't support ExoPlayer. This is an issue with the\nemulator, not with ExoPlayer. Android's official emulator (\"Virtual Devices\" in\nAndroid Studio) supports ExoPlayer provided the system image has an API level of\nat least 23. System images with earlier API levels don't support ExoPlayer. The\nlevel of support provided by third-party emulators varies. Issues running\nExoPlayer on third-party emulators should be reported to the developer of the\nemulator rather than to the ExoPlayer team. Where possible, we recommend testing\nmedia apps on physical devices rather than emulators."]]