我正在使用react-native-webrtc模块运行示例应用程序。我正在尝试在android中运行应用程序,但是我得到了一个像这样的错误……
* What went wrong:
A problem occurred configuring project ':WebRTCModule'.
> Could not find support-v4.jar (com.android.support:support-v4:23.4.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/23.4.0/support-v4-23.4.0.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.673 secs请给我任何建议。以下是我在这个应用程序中使用的模块...
"react": "~15.4.0",
"react-native": "0.41.2",
"react-native-webrtc": "^1.54.7",
"socket.io-client": "^1.7.2"发布于 2018-06-29 14:33:21
这个问题是由于您的本地SDK版本与提到的版本(23.4.0)不符。
要解决此问题,请进入android studio包管理器,在其中安装23.4.0 SDK版本,否则请更新Android studio,并使用最新的SDK版本27。
https://stackoverflow.com/questions/51094645
复制相似问题