Sipdroid is an open source VoIP running on Android platform, currently supports audio and video calls;
Project Tow Pipe Address: Http://code.google.com/p/sipdroid/
Download the source code, there will be some small errors when importing eclipse, but it is easier to change, these will not be repeated;
Under the command-line window under the project file, execute the ndk-build command (if you do not add NDK to the system environment variables need to be configured first);
C:\Users\zy\Desktop\Android sipdroid>ndk- is no android.mk under jni/ This is intentional -Define App_build_script to pointandroid ndk:to a valid NDK BUILD SCRIPT. D:/android-ndk-r9c/build/core/add-application.mk:202: * * * android ndk:aborting ... . Stop.
Here will be a path error problem, need to modify the Application.mk file;
Modify App_project_path: = $ (call My-dir) for App_project_path: = $ (call My-dir)/.
Execute the ndk-build command again, and there is also an error
Android ndk:jni/. /jni/Android.mk:silkcommon:LOCAL_MODULE_FILENAME must not contain a file Extensiond:/android-ndk-r9c/build/ core/build-static-library.mk:* * * Android ndk:aborting . Stop.
This is obviously the time to compile Silkcommon error, in the Android.mk file to locate the Silkcommon, as follows:
Silk : = silklocal_module := silkcommonlocal_src_files:= $ (silk)/src/skp_silk _A2NLSF.C $ (SILK)/src/skp_silk_cng.c \ ...
It is obvious that there is a missing sentence, include $ (clear_vars), we add this sentence to the top;
include $ (clear_vars) SILK := silklocal_module := silkcommonlocal_src_files:= $ (SILK)/SRC/SKP_SILK_A2NLSF.C \ ...
Execute Ndk-build again to compile successfully;
This compiles the library project, not the running app project.
Android uses NDK to compile sipdroid Library