Skip to content

Problem building/running ndk-samples-main #1166

@petermeter69

Description

@petermeter69

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?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions