linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone Android Build Error


From: Shiju Email
Subject: Re: [Linphone-developers] Linphone Android Build Error
Date: Thu, 31 Mar 2016 18:08:29 +0530

Hello , can someone suggest the Linux OS version and the versions of JAVA , ant , etc to build the linphone-android

I tried with Ubuntu 14.04 LTS and Ubuntu 15.10 with latest packages , Java 1.8 and Java 9 , but with out any luck.

I am seeing that people are successfully compiling it when going through the threads , I suspect it could be because of any versions of packages I am using.

It will be highly helpful if someone could copy paste a needed package versions and the OS details, if they are able to build successfully.

Thanks in advance
Shiju

On Wed, Mar 30, 2016 at 6:37 PM, Shiju Email <address@hidden> wrote:
Hello,

I have been fiddling with Linphone-Android compilation for the past one week :). Noticed that compilation is now tough after moved to the 'prepare.py' build methodology

My System details are below
----------------------------

Description: Ubuntu 15.10

Release: 15.10

Codename: wily

Apache Ant(TM) version 1.9.6 compiled on July 8 2015

cmake version 3.2.2

javac 1.8.0_77

java version "1.8.0_77"

android-ndk-r10c

Android SDK tools and platform-tools updated to latest version

All other package dependencies are installed

-----------------------------------------------------


Error Log pasted below

------------------------------

-build-setup:

[getbuildtools] Using latest Build Tools: 23.0.3

     [echo] Resolving Build Target for Linphone...

[gettarget] Project Target:   Android 6.0

[gettarget] API level:        23

     [echo] ----------

     [echo] Creating output directories if needed...

    [mkdir] Created dir: /usr/local/src/linphone-android/bin

    [mkdir] Created dir: /usr/local/src/linphone-android/bin/res

    [mkdir] Created dir: /usr/local/src/linphone-android/bin/rsObj

    [mkdir] Created dir: /usr/local/src/linphone-android/bin/rsLibs

    [mkdir] Created dir: /usr/local/src/linphone-android/gen

    [mkdir] Created dir: /usr/local/src/linphone-android/bin/classes

    [mkdir] Created dir: /usr/local/src/linphone-android/bin/dexedLibs

     [echo] ----------

     [echo] Resolving Dependencies for Linphone...

[dependency] Library dependencies:

[dependency] No Libraries

[dependency] 

[dependency] ------------------

     [echo] ----------

     [echo] Building Libraries with 'debug'...

   [subant] No sub-builds to iterate on


-code-gen:

[mergemanifest] Merging AndroidManifest files into one.

[mergemanifest] Manifest merger disabled. Using project manifest only.

     [echo] Handling aidl files...

     [aidl] No AIDL files to compile.

     [echo] ----------

     [echo] Handling RenderScript files...

     [echo] ----------

     [echo] Handling Resources...

     [aapt] Generating resource IDs...

     [echo] ----------

     [echo] Handling BuildConfig class...

[buildconfig] Generating BuildConfig class.


-pre-compile:


-compile:

    [javac] Compiling 219 source files to /usr/local/src/linphone-android/bin/classes

    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.

    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.


BUILD FAILED

/usr/local/src/android-sdk-linux/tools/ant/build.xml:716: The following error occurred while executing this line:

/usr/local/src/android-sdk-linux/tools/ant/build.xml:730: Compile failed; see the compiler error output for details.


Total time: 32 seconds

Makefile:67: recipe for target 'generate-apk' failed

make: *** [generate-apk] Error 1

address@hidden:/usr/local/src/linphone-android# 


-------------------------------------

Highly appreciate any help or hints in this regard

Thanks

Shiju



reply via email to

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