react-native-community / jsc-android-buildscripts

Script for building JavaScriptCore for Android (for React Native but not only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm run start fails

barissenkal opened this issue · comments

Issue Description

WARNING:__main__:make_standalone_toolchain.py is no longer necessary. The
$NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin directory contains target-specific scripts that perform
the same task. For example, instead of:

    $ python $NDK/build/tools/make_standalone_toolchain.py \
        --arch arm --api 16 --install-dir toolchain
    $ toolchain/bin/clang++ src.cpp

Instead use:

    $ $NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi16-clang++ src.cpp

Version, config, any additional info

Android 9.0
CMake 3.10.2
NDK 19.2.5345600

@barissenkal NDK r19 changes a lot especially the in-place build and is not supported in the meantime.

We use NDK r17c which aligned with current React Native NDK version.
Please try with NDK r17c.