当我试图打开" restcomm hello-world"在github但我总是给出错误。我已经解决了其中一些问题。最后一个错误是: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.
请帮助我!
答案 0 :(得分:2)
您可以尝试使用本月发布的最新Restcomm Android SDK release,因为您似乎正在使用旧版本(即BETA4)。如果您仍有问题,请回复。
祝你好运