我正在使用 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"
最佳答案
此问题是由于您本地的SDK版本不符合上述版本(23.4.0),
要解决此问题,请转到 android studio 包管理器并在其中安装 23.4.0 SDK 版本,否则更新 Android studio,并使用最新的 SDK 版本 27。
关于android - 找不到 support-v4.jar (com.android.support :support-v4:23. 4.0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51094645/