Android Studio: HMS Video Play Kit: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Created page with " ==Referensi== * https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/introduction-0000001050439577-V5" |
No edit summary |
||
| Line 1: | Line 1: | ||
Configure Maven dependencies in the build.gradle file under the app directory of your Android Studio project. | |||
dependencies { | |||
...... | |||
implementation "com.huawei.hms:videokit-player:1.0.10.300" | |||
} | |||
If you want your app to use Video Kit without relying on HMS Core (APK), add the following fallback dependencies in the dependencies block. | |||
dependencies { | |||
implementation 'com.huawei.hms:videokit-player-fallback:1.0.10.300' | |||
} | |||
Revision as of 02:46, 17 March 2022
Configure Maven dependencies in the build.gradle file under the app directory of your Android Studio project.
dependencies {
......
implementation "com.huawei.hms:videokit-player:1.0.10.300"
}
If you want your app to use Video Kit without relying on HMS Core (APK), add the following fallback dependencies in the dependencies block.
dependencies {
implementation 'com.huawei.hms:videokit-player-fallback:1.0.10.300'
}