rive-app / rive-app/rive-android
Unable to build rive-android for contribution
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 538
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Description
Just want to build rive-android with debug mode as CONTRIBUTE.md step but I got a problem.
Error log
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kotlin:configureCMakeDebug[arm64-v8a]'.
> [CXX1429] error when building with cmake using /Users/hoang.vu/Work/rive-android/kotlin/src/main/cpp/CMakeLists.txt: -- The CXX compiler identification is Clang 14.0.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/hoang.vu/Library/Android/sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/Users/hoang.vu/Work/rive-android/kotlin/.cxx/Debug/4h3l715i/arm64-v8a/CMakeFiles/CMakeOutput.log".
C++ build system [configure] failed while executing:
/Users/hoang.vu/Library/Android/sdk/cmake/3.22.1/bin/cmake \
-H/Users/hoang.vu/Work/rive-android/kotlin/src/main/cpp \
-DCMAKE_SYSTEM_NAME=Android \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_SYSTEM_VERSION=21 \
-DANDROID_PLATFORM=android-21 \
-DANDROID_ABI=arm64-v8a \
-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a \
-DANDROID_NDK=/Users/hoang.vu/Library/Android/sdk/ndk/25.1.8937393 \
-DCMAKE_ANDROID_NDK=/Users/hoang.vu/Library/Android/sdk/ndk/25.1.8937393 \
-DCMAKE_TOOLCHAIN_FILE=/Users/hoang.vu/Library/Android/sdk/ndk/25.1.8937393/build/cmake/android.toolchain.cmake \
-DCMAKE_MAKE_PROGRAM=/Users/hoang.vu/Library/Android/sdk/cmake/3.22.1/bin/ninja \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/hoang.vu/Work/rive-android/kotlin/build/intermediates/cxx/Debug/4h3l715i/obj/arm64-v8a \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/hoang.vu/Work/rive-android/kotlin/build/intermediates/cxx/Debug/4h3l715i/obj/arm64-v8a \
-DCMAKE_BUILD_TYPE=Debug \
-B/Users/hoang.vu/Work/rive-android/kotlin/.cxx/Debug/4h3l715i/arm64-v8a \
-GNinja \
-DCMAKE_VERBOSE_MAKEFILE=1 \
-DANDROID_ALLOW_UNDEFINED_SYMBOLS=ON \
"-DANDROID_CPP_FEATURES=no-exceptions no-rtti" \
-DANDROID_STL=c++_shared
from /Users/hoang.vu/Work/rive-android/kotlin
BUILD TYPE: Debug
Device & Versions
- MacbookPro Chip M3
- Android Studio Koala
- Device: Emulator Android15
- SDK Level [Android SDK API Level 35]
- ndk versrion : 25.1.8937393
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with CONTRIBUTE.md and reproduce the debug build on the reported Android and NDK versions. Inspect kotlin/src/main/cpp/CMakeLists.txt and the :kotlin:configureCMakeDebug[arm64-v8a] task; done means the rive-android debug build completes without the reported CMake configuration failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cmake, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100