edorse03 / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

Fresh sipdroid checkout does not compile errors out with "CallRecorder cannot be resolved to a type" #891

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Check out sipdroid SVN
2. run "android update project -p . -t android-8
3. run "ant debug"

What is the expected output? What do you see instead?

expected to compile just fine, instead errors out with:

compile:
    [javac] C:\asdk\android-sdk-windows\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last
 set to false for repeatable builds
    [javac] Compiling 249 source files to C:\Users\Xand\Documents\SipDroid\bin\classes
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\media\RtpStreamSender.java:111: cannot find symbol
    [javac] symbol  : class CallRecorder
    [javac] location: class org.sipdroid.media.RtpStreamSender
    [javac]     CallRecorder call_recorder = null;
    [javac]     ^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\media\RtpStreamSender.java:140: cannot find symbol
    [javac] symbol  : class CallRecorder
    [javac] location: class org.sipdroid.media.RtpStreamSender
    [javac]                            int dest_port, CallRecorder rec) {
    [javac]                                           ^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\media\RtpStreamReceiver.java:81: cannot find symbol
    [javac] symbol  : class CallRecorder
    [javac] location: class org.sipdroid.media.RtpStreamReceiver
    [javac]     CallRecorder call_recorder = null;
    [javac]     ^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\media\RtpStreamReceiver.java:91: cannot find symbol
    [javac] symbol  : class CallRecorder
    [javac] location: class org.sipdroid.media.RtpStreamReceiver
    [javac]     public RtpStreamReceiver(SipdroidSocket socket, Codecs.Map payload_type, CallRecorder rec) {
    [javac]                                                                              ^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\media\JAudioLauncher.java:85: cannot find symbol
    [javac] symbol  : class CallRecorder
    [javac] location: class org.sipdroid.media.JAudioLauncher
    [javac]              CallRecorder call_recorder = null;
    [javac]              ^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\media\JAudioLauncher.java:88: cannot find symbol
    [javac] symbol  : class CallRecorder
    [javac] location: class org.sipdroid.media.JAudioLauncher
    [javac]                      call_recorder = new CallRecorder(null,payload_type.codec.samp_rate()); // Autogenerate filename from date.
    [javac]                                          ^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\sipua\ui\VideoCamera.java:368: warning: non-varargs call of varargs method with inexact
argument type for last parameter;
    [javac] cast to java.lang.Class for a varargs call
    [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
    [javac]                                     Method method = Class.forName("android.hardware.HtcFrontFacingCamera").getDeclaredMethod("getCamera",
null);
    [javac]
^
    [javac] C:\Users\Xand\Documents\SipDroid\src\org\sipdroid\sipua\ui\VideoCamera.java:369: warning: non-varargs call of varargs method with inexact
argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    [javac]                                     mCamera = (Camera) method.invoke(null, null);
    [javac]                                                                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 6 errors
    [javac] 2 warnings

BUILD FAILED

What version of the product are you using? On what device/operating system?

Latest SVN as of 4/3/2011, Windows 7 64-bit w/latest JDK (u24).

Which SIP server are you using? What happens with PBXes?

N/A

Which type of network are you using?

N/A

Please provide any additional information below.

Original issue reported on code.google.com by alexande...@gmail.com on 3 Apr 2011 at 9:52

GoogleCodeExporter commented 9 years ago
*me too

Original comment by aaronche...@gmail.com on 5 Apr 2011 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 5 Apr 2011 at 8:21