mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
bb832e1238
Summary: Fix a bug that allows us to run integration tests in our android project, where RN is specified as a module to our project. sdkHandler does not exist. The android documentation suggests that we should be using android.ndkDirectory instead. http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0 An alternative solution would be to set the environment variable ANDROID_NDK, but we do not want to rely on setting this environemnt variable at a system wide level. We ran two tests. 1.) perform a gradle sync from within our Android studio project, and verify there is no error output. 2.) build android using ./gradleW, from command land. Verify there are no build errors. Closes https://github.com/facebook/react-native/pull/14136 Differential Revision: D5327421 Pulled By: shergin fbshipit-source-id: d9e18519a8ca318f2026eb409b90cb09e2adbda1
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.