mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: I've accidentally broke the external CI. The reason is that root is defaulted to `$rootProject/..`. The Gradle Plugin assumes there is a package.json there, which is always the case for RN projects, given that root is configured properly. This was green on internal CIs as it was actually hitting the file on `xplat/js/package.json`. Externally, there is no such file, therefore is failing. The fix is to specify the root path and don't use the default for ReactAndroid Changelog: [Internal] [Fixed] - Set root to be `..` for ReactAndroid Reviewed By: cipolleschi Differential Revision: D36597308 fbshipit-source-id: 66638ee1014ef35c81195526e0b325f5cc008b82
Building React Native for Android
See the docs on the wiki.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.