无法读取未定义内部版本的属性“状态”:android

时间:2019-07-09 12:24:20

标签: javascript reactjs react-native expo

我要为我的react-native应用程序上载密钥库,所以我在终端中运行此命令,并出现此错误

  

无法读取未定义的属性“状态”

     

TypeError:无法读取未定义的属性“状态”
  在_getForPlatformAsync(/@expo/xdl@55.0.14/src/Project.js:163:70)
  在process._tickCallback(internal / process / next_tick.js:68:7)

这是我的app.json

{
    "expo": {
        "name": "LostInTunisia",
        "slug": "LostInTunisia",
        "privacy": "public",
        "sdkVersion": "33.0.0",
        "platforms": [
            "ios",
            "android",
            "web"
        ],
        "version": "1.0.0",
        "orientation": "portrait",
        "icon": "./assets/icon.png",
        "splash": {
            "image": "./assets/splash.png",
            "resizeMode": "contain",
            "backgroundColor": "#ffffff"
        },
        "updates": {
            "fallbackToCacheTimeout": 0
        },
        "assetBundlePatterns": [
            "**/*"
        ],
        "ios": {
            "bundleIdentifier": "com.yourcompany.LostInTunisia"
        },
        "android": {
            "package": "com.yourcompany.LostInTunisia"
        }
    }
}

我的package.json

{
    "main": "node_modules/expo/AppEntry.js",
    "scripts": {
        "start": "expo start",
        "android": "expo start --android",
        "ios": "expo start --ios",
        "web": "expo start --web",
        "eject": "expo eject"
    },
    "dependencies": {
        "expo": "^33.0.0",
        "expo-facebook": "^5.0.1",
        "react": "16.8.3",
        "react-dom": "^16.8.6",
        "react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
    "react-native-fbsdk": "^0.10.1",
        "react-native-web": "^0.11.4",
        "react-navigation": "^3.11.0"
    },
    "devDependencies": {
        "babel-preset-expo": "^5.1.1"
    },
    "private": true
}

0 个答案:

没有答案