lukeweber / webrtc-jingle-client

Webrtc audio + jingle protocol brought to IOS and Android.
https://groups.google.com/forum/?fromgroups#!forum/webrtc-jingle
BSD 3-Clause "New" or "Revised" License
336 stars 136 forks source link

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 #109

Open alonewolf opened 11 years ago

alonewolf commented 11 years ago

$ mvn clean install [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-clean-plugin:2.5:clean (default-clean) @ voice-parent --- [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ voice-parent --- [INFO] Installing /home/iof/webrtcjingleproject/android/pom.xml to /home/iof/.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-clean-plugin:2.5:clean (default-clean) @ voice-core --- [INFO] Deleting /home/iof/webrtcjingleproject/android/voice-client-core/target [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 /home/iof/webrtcjingleproject/android/voice-client-core/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ voice-core --- [INFO] Compiling 29 source files to /home/iof/webrtcjingleproject/android/voice-client-core/target/classes [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 /home/iof/webrtcjingleproject/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: /home/iof/webrtcjingleproject/android/voice-client-core/target/surefire-reports


T 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] Building jar: /home/iof/webrtcjingleproject/android/voice-client-core/target/voice-core-1.0-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ voice-core --- [INFO] Installing /home/iof/webrtcjingleproject/android/voice-client-core/target/voice-core-1.0-SNAPSHOT.jar to /home/iof/.m2/repository/com/tuenti/voice/voice-core/1.0-SNAPSHOT/voice-core-1.0-SNAPSHOT.jar [INFO] Installing /home/iof/webrtcjingleproject/android/voice-client-core/pom.xml to /home/iof/.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] --- maven-clean-plugin:2.5:clean (default-clean-1) @ voice-native --- [INFO] [INFO] --- android-maven-plugin:3.5.3:clean (default-clean) @ voice-native --- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ voice-native --- [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 /home/iof/webrtcjingleproject/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 /home/iof/webrtcjingleproject/android/voice-client-native/libs/armeabi [INFO] executing 2 parallel jobs [INFO] /home/iof/android-ndk-r8e/ndk-build [-C, /home/iof/webrtcjingleproject/android/voice-client-native, NDK_APPLICATION_MK=jni/default_debug.mk, -j, 2, NDK_APP_OUT=/home/iof/webrtcjingleproject/android/voice-client-native/obj/default_debug, all] [INFO] jni/Android.mk:21: jni/../../../third_party/webrtc/common_audio/resampler/Android.mk: No such file or directory [INFO] jni/Android.mk:22: jni/../../../third_party/webrtc/common_audio/signal_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:23: jni/../../../third_party/webrtc/common_audio/vad/Android.mk: No such file or directory [INFO] jni/Android.mk:24: jni/../../../third_party/webrtc/modules/audio_coding/neteq/Android.mk: No such file or directory [INFO] jni/Android.mk:25: jni/../../../third_party/webrtc/modules/audio_coding/codecs/cng/Android.mk: No such file or directory [INFO] jni/Android.mk:26: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g711/Android.mk: No such file or directory [INFO] jni/Android.mk:27: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g722/Android.mk: No such file or directory [INFO] jni/Android.mk:28: jni/../../../third_party/webrtc/modules/audio_coding/codecs/pcm16b/Android.mk: No such file or directory [INFO] jni/Android.mk:29: jni/../../../third_party/webrtc/modules/audio_coding/codecs/ilbc/Android.mk: No such file or directory [INFO] jni/Android.mk:33: jni/../../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/Android.mk: No such file or directory [INFO] jni/Android.mk:38: jni/../../../third_party/webrtc/modules/audio_coding/main/source/Android.mk: No such file or directory [INFO] jni/Android.mk:39: jni/../../../third_party/webrtc/modules/utility/source/Android.mk: No such file or directory [INFO] jni/Android.mk:40: jni/../../../third_party/webrtc/modules/audio_conference_mixer/source/Android.mk: No such file or directory [INFO] jni/Android.mk:41: jni/../../../third_party/webrtc/modules/audio_device/Android.mk: No such file or directory [INFO] jni/Android.mk:42: jni/../../../third_party/webrtc/modules/audio_processing/aec/Android.mk: No such file or directory [INFO] jni/Android.mk:43: jni/../../../third_party/webrtc/modules/audio_processing/aecm/Android.mk: No such file or directory [INFO] jni/Android.mk:44: jni/../../../third_party/webrtc/modules/audio_processing/agc/Android.mk: No such file or directory [INFO] jni/Android.mk:45: jni/../../../third_party/webrtc/modules/audio_processing/ns/Android.mk: No such file or directory [INFO] jni/Android.mk:46: jni/../../../third_party/webrtc/modules/audio_processing/utility/Android.mk: No such file or directory [INFO] jni/Android.mk:47: jni/../../../third_party/webrtc/modules/audio_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:48: jni/../../../third_party/webrtc/modules/media_file/source/Android.mk: No such file or directory [INFO] jni/Android.mk:49: jni/../../../third_party/webrtc/modules/rtp_rtcp/source/Android.mk: No such file or directory [INFO] jni/Android.mk:50: jni/../../../third_party/webrtc/system_wrappers/source/Android.mk: No such file or directory [INFO] jni/Android.mk:51: jni/../../../third_party/webrtc/voice_engine/Android.mk: No such file or directory [INFO] jni/Android.mk:52: jni/../../../third_party/webrtc/modules/pacing/Android.mk: No such file or directory [INFO] jni/Android.mk:114: jni/../../../third_party/libjingle/Android.mk: No such file or directory [INFO] jni/Android.mk:21: jni/../../../third_party/webrtc/common_audio/resampler/Android.mk: No such file or directory [INFO] jni/Android.mk:22: jni/../../../third_party/webrtc/common_audio/signal_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:23: jni/../../../third_party/webrtc/common_audio/vad/Android.mk: No such file or directory [INFO] jni/Android.mk:24: jni/../../../third_party/webrtc/modules/audio_coding/neteq/Android.mk: No such file or directory [INFO] jni/Android.mk:25: jni/../../../third_party/webrtc/modules/audio_coding/codecs/cng/Android.mk: No such file or directory [INFO] jni/Android.mk:26: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g711/Android.mk: No such file or directory [INFO] jni/Android.mk:27: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g722/Android.mk: No such file or directory [INFO] jni/Android.mk:28: jni/../../../third_party/webrtc/modules/audio_coding/codecs/pcm16b/Android.mk: No such file or directory [INFO] jni/Android.mk:29: jni/../../../third_party/webrtc/modules/audio_coding/codecs/ilbc/Android.mk: No such file or directory [INFO] jni/Android.mk:33: jni/../../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/Android.mk: No such file or directory [INFO] jni/Android.mk:38: jni/../../../third_party/webrtc/modules/audio_coding/main/source/Android.mk: No such file or directory [INFO] jni/Android.mk:39: jni/../../../third_party/webrtc/modules/utility/source/Android.mk: No such file or directory [INFO] jni/Android.mk:40: jni/../../../third_party/webrtc/modules/audio_conference_mixer/source/Android.mk: No such file or directory [INFO] jni/Android.mk:41: jni/../../../third_party/webrtc/modules/audio_device/Android.mk: No such file or directory [INFO] jni/Android.mk:42: jni/../../../third_party/webrtc/modules/audio_processing/aec/Android.mk: No such file or directory [INFO] jni/Android.mk:43: jni/../../../third_party/webrtc/modules/audio_processing/aecm/Android.mk: No such file or directory [INFO] jni/Android.mk:44: jni/../../../third_party/webrtc/modules/audio_processing/agc/Android.mk: No such file or directory [INFO] jni/Android.mk:45: jni/../../../third_party/webrtc/modules/audio_processing/ns/Android.mk: No such file or directory [INFO] jni/Android.mk:46: jni/../../../third_party/webrtc/modules/audio_processing/utility/Android.mk: No such file or directory [INFO] jni/Android.mk:47: jni/../../../third_party/webrtc/modules/audio_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:48: jni/../../../third_party/webrtc/modules/media_file/source/Android.mk: No such file or directory [INFO] jni/Android.mk:49: jni/../../../third_party/webrtc/modules/rtp_rtcp/source/Android.mk: No such file or directory [INFO] jni/Android.mk:50: jni/../../../third_party/webrtc/system_wrappers/source/Android.mk: No such file or directory [INFO] jni/Android.mk:51: jni/../../../third_party/webrtc/voice_engine/Android.mk: No such file or directory [INFO] jni/Android.mk:52: jni/../../../third_party/webrtc/modules/pacing/Android.mk: No such file or directory [INFO] jni/Android.mk:114: jni/../../../third_party/libjingle/Android.mk: No such file or directory [INFO] jni/Android.mk:21: jni/../../../third_party/webrtc/common_audio/resampler/Android.mk: No such file or directory [INFO] jni/Android.mk:22: jni/../../../third_party/webrtc/common_audio/signal_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:23: jni/../../../third_party/webrtc/common_audio/vad/Android.mk: No such file or directory [INFO] jni/Android.mk:24: jni/../../../third_party/webrtc/modules/audio_coding/neteq/Android.mk: No such file or directory [INFO] jni/Android.mk:25: jni/../../../third_party/webrtc/modules/audio_coding/codecs/cng/Android.mk: No such file or directory [INFO] jni/Android.mk:26: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g711/Android.mk: No such file or directory [INFO] jni/Android.mk:27: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g722/Android.mk: No such file or directory [INFO] jni/Android.mk:28: jni/../../../third_party/webrtc/modules/audio_coding/codecs/pcm16b/Android.mk: No such file or directory [INFO] jni/Android.mk:29: jni/../../../third_party/webrtc/modules/audio_coding/codecs/ilbc/Android.mk: No such file or directory [INFO] jni/Android.mk:35: jni/../../../third_party/webrtc/modules/audio_coding/codecs/isac/main/source/Android.mk: No such file or directory [INFO] jni/Android.mk:38: jni/../../../third_party/webrtc/modules/audio_coding/main/source/Android.mk: No such file or directory [INFO] jni/Android.mk:39: jni/../../../third_party/webrtc/modules/utility/source/Android.mk: No such file or directory [INFO] jni/Android.mk:40: jni/../../../third_party/webrtc/modules/audio_conference_mixer/source/Android.mk: No such file or directory [INFO] jni/Android.mk:41: jni/../../../third_party/webrtc/modules/audio_device/Android.mk: No such file or directory [INFO] jni/Android.mk:42: jni/../../../third_party/webrtc/modules/audio_processing/aec/Android.mk: No such file or directory [INFO] jni/Android.mk:43: jni/../../../third_party/webrtc/modules/audio_processing/aecm/Android.mk: No such file or directory [INFO] jni/Android.mk:44: jni/../../../third_party/webrtc/modules/audio_processing/agc/Android.mk: No such file or directory [INFO] jni/Android.mk:45: jni/../../../third_party/webrtc/modules/audio_processing/ns/Android.mk: No such file or directory [INFO] jni/Android.mk:46: jni/../../../third_party/webrtc/modules/audio_processing/utility/Android.mk: No such file or directory [INFO] jni/Android.mk:47: jni/../../../third_party/webrtc/modules/audio_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:48: jni/../../../third_party/webrtc/modules/media_file/source/Android.mk: No such file or directory [INFO] jni/Android.mk:49: jni/../../../third_party/webrtc/modules/rtp_rtcp/source/Android.mk: No such file or directory [INFO] jni/Android.mk:50: jni/../../../third_party/webrtc/system_wrappers/source/Android.mk: No such file or directory [INFO] jni/Android.mk:51: jni/../../../third_party/webrtc/voice_engine/Android.mk: No such file or directory [INFO] jni/Android.mk:52: jni/../../../third_party/webrtc/modules/pacing/Android.mk: No such file or directory [INFO] jni/Android.mk:114: jni/../../../third_party/libjingle/Android.mk: No such file or directory [INFO] jni/Android.mk:21: jni/../../../third_party/webrtc/common_audio/resampler/Android.mk: No such file or directory [INFO] jni/Android.mk:22: jni/../../../third_party/webrtc/common_audio/signal_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:23: jni/../../../third_party/webrtc/common_audio/vad/Android.mk: No such file or directory [INFO] jni/Android.mk:24: jni/../../../third_party/webrtc/modules/audio_coding/neteq/Android.mk: No such file or directory [INFO] jni/Android.mk:25: jni/../../../third_party/webrtc/modules/audio_coding/codecs/cng/Android.mk: No such file or directory [INFO] jni/Android.mk:26: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g711/Android.mk: No such file or directory [INFO] jni/Android.mk:27: jni/../../../third_party/webrtc/modules/audio_coding/codecs/g722/Android.mk: No such file or directory [INFO] jni/Android.mk:28: jni/../../../third_party/webrtc/modules/audio_coding/codecs/pcm16b/Android.mk: No such file or directory [INFO] jni/Android.mk:29: jni/../../../third_party/webrtc/modules/audio_coding/codecs/ilbc/Android.mk: No such file or directory [INFO] jni/Android.mk:35: jni/../../../third_party/webrtc/modules/audio_coding/codecs/isac/main/source/Android.mk: No such file or directory [INFO] jni/Android.mk:38: jni/../../../third_party/webrtc/modules/audio_coding/main/source/Android.mk: No such file or directory [INFO] jni/Android.mk:39: jni/../../../third_party/webrtc/modules/utility/source/Android.mk: No such file or directory [INFO] jni/Android.mk:40: jni/../../../third_party/webrtc/modules/audio_conference_mixer/source/Android.mk: No such file or directory [INFO] jni/Android.mk:41: jni/../../../third_party/webrtc/modules/audio_device/Android.mk: No such file or directory [INFO] jni/Android.mk:42: jni/../../../third_party/webrtc/modules/audio_processing/aec/Android.mk: No such file or directory [INFO] jni/Android.mk:43: jni/../../../third_party/webrtc/modules/audio_processing/aecm/Android.mk: No such file or directory [INFO] jni/Android.mk:44: jni/../../../third_party/webrtc/modules/audio_processing/agc/Android.mk: No such file or directory [INFO] jni/Android.mk:45: jni/../../../third_party/webrtc/modules/audio_processing/ns/Android.mk: No such file or directory [INFO] jni/Android.mk:46: jni/../../../third_party/webrtc/modules/audio_processing/utility/Android.mk: No such file or directory [INFO] jni/Android.mk:47: jni/../../../third_party/webrtc/modules/audio_processing/Android.mk: No such file or directory [INFO] jni/Android.mk:48: jni/../../../third_party/webrtc/modules/media_file/source/Android.mk: No such file or directory [INFO] jni/Android.mk:49: jni/../../../third_party/webrtc/modules/rtp_rtcp/source/Android.mk: No such file or directory [INFO] jni/Android.mk:50: jni/../../../third_party/webrtc/system_wrappers/source/Android.mk: No such file or directory [INFO] jni/Android.mk:51: jni/../../../third_party/webrtc/voice_engine/Android.mk: No such file or directory [INFO] jni/Android.mk:52: jni/../../../third_party/webrtc/modules/pacing/Android.mk: No such file or directory [INFO] jni/Android.mk:114: jni/../../../third_party/libjingle/Android.mk: No such file or directory [INFO] make: *\ No rule to make target `jni/../../../third_party/libjingle/Android.mk'. Stop. [ERROR] Error while executing: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /home/iof/webrtcjingleproject/android/voice-client-native && /home/iof/android-ndk-r8e/ndk-build -C /home/iof/webrtcjingleproject/android/voice-client-native NDK_APPLICATION_MK=jni/default_debug.mk -j 2 NDK_APP_OUT=/home/iof/webrtcjingleproject/android/voice-client-native/obj/default_debug all, Result = 2 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Tuenti Voice Client Parent ........................ SUCCESS [0.434s] [INFO] Tuenti Voice Client Core .......................... SUCCESS [4.211s] [INFO] Tuenti Voice Client Native Library ................ FAILURE [2.524s] [INFO] Tuenti Voice Client AIDL .......................... SKIPPED [INFO] Tuenti Voice Client Example ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.270s [INFO] Finished at: Fri Sep 13 17:18:48 CST 2013 [INFO] Final Memory: 16M/153M [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 /home/iof/webrtcjingleproject/android/voice-client-native && /home/iof/android-ndk-r8e/ndk-build -C /home/iof/webrtcjingleproject/android/voice-client-native NDK_APPLICATION_MK=jni/default_debug.mk -j 2 NDK_APP_OUT=/home/iof/webrtcjingleproject/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

I followed the instruction step by step, but when i run the command with mvn install , the wrong above has happend, any body know what to do? thanks in advanced.

chathudan commented 11 years ago

try with maven 3.0.5

alonewolf commented 11 years ago

hi chathudan, i get your suggestion to set 3.0.5</android-maven-plugin.version> in webrtc-jingle-client-master/android/pom.xml ,but there happend another wrong ,here is the detail for this:

iof@iof-desktop:~/webrtc-jingle-client-master$ tools/badit_android.py INFO: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... Downloading: http://oss.sonatype.org/content/repositories/jayway-snapshots/com/jayway/maven/plugins/android/generation2/android-maven-plugin/3.0.5/android-maven-plugin-3.0.5.pom Downloading: http://repo.maven.apache.org/maven2/com/jayway/maven/plugins/android/generation2/android-maven-plugin/3.0.5/android-maven-plugin-3.0.5.pom [WARNING] The POM for com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 is missing, no dependency information available Downloading: http://oss.sonatype.org/content/repositories/jayway-snapshots/com/jayway/maven/plugins/android/generation2/android-maven-plugin/3.0.5/android-maven-plugin-3.0.5.jar Downloading: http://repo.maven.apache.org/maven2/com/jayway/maven/plugins/android/generation2/android-maven-plugin/3.0.5/android-maven-plugin-3.0.5.jar [ERROR] The build could not read 3 projects -> [Help 1] [ERROR]
[ERROR] The project com.tuenti.voice:voice-native:1.0-SNAPSHOT (/home/iof/webrtc-jingle-client-master/android/voice-client-native/pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.5 or one of its dependencies could not be resolved: Could not find artifact com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 in oss.sonatype.org-jayway-snapshots (http://oss.sonatype.org/content/repositories/jayway-snapshots/) -> [Help 2] [ERROR] Unknown packaging: so @ line 13, column 16 [ERROR]
[ERROR] The project com.tuenti.voice:voice-aidl:1.0-SNAPSHOT (/home/iof/webrtc-jingle-client-master/android/voice-client-aidl/pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.5 or one of its dependencies could not be resolved: Could not find artifact com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 in oss.sonatype.org-jayway-snapshots (http://oss.sonatype.org/content/repositories/jayway-snapshots/) -> [Help 2] [ERROR] Unknown packaging: apklib @ line 15, column 16 [ERROR]
[ERROR] The project com.tuenti.voice:voice-example:1.0-SNAPSHOT (/home/iof/webrtc-jingle-client-master/android/voice-client-example/pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.5 or one of its dependencies could not be resolved: Could not find artifact com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 in oss.sonatype.org-jayway-snapshots (http://oss.sonatype.org/content/repositories/jayway-snapshots/) -> [Help 2] [ERROR] Unknown packaging: apk @ line 14, column 16 [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException ERROR:main:[KO] Build = mvn install --activate-profiles default_debug

but when i enter webrtc-jingle-client-master/android Directory and run the command of mvn clean install ,the detail of wrong is :

iof@iof-desktop:~/webrtc-jingle-client-master/android$ mvn clean install [INFO] Scanning for projects... [WARNING] The POM for com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 is missing, no dependency information available [ERROR] The build could not read 3 projects -> [Help 1] [ERROR]
[ERROR] The project com.tuenti.voice:voice-native:1.0-SNAPSHOT (/home/iof/webrtc-jingle-client-master/android/voice-client-native/pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.5 or one of its dependencies could not be resolved: Failure to find com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 in http://oss.sonatype.org/content/repositories/jayway-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of oss.sonatype.org-jayway-snapshots has elapsed or updates are forced -> [Help 2] [ERROR] Unknown packaging: so @ line 13, column 16 [ERROR]
[ERROR] The project com.tuenti.voice:voice-aidl:1.0-SNAPSHOT (/home/iof/webrtc-jingle-client-master/android/voice-client-aidl/pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.5 or one of its dependencies could not be resolved: Failure to find com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 in http://oss.sonatype.org/content/repositories/jayway-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of oss.sonatype.org-jayway-snapshots has elapsed or updates are forced -> [Help 2] [ERROR] Unknown packaging: apklib @ line 15, column 16 [ERROR]
[ERROR] The project com.tuenti.voice:voice-example:1.0-SNAPSHOT (/home/iof/webrtc-jingle-client-master/android/voice-client-example/pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.5 or one of its dependencies could not be resolved: Failure to find com.jayway.maven.plugins.android.generation2:android-maven-plugin:jar:3.0.5 in http://oss.sonatype.org/content/repositories/jayway-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of oss.sonatype.org-jayway-snapshots has elapsed or updates are forced -> [Help 2] [ERROR] Unknown packaging: apk @ line 14, column 16 [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

is anybody has know how to resolve it?

chathudan commented 11 years ago

Are you using windows ?

itkumar307 commented 11 years ago

change default_debug.mk file data is replaced by default_release.mk .After change this file all data run without any problem

McPo commented 10 years ago

You must use depot_tools. Otherwise webrtc is not pulled down (Notice the INFO messages, its required)

Youll then hit another brick wall, youll want to use mvn install -P default_release

After that youll hit yet another issue Could not find artifact com.tuenti.voice:voice-native:so:x86:1.0-SNAPSHOT

Trying to find a solution now, will update.

Also the guide should also mention source ~/.bashrc And the fact you require API level 18 (I think)

lego-sharat commented 10 years ago

Did you find a solution? I am facing the same problem.

McPo commented 10 years ago

Use depot_tools Ensure you use NDK r8e And use tools/badit_android.py not Build the apks: cd trunk/android && mvn install

Let us know how you get on, You may need to add syslinks within the NDK (It may only be the case if you dont use the r8e, I cant remember)

lego-sharat commented 10 years ago

Problem solved. I used NDK version r8e to resolve the problem. Thanks for the help. :)

On Thu, Oct 31, 2013 at 5:27 PM, Emmet McPoland notifications@github.comwrote:

Use depot_tools Ensure you use NDK r8e And use tools/badit_android.py not Build the apks: cd trunk/android && mvn install

Let us know how you get on, You may need to add syslinks within the NDK (It may only be the case if you dont use the r8e, I cant remember)

— Reply to this email directly or view it on GitHubhttps://github.com/lukeweber/webrtc-jingle-client/issues/109#issuecomment-27479985 .

Regards

Sharat Chandra Software Engineer Samsung Research India - Bangalore

thehellmaker commented 10 years ago

webrtc and libjing is not pulled for me either. When you say user depot_tools do you mean tools/badit_android.py ?