The update for React Native includes changing the application template as described in the release notes here https://github.com/facebook/react-native/releases/tag/v0.29.0
I followed these instructions, but could not start the application (even after completely uninstalling and reinstalling). You will get the following error:
FAILURE: build failed with exception.
- What went wrong: There was a problem setting up the project: 'app'.
There was a problem setting up the project ': realm'. Failed to resolve all dependencies for configuration ': realm: _debugCompile'. Could not find com.android.support:support-v4:23.2.1.
Is this my mistake somewhere, or is this Realm not compatible with React Native 0.29? I note that the release notes mention
Plugins that pass an action reference in the constructor must be updated to extend the ReactContextBaseJavaModule, use getCurrentActivity to get the action reference. This change is backward compatible.
source
share