加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-15 16:16:25 所属栏目:百科 来源:网络整理
导读:更新到React Native涉及更改应用程序模板,如 https://github.com/facebook/react-native/releases/tag/v0.29.0发行说明中所述 我已按照这些说明操作,但无法启动应用程序(即使在完全删除并重新安装后).收到以下错误: FAILURE: Build failed with an exceptio
更新到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没有兼容性问题!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读