Problem building/running ndk-samples-main
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cmake, cpp
- Domain
- build-system, mobile-dev
Research direction
Start with the native-activity module and its app/src/main/cpp/CMakeLists.txt, then reproduce the build in Android Studio using the reported NDK and CMake versions. Check the complete CMake configuration output beyond the CXX1429 summary; the issue is resolved when the C++ files are recognized and the module configures and builds successfully.
Written by the indexing model from the issue text.
Description
Hello,
I installed NDK and CMake 4.1.0 manually under SDK Tools (instead of latest 4.1.2.)
Downloaded ndk-samples-main, and open this folder in Android Studio, more than a dozen modules get recognized.
Try to build and run native-activity (or any other module).
Problems:
1.Files in CPP folders do not get recognized by AS.
2.On building following error occurs:
[CXX1429] error when building with cmake using C:\Users\Admin\AndroidStudioProjects\ndk-samples-main\native-activity\app\src\main\cpp\CMakeLists.txt: -- The C compiler identification is Clang 19.0.1 -- The CXX compiler identification is Clang 19.0.1 -- Detecting C compiler ABI info -- Configuring incomplete, errors occurred!
What is wrong?
- Dominant language
- C++
- Stars
- 10.5k
- Forks
- 4.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from android/ndk-samples
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
android/ndk-samples#1172 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
android/ndk-samples#1170 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
android/ndk-samples#1094 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
android/ndk-samples#1087 · 4 comments ·
-
resurrect PGO sampleMay be free again @DanAlbert claimed this 864 days ago, and no pull request is open. Open
android/ndk-samples#1070 · 1 assignee ·
All issues in android/ndk-samples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cp-algorithms/cp-algorithms#1774 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
telefonicaid/fiware-orion#4836 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SanderMertens/flecs#2463 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 2 days
-
nixd exits at startup when its parent process belongs to another userPossibly taken @conao3 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nix-community/nixd#930 ·
Maintainers usually reply within 2 days