Closed dannaden closed 8 years ago
I have the some problem.
____ running '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' in '/mnt/Dev/webrtc-build-scripts/android/webrtc'
Updating projects from gyp files...
find: /mnt/Dev/webrtc-build-scripts/android/webrtc/src/third_party/android_tools/sdk//extras/google/google_play_services/libproject/google-play-services_lib/res': No such file or directory gyp: Call to 'find /mnt/Dev/webrtc-build-scripts/android/webrtc/src/third_party/android_tools/sdk//extras/google/google_play_services/libproject/google-play-services_lib/res -type f' returned exit status 1 while in chromium/src/third_party/android_tools/android_tools.gyp. Error: Command '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' returned non-zero exit status 1 in /mnt/Dev/webrtc-build-scripts/android/webrtc Hook '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' took 10.20 secs Build AppRTCDemo in Release (arch: armv7) Running ninja ninja: Entering directory
out_android_armeabi-v7a/Release'
ninja: error: loading 'build.ninja': No such file or directory
Release build for apprtc failed for revision 11866
I got past my problem, so I will close this.
My problem, it seems, was that I was trying to run the commands for my Android build from inside the "android" folder. They need to be run from the outer folder, "webrtc-build-scripts".
If someone could add that detail to the instructions, it would be helpful. Thanks!
@dannaden Same problem, but cann't solve by running outside folder, anyway. Can you share your commands step by step. Thanks!
Hello all, I think this is the same as this (in the lower level):
https://bugs.chromium.org/p/webrtc/issues/detail?id=5281
So what I did was to manually download google play services:
$ src/build/android/play_services/update.py download
And accept the license in the prompt, and then if you rerun the build script it should work.
Best regards
i staill have this error
After completing get_webrtc, the build_apprtc fails. I excute it at "webrtc-build-scripts" Running on Ubuntu 16
Build AppRTCMobile in Release (arch: x86_64)
Running ninja
ninja: Entering directory `out_android_x64/Release'
[3/3584] ACTION //base:android_runtime_jni_headersjni_Runtime(//build/toolchain/android:android_clang_x64)
FAILED: gen/android_runtime_jni_headers/base/jni/Runtime_jni.h
python ../../base/android/jni_generator/jni_generator.py --depfile gen/base/android_runtime_jni_headersjni_Runtime.d --jar_file ../../third_party/android_tools/sdk/platforms/android-26/android.jar --input_file java/lang/Runtime.class --ptr_type=long --output_dir gen/android_runtime_jni_headers/base/jni --includes ../../../../../../base/android/jni_generator/jni_generator_helper.h
Traceback (most recent call last):
File "../../base/android/jni_generator/jni_generator.py", line 1366, in
After completing get_webrtc, the build_apprtc fails.
I'm ultimately needing libjingle for an Android app I'm developing, but I was trying the build_apprtc first.
Running on Ubuntu 14.04.3 LTS (VMWare instance).
The following error occurs, then immediately shuts down my Terminal shell. The only way I could even capture the error is by retrying "build_apprtc" with a "|more".
____ running '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0 ' in '/home/dannaden/vrtc/webrtc-build-scripts-master/android/webrtc' Error: Command '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gypflag=0' returned non-zero exit status 1 in /home/dannaden/vrtc/webrtc-build-scripts-master/android/webrtc Updating projects from gyp files... find: `/home/dannaden/vrtc/webrtc-build-scripts-master/android/webrtc/src/third party/android_tools/sdk//extras/google/google_play_services/libproject/google-pl ay-services_lib/res': No such file or directory gyp: Call to 'find /home/dannaden/vrtc/webrtc-build-scripts-master/android/webrt c/src/third_party/android_tools/sdk//extras/google/google_play_services/libproje ct/google-play-services_lib/res -type f' returned exit status 1 while in chromiu m/src/third_party/android_tools/android_tools.gyp. Hook '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' took 11.29 secs Build AppRTCDemo in Release (arch: armv7) --ninja: fatal: chdir to 'out_android_armeabi-v7a/Release' - No such file or directory Running ninja ninja: Entering directory`out_android_armeabi-v7a/Release' Release build for apprtc failed for revision 11849