[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Help me: Java error when buildinglinphone-andr

From: 曹贵林
Subject: Re: [Linphone-developers] Help me: Java error when buildinglinphone-android 2.3 and 2.3.2
Date: Mon, 16 Mar 2015 20:33:56 +0800

Hi Margaus
I have a workaround for my problem. Just comment the line in Makefile, so that tester project is not built. After changing Make, 'make' succeeds. And 'bin/Linphone-debug.apk' is built at last.

This is my changes to Makefile:

--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ else
 ifeq ($(ANT_SILENT), 1)
-       ANT=ant -e -S
+       ANT=ant -e
        ANT=ant -e
@@ -431,7 +431,7 @@ generate-mediastreamer2-libs: prepare-sources
 update-project: $(TOPDIR)/res/raw/rootca.pem
        $(SDK_PATH)/android update project --path . --target $(ANDROID_MOST_RECENT_TARGET)
-       $(SDK_PATH)/android update test-project --path tests -m .
+       #$(SDK_PATH)/android update test-project --path tests -m .
        $(SDK_PATH)/android update project --path liblinphone_tester --target $(ANDROID_MOST_RECENT_TARGET)

Dennis Cao (曹贵林)
------------------ Original ------------------
Date:  Mon, Mar 16, 2015 04:39 PM
To:  "margaux.clerc"<address@hidden>;
Cc:  "linphone-developers"<address@hidden>;
Subject:  Re: [Linphone-developers] Help me: Java error when buildinglinphone-android 2.3 and 2.3.2
Hi Margaus,
I think I have found the reason! I forget to update submodules of the linphone-android project, after i check out tag 2.3.2. But new problems occur:(  the awk file required by libilbc-rfc3951 can not be downloaded! And i checked the URL, the file has been removed!
So, i have to go back to the lastest commit in master branch. But I got such errors, when building: 
    Resolved location of main project to: /home/mancook/cook/work/linphone/linphone-android/tests
    Error: No at: /home/mancook/cook/work/linphone/linphone-android/tests/home/

My question is: can you tell me which is your last successful building commit? I will try that one!
Thanks in advance!

Dennis Cao (曹贵林)
------------------ Original ------------------
From:  "曹贵林"<address@hidden>;
Date:  Mon, Mar 16, 2015 03:08 PM
To:  "margaux.clerc"<address@hidden>;

Subject:  Help me: Java error when building linphone-android 2.3 and 2.3.2

Hi Margaus,
Pls, execuse me for bothering you with my problem. I am building linphone-android on ubuntu. But something strange occurs! I have sent the problem to developer's mail box. But as you are the main developer of the linphone-android project, I send this email to you. 

I am building linphone-android on such environment:
- ubuntu 12.04(64-bit);
- Android SDK level 19, NDK 9d;
- linphone-android version: 2.3 and 2.3.2

I failed to build linphone-android (both 2.3 and 2.3.2). Error Message:
    [javac] Compiling 133 source files to /home/mancook/cook/work/linphone/linphone-android/bin/classes
    [javac] /home/mancook/cook/work/linphone/linphone-android/src/org/linphone/ error: LinphoneManager is not abstract and does not override abstract method uploadStateChanged(LinphoneCore,LogCollectionUploadState,String) in LinphoneCoreListener
    [javac] public class LinphoneManager implements LinphoneCoreListener {
    [javac]        ^
    [javac] /home/mancook/cook/work/linphone/linphone-android/src/org/linphone/ error: method startEchoCalibration in interface LinphoneCore cannot be applied to given types;
    [javac]         mLc.startEchoCalibration(l);
    [javac]            ^
    [javac]   required: LinphoneCoreListener
    [javac]   found: EcCalibrationListener
    [javac]   reason: actual argument EcCalibrationListener cannot be converted to LinphoneCoreListener by method invocation conversion
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors

Hope you can help me out.  Thanks in advance!

Dennis Cao(曹贵林 )
Linphone-developers mailing list

Attachment: Makefile
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]