同步操作将从 CY./RedPlayer 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Before building the SDK, please make sure you have the following dependencies installed:
Git: Ensure that Git is installed on your machine. If not, you can download and install it from https://git-scm.com/. Or using the following command:
brew install git
Android SDK: Andrioid SDK is android project base dependency. You should download and then config with the following command:
# add this line to your ~/.bash_profile or ~/.profile, the android sdk will work
export ANDROID_SDK=<your sdk path>
# My build environment:
# macOS 14.0
# Android Studio Flamingo | 2022.2.1 Patch 2
# gradle version: 7.5.0
To run the example project, clone the repo, and run ./gradlew installDebug
from the Example directory first.
Clone the repository
git clone https://github.com/RTE-Dev/RedPlayer.git
Navigate to the demo project directory
cd RedPlayer/source/android
Build and Install RedPlayer-Demo.apk to your android phone
./gradlew installDebug
click to download RedPlayer-Demo.apk
Start by creating a new android project named PlayerDemo
In the root directory of your project, create a app module
and open the build.gradle
file
// add the RedPlayer SDK and RedPreload SDK
dependencies {
implementation project(path: ':OpenRedPlayerCore')
implementation project(path: ':OpenRedPreload')
}
This module includes dependencies on local RedPlayer SDK, RedPreload SDK and ffmpeg, opensoundtouch.
Run the following command in the terminal to build and install your demo:
$ ./gradlew installDebug
Then you app module
will build the apk and auto install you android phone.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。