Hello, i've been able to build the linphone app for android several times
previously successfully.
However i removed the sources i had, and cloned them again with git to have
clean sources, in a try to get a new/updated build of linphone.
I'm using android ndk 10e, the plataform-tools files are updated, java is
1.7.0.80
I do:
export
PATH=$PATH:/opt/android-ndk/:/opt/android-sdk-update-manager/tools/:/opt/android-sdk-update-manager/platform-tools/
make BUILD_FOR_X86=0 BUILD_OPUS=0 BUILD_UPNP=0 BUILD_G729=1
And if fails with this message:
*********************************************************************************
[AR] libvpx_g.a
[CP] libvpx.a < libvpx_g.a
make[2]: No se hace nada para 'all'.
make[1]: se sale del directorio
'/root/linphone-android/submodules/externals/build/libvpx/arm'
ant -e -S javah
Buildfile: /root/linphone-android/build.xml
No sub-builds to iterate on
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:56:
error: cannot find symbol
.setVisibility(Notification.VISIBILITY_PRIVATE)
^
symbol: variable VISIBILITY_PRIVATE
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:55:
error: cannot find symbol
.setCategory(Notification.CATEGORY_MESSAGE)
^
symbol: variable CATEGORY_MESSAGE
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:74:
error: cannot find symbol
.setVisibility(Notification.VISIBILITY_PUBLIC)
^
symbol: variable VISIBILITY_PUBLIC
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:73:
error: cannot find symbol
.setCategory(Notification.CATEGORY_CALL)
^
symbol: variable CATEGORY_CALL
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:92:
error: cannot find symbol
.setVisibility(Notification.VISIBILITY_SECRET)
^
symbol: variable VISIBILITY_SECRET
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:91:
error: cannot find symbol
.setCategory(Notification.CATEGORY_SERVICE)
^
symbol: variable CATEGORY_SERVICE
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:102:
error: cannot find symbol
.setVisibility(Notification.VISIBILITY_SECRET)
^
symbol: variable VISIBILITY_SECRET
location: class Notification
/root/linphone-android/src/org/linphone/compatibility/ApiTwentyOnePlus.java:101:
error: cannot find symbol
.setCategory(Notification.CATEGORY_SERVICE)
^
symbol: variable CATEGORY_SERVICE
location: class Notification
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
8 errors
BUILD FAILED
/opt/android-sdk-update-manager/tools/ant/build.xml:720: The following
error occurred while executing this line:
/opt/android-sdk-update-manager/tools/ant/build.xml:734: Compile failed;
see the compiler error output for details.
Total time: 6 seconds
Makefile:455: fallo en las instrucciones para el objetivo 'javah'
make: *** [javah] Error 1
******************************************************
Any idea about what's wrong?
Thanks!
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users