rive-app / rive-android

A runtime for interactive animations on Android
https://rive.app
MIT License
332 stars 30 forks source link

Missing pls directory and its content when build from source code #327

Open mrrobot97 opened 1 month ago

mrrobot97 commented 1 month ago

I want to build rive aar from source code, when running debug build, error happens:

# Build librive_pls_renderer.
pushd "$RIVE_RUNTIME_DIR"/../pls
python3 -m venv build_env
source build_env/bin/activate
pip3 install ply
premake5 --out=out/android/arm64/debug --config=debug --scripts=~/rive-android/kotlin/src/main/cpp/../../../..//submodules/rive-cpp/build --with_rive_text --with_rive_audio=system --no-rive-decoders --os=android --arch=arm64 gmake2

Error: invalid option 'with_rive_text'

In build.rive.sh file, there's some hard coded path about "pls", and I believe there should be a premake5.lua defines this option.

I'm using tag: 9.3.1 to build.