• Android
    • generateJsonModelDebug FAILED
    • Android Studio uses the ninja build system

    Android

    generateJsonModelDebug FAILED

    To solve this issue, please import the project into Android Studio, clickBuild/Refresh Linked C++ Projects.

    Android Studio uses the ninja build system

    Android Studio, itself, uses ninja to build native codes. There is ninja binary under Cmake folder. If Android Studio cannot find ninja on Windows, it is the Android Studio issue. You should set an environment variable that specifies the path to ninja:

    Android  - 图1

    ninja binaries are available as is ninja documentation.