当我尝试在 github 上打开“restcomm hello-world”但我总是出错。我已经解决了其中的一些问题。最后一个错误是:Mobicents Restcomm Hello-World Implementation
我不知道如何解决这个错误。
D:\ProjectFilesAndroid\RestCommExample\restcomm-android-sdk-1.0.0-BETA4\restcomm.android.sdk\src\main\java\org\restcomm\android\sdk\MediaClient\PeerConnectionClient.java
Error:(841, 27) error: cannot find symbol method stop()
Error:(856, 27) error: cannot find symbol method restart()
Error:(889, 28) error: method createVideoSource in class PeerConnectionFactory cannot be applied to given types;
required: VideoCapturer
found: VideoCapturerAndroid,MediaConstraints
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:restcomm.android.sdk:compileReleaseJavaWithJavac FAILED
Error:Execution failed for task ':restcomm.android.sdk:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
请帮我!
最佳答案
您可以尝试使用本月发布的最新 Restcomm Android SDK release,因为您似乎使用的是旧版本(即 BETA4)。如果还有问题请回帖。
此致
关于android - android studio restcomm hello-word 项目出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/42994462/