Hello,
As per the documentation(https://github.com/lukeweber/webrtc-jingle-client/) and after installing all the requirements
needed, i am running the "badit_android.py". I got the below error. I
surfed the web and didn't find any useful solution.
So can you advice me
how to solve this error ? I need to build this project in the terminal
in order to lunch the project later on eclipse.
Or is there any already build android project that I can get via my Email ?
Note that I am using the following :
NFO:main:Running with:
INFO:main: profile: default_debug
INFO:main: log-level: INFO
INFO:main: task-mask: 29
INFO:main: serial: None
INFO:main:=> Build = mvn install --activate-profiles default_debug
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Tuenti Voice Client Parent
[INFO] Tuenti Voice Client Core
[INFO] Tuenti Voice Client Native Library
[INFO] Tuenti Voice Client AIDL
[INFO] Tuenti Voice Client Example
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Tuenti Voice Client Parent 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ voice-parent ---
[INFO] Installing /root/webrtcjingleproject/trunk/android/pom.xml to /root/.m2/repository/com/tuenti/voice/voice-parent/1.0-SNAPSHOT/voice-parent-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Tuenti Voice Client Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ voice-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ voice-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-core/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ voice-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ voice-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-core/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ voice-core ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ voice-core ---
[INFO] No tests to run.
[INFO] Surefire report directory: /root/webrtcjingleproject/trunk/android/voice-client-core/target/surefire-reportsT E S T S
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ voice-core ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ voice-core ---
[INFO] Installing /root/webrtcjingleproject/trunk/android/voice-client-core/target/voice-core-1.0-SNAPSHOT.jar to /root/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.jar
[INFO] Installing /root/webrtcjingleproject/trunk/android/voice-client-core/pom.xml to /root/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Tuenti Voice Client Native Library 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- android-maven-plugin:3.5.3:generate-sources (default-generate-sources) @ voice-native ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ voice-native ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/webrtcjingleproject/trunk/android/voice-client-native/src/main/resources
[INFO]
[INFO] --- android-maven-plugin:3.5.3:ndk-build (default-ndk-build) @ voice-native ---
[INFO] Creating native output directory /root/webrtcjingleproject/trunk/android/voice-client-native/libs/armeabi
[INFO] executing 4 parallel jobs
[INFO] /root/Documents/android-ndk-r8e/ndk-build [-C, /root/webrtcjingleproject/trunk/android/voice-client-native, NDK_APPLICATION_MK=jni/default_debug.mk, -j, 4, NDK_APP_OUT=/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug, all]
[INFO] /bin/sh: 1: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found
[INFO] Traceback (most recent call last):
[INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 74, in
[INFO] main(sys.argv[1:])
[INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 50, in main
[INFO] subprocess.check_call(compiler_command, shell=True)
[INFO] File "/usr/lib/python2.7/subprocess.py", line 542, in check_call
[INFO] raise CalledProcessError(retcode, cmd)
[INFO] subprocess.CalledProcessError: Command '/root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -Ijni/../../../third_party/webrtc/modules/audio_processing/aecm -Ijni/../../../third_party -Ijni/../../../third_party/webrtc -Ijni/../../../third_party/webrtc/../ -Ijni/../../../third_party/webrtc/modules/audio_processing/utility -Ijni/../../../third_party/webrtc/common_audio/signal_processing/include -Ijni/../../../third_party/webrtc/system_wrappers/interface -Ijni/../../../third_party/webrtc/modules/audio_processing/aecm/include -isystem /root/Documents/android-ndk-r8e/platforms/android-9/arch-arm/usr/include -S jni/../../../third_party/webrtc/modules/audio_processing/aecm/aecm_core_neon_offsets.c -o jni/../../../third_party/webrtc/modules/audio_processing/aecm/aecm_core_neon_offsets.s' returned non-zero exit status 127
[INFO] /bin/sh: 1: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found
[INFO] Traceback (most recent call last):
[INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 74, in
[INFO] main(sys.argv[1:])
[INFO] File "jni/../../../third_party/webrtc/build/generate_asm_header.py", line 50, in main
[INFO] subprocess.check_call(compiler_command, shell=True)
[INFO] File "/usr/lib/python2.7/subprocess.py", line 542, in check_call
[INFO] raise CalledProcessError(retcode, cmd)
[INFO] subprocess.CalledProcessError: Command '/root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -Ijni/../../../third_party/webrtc/modules/audio_processing/ns/include -Ijni/../../../third_party/webrtc/modules/audio_processing/ns -Ijni/../../../third_party -Ijni/../../../third_party/webrtc -Ijni/../../../third_party/webrtc/modules/audio_processing/utility -Ijni/../../../third_party/webrtc/common_audio/signal_processing/include -Ijni/../../../third_party/webrtc/system_wrappers/interface -isystem /root/Documents/android-ndk-r8e/platforms/android-9/arch-arm/usr/include -S jni/../../../third_party/webrtc/modules/audio_processing/ns/nsx_core_neon_offsets.c -o jni/../../../third_party/webrtc/modules/audio_processing/ns/nsx_core_neon_offsets.s' returned non-zero exit status 127
[INFO] make: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found
[INFO] make: *** [/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug/local/armeabi/objs-debug/jingle/talk/base/dbus.o] Error 127
[INFO] make: *** Waiting for unfinished jobs....
[INFO] make: /root/Documents/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found
[INFO] make: *** [/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug/local/armeabi/objs-debug/jingle/talk/base/libdbusglibsymboltable.o] Error 127
[ERROR] Error while executing: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /root/webrtcjingleproject/trunk/android/voice-client-native && /root/Documents/android-ndk-r8e/ndk-build -C /root/webrtcjingleproject/trunk/android/voice-client-native NDK_APPLICATION_MK=jni/default_debug.mk -j 4 NDK_APP_OUT=/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug all, Result = 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tuenti Voice Client Parent ........................ SUCCESS [0.168s]
[INFO] Tuenti Voice Client Core .......................... SUCCESS [1.731s]
[INFO] Tuenti Voice Client Native Library ................ FAILURE [4.648s]
[INFO] Tuenti Voice Client AIDL .......................... SKIPPED
[INFO] Tuenti Voice Client Example ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.849s
[INFO] Finished at: Tue May 20 10:52:04 EEST 2014
[INFO] Final Memory: 14M/165M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.3:ndk-build (default-ndk-build) on project voice-native: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /root/webrtcjingleproject/trunk/android/voice-client-native && /root/Documents/android-ndk-r8e/ndk-build -C /root/webrtcjingleproject/trunk/android/voice-client-native NDK_APPLICATION_MK=jni/default_debug.mk -j 4 NDK_APP_OUT=/root/webrtcjingleproject/trunk/android/voice-client-native/obj/default_debug all, Result = 2 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :voice-native
ERROR:main:[KO] Build = mvn install --activate-profiles default_debug