由于找不到表,expo android app无法加载

时间:2017-11-08 13:33:02

标签: android react-native expo native-base

每当我尝试在手机上加载应用程序时,我都会收到以下错误。我尝试更改为先前的提交(应该可以工作),重新安装所有软件包,然后重新安装所有软件包,但所有这些仍然会导致同一个红色屏幕。 我尝试更新一些软件包,但似乎都没有。 我自己还没有连接到sqlite数据库,所以这个sqlite连接可能是由expo或其他软件包设置的内部数据库。

它的内容如下:

no such table: catalystLocalStorage (code 1): , while compiling: SELECT key FROM catalystLocalStorage

enter image description here

enter image description here

我的Package.json文件

{
  "name": "app",
  "version": "1.0.0",
  "private": true,
  "devDependencies": {
    "exp": "^45.1.0",
    "flow-bin": "0.52.0",
    "flow-typed": "2.1.5",
    "prettier": "1.5.3",
    "react-native-scripts": "1.1.0",
    "react-test-renderer": "16.0.0-alpha.12"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "postinstall": "remotedev-debugger",
    "start": "exp start --tunnel",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios"
  },
  "dependencies": {
    "@expo/vector-icons": "^6.1.0",
    "color": "1.0.3",
    "expo": "^21.0.0",
    "lodash": "4.13.1",
    "moment": "2.13.0",
    "native-base": "2.3.3",
    "react": "16.0.0-alpha.12",
    "react-native": "0.47.2",
    "react-native-gifted-chat": "0.2.7",
    "react-native-star-rating": "^1.0.8",
    "react-native-vector-icons": "^4.4.2",
    "react-navigation": "1.0.0-beta.11",
    "react-redux": "5.0.5",
    "redux": "3.7.2",
    "redux-form": "7.0.3",
    "redux-persist": "4.8.3",
    "redux-thunk": "2.2.0",
    "remote-redux-devtools": "0.5.0",
    "remote-redux-devtools-on-debugger": "^0.8.0"
  }
}

这感觉像是一件疯狂的事情,真的令人沮丧。有谁知道问题可能是什么?提前谢谢。

1 个答案:

答案 0 :(得分:0)

对于将来遇到此问题的任何人:问题出在我的手机中。重新安装应用程序并清除一些额外空间后,它正常运行。