小编Edd*_*ddy的帖子

未找到兼容的 NDK 版本 React Native

我创建了一个空白的 react native 应用程序并添加了 webrtc 包,现在当我在手机上安装 react native 时,安装后它会自动关闭,我不知道为什么应用程序会关闭。我在终端中唯一注意到的是,它说找不到并排兼容的 NDK 版本。我的 Package.json 是

{
  "name": "calling_App",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "react": "16.11.0",
    "react-native": "0.62.2",
    "react-native-webrtc": "^1.75.3"
  },
  "devDependencies": {
    "@babel/core": "^7.9.0",
    "@babel/runtime": "^7.9.2",
    "@react-native-community/eslint-config": "^1.0.0",
    "babel-jest": "^25.3.0",
    "eslint": "^6.8.0",
    "jest": "^25.3.0",
    "metro-react-native-babel-preset": "^0.59.0",
    "react-test-renderer": "16.11.0"
  },
  "jest": {
    "preset": "react-native"
  }
}
Run Code Online (Sandbox Code Playgroud)

android webrtc reactjs react-native

16
推荐指数
2
解决办法
2万
查看次数

无法读取Ionic中未定义错误的属性“清单”

我正在尝试使用Firebase登录Facebook。我已经安装了所需的所有库并完成了所需的配置。尽管如此,每当我尝试启动我的应用程序时,都会出现此错误:

(node:11160) UnhandledPromiseRejectionWarning: TypeError: Cannot read 
property 'manifest' of undefined

at removeOldOptions (C:\Users\Dell\Desktop\firebaseapp\plugins\cordova- universal-links-plugin\hooks\lib\android\manifestWriter.js:48:32)ished in 37.33 s
at Object.writePreferences 

(C:\Users\Dell\Desktop\firebaseapp\plugins\cordova-universal-links- 
 plugin\hooks\lib\android\manifestWriter.js:27:19)
at activateUniversalLinksInAndroid 

(C:\Users\Dell\Desktop\firebaseapp\plugins\cordova-universal-links-plugin\hooks\afterPrepareHook.js:65:25)
at C:\Users\Dell\Desktop\firebaseapp\plugins\cordova-universal-links-plugin\hooks\afterPrepareHook.js:45:11
at Array.forEach (<anonymous>)
at run (C:\Users\Dell\Desktop\firebaseapp\plugins\cordova-universal-links-plugin\hooks\afterPrepareHook.js:41:17)
at module.exports (C:\Users\Dell\Desktop\firebaseapp\plugins\cordova-universal-links-plugin\hooks\afterPrepareHook.js:18:3)
at runScriptViaModuleLoader (C:\Users\Dell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:188:18)
at runScript (C:\Users\Dell\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:164:16)
(node:11160) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Run Code Online (Sandbox Code Playgroud)

cordova firebase ionic-framework firebase-realtime-database ionic3

6
推荐指数
3
解决办法
2949
查看次数