我无法在Mac OS中的android模拟器上运行react-native webrtc演示。
我将在移动应用程序上实时显示IP摄像机。
所以我从GitHub下载了Oney的RCTWebRTCDemo来运行它。
我做了以下工作。
失败:构建失败,并出现异常。
* What went wrong:
A problem occurred configuring project ':WebRTCModule'.
> Could not resolve all dependencies for configuration ':WebRTCModule:_debugPublishCopy'.
> Could not find com.android.support:appcompat-v7:26.1.0.
Searched in the following locations:
file:/Users/byz/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.pom
file:/Users/byz/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.jar
file:/Volumes/STUDY/Work/MyHome/RCTWebRTCDemo/android/sdk-manager/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.jar
Required by:
RCTWebRTCDemo:WebRTCModule:unspecified > com.facebook.react:react-native:0.56.0