当前位置 : 主页 > 网页制作 > React >

react-native – Realm是否与React Native 0.29兼容?

来源:互联网 收集:自由互联 发布时间:2021-06-15
更新到React Native涉及更改应用程序模板,如 https://github.com/facebook/react-native/releases/tag/v0.29.0发行说明中所述 我已按照这些说明操作,但无法启动应用程序(即使在完全删除并重新安装后).收
更新到React Native涉及更改应用程序模板,如 https://github.com/facebook/react-native/releases/tag/v0.29.0发行说明中所述

我已按照这些说明操作,但无法启动应用程序(即使在完全删除并重新安装后).收到以下错误:

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.

我只需要更新我的Android SDK – 与Realm和RN 0.29没有兼容性问题!
网友评论