【问题标题】:react native realm error while generating apk在生成 apk 时对本机领域错误做出反应
【发布时间】:2017-05-12 11:48:08
【问题描述】:

我正在尝试通过运行命令为我的 react native android 应用程序生成一个 apk 文件

cd android && ./gradlew assembleRelease

但我收到以下错误

FAILURE: Build failed with an exception.

* What went wrong:
Could not list contents of '/Users/roman/Documents/Coding/Quotes/default.realm.note'.

【问题讨论】:

标签: android react-native realm


【解决方案1】:

对于以后遇到此问题的任何人,我在 github 上创建了一个问题。

https://github.com/realm/realm-js/issues/1012

只需删除根目录中的realm.default.note 文件即可。如果在 finder 窗口中看不到它,请在终端中使用命令 ls -a 进行查看

【讨论】:

    猜你喜欢
    • 2017-04-26
    • 1970-01-01
    • 1970-01-01
    • 2020-01-01
    • 2017-08-07
    • 1970-01-01
    • 2021-10-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多