更新到React Native涉及更改应用程序模板,如 https://github.com/facebook/react-native/releases/tag/v0.29.0发行说明中所述 我已按照这些说明操作,但无法启动应用程序(即使在完全删除并重新安装后).收
我已按照这些说明操作,但无法启动应用程序(即使在完全删除并重新安装后).收到以下错误:
我只需要更新我的Android SDK – 与Realm和RN 0.29没有兼容性问题!FAILURE: Build failed with an exception.
- What went wrong: A problem occurred configuring project ‘:app’.
A problem occurred configuring project ‘:realm’.
Could not resolve all dependencies for configuration ‘:realm:_debugCompile’.
Could not find com.android.support:support-v4:23.2.1.
这是我的错误,或者Realm与React Native 0.29不兼容?我在他们提到的发行说明中注意到
Plugins which pass activity reference in the constructor need to be updated to extend ReactContextBaseJavaModule use getCurrentActivity to get the activity reference. This change is backward compatible.