2017-03-24 75 views
3

當我試圖在github上打開「restcomm hello-world」時,我總是給出錯誤。我已經解決了其中的一些問題。最後的錯誤是:Mobicents Restcomm Hello-World Implementation錯誤android studio restcomm hello-word項目

我不知道如何解決這個錯誤。

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. 

請幫幫我!

回答

2

您可以嘗試使用最近發佈的Restcomm Android SDK release,因爲看起來您使用的是舊版本(即BETA4)。如果您仍有問題,請回復。

致以問候