linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Compile Linphone for Android failed - cannot find


From: 宋智峰
Subject: [Linphone-developers] Compile Linphone for Android failed - cannot find symbol
Date: Thu, 25 Feb 2016 20:21:48 +0800

Hi all, 
 
I'm trying to build Linphone app for Android with the clean source, but failed with error: cannot find symbol in linphone/compatibility/ApiTwentyOnePlus.java. 
And I'm using Android ndk r10e, and JDK 1.8.0_74. The compiling error is as bellow. 
 
Has anyone experienced the similar problem? 
 
Thanks, 
Frank  
 
Buildfile: /home/test/linphone-android/build.xml 
No sub-builds to iterate on 
warning: [options] source value 1.5 is obsolete and will be removed in a future release 
warning: [options] target value 1.5 is obsolete and will be removed in a future release 
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:55: error: cannot find symbol 
                        .setVisibility(Notification.VISIBILITY_PRIVATE) 
                                                   ^ 
  symbol:   variable VISIBILITY_PRIVATE 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:54: error: cannot find symbol 
                        .setCategory(Notification.CATEGORY_MESSAGE) 
                                                 ^ 
  symbol:   variable CATEGORY_MESSAGE 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:73: error: cannot find symbol 
                        .setVisibility(Notification.VISIBILITY_PUBLIC) 
                                                   ^ 
  symbol:   variable VISIBILITY_PUBLIC 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:72: error: cannot find symbol 
                        .setCategory(Notification.CATEGORY_CALL) 
                                                 ^ 
  symbol:   variable CATEGORY_CALL 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:91: error: cannot find symbol 
                                .setVisibility(Notification.VISIBILITY_SECRET) 
                                                           ^ 
  symbol:   variable VISIBILITY_SECRET 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:90: error: cannot find symbol 
                                .setCategory(Notification.CATEGORY_SERVICE) 
                                                         ^ 
  symbol:   variable CATEGORY_SERVICE 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:101: error: cannot find symbol 
                                .setVisibility(Notification.VISIBILITY_SECRET) 
                                                           ^ 
  symbol:   variable VISIBILITY_SECRET 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:100: error: cannot find symbol 
                                .setCategory(Notification.CATEGORY_SERVICE) 
                                                         ^ 
  symbol:   variable CATEGORY_SERVICE 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:122: error: cannot find symbol 
                .setVisibility(Notification.VISIBILITY_PRIVATE) 
                                           ^ 
  symbol:   variable VISIBILITY_PRIVATE 
  location: class Notification 
/home/test/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:121: error: cannot find symbol 
                .setCategory(Notification.CATEGORY_MESSAGE) 
                                         ^ 
  symbol:   variable CATEGORY_MESSAGE 
  location: class Notification 
Note: Some input files use or override a deprecated API. 
Note: Recompile with -Xlint:deprecation for details. 
10 errors 
3 warnings 
 
BUILD FAILED 
/home/test/sdk/adt-bundle/sdk/tools/ant/build.xml:720: The following error occurred while executing this line: 
/home/test/sdk/adt-bundle/sdk/tools/ant/build.xml:734: Compile failed; see the compiler error output for details. 
 
Total time: 2 seconds 
make: *** [javah] Error 1 
  

reply via email to

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