mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 13:03:08 +08:00
Summary: Running the command `./gradlew clean` resulted in the following error: ``` ./node_modules/react-native/ReactAndroid/src/main/jni//xreact/jni/Android.mk:42: *** Android NDK: Aborting. . Stop. Android NDK: ./node_modules/react-native/ReactAndroid/src/main/jni//xreact/jni/Android.mk: Cannot find module with tag 'cxxreact' in import path Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ? Android NDK: The following directories were searched: ``` The problem was that `REACT_COMMON_DIR` wasn't defined. **Test plan (required)** Running `./gradlew clean` now works. Adam Comella Microsoft Corp. Closes https://github.com/facebook/react-native/pull/9607 Differential Revision: D3780364 fbshipit-source-id: 2b45d538413f7ee2cf0b36a1fa33287f0b1bf23f
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.