I am trying to build the latest webrtc code for android on ubuntu and met some problems
I followed the Android specific build steps mentioned here: http://www.webrtc.org/reference/getting-started
When executing "ninja -C out/Debug" I got the following error logs
I have install the jdk1.6 and set up the java path
Any help would be greatly appreicated!
ninja: Entering directory `out/Debug'
ninja: warning: premature end of file; recovering
[44/1172] ACTION Creating audio_device_module_java jar.TOC
FAILED: cd ../../webrtc/modules; python ../../build/android/gyp/jar_toc.py "--jar-path=../../out/Debug/lib.java/audio_device_module_java.jar" "--toc-path=../../out/Debug/lib.java/audio_device_module_java.jar.TOC" "--ignore=9696e649541724f984453eb4894beda3 -"
Traceback (most recent call last):
File "../../build/android/gyp/jar_toc.py", line 110, in <module>
sys.exit(main(sys.argv))
File "../../build/android/gyp/jar_toc.py", line 103, in main
DoJarToc(options)
File "../../build/android/gyp/jar_toc.py", line 87, in DoJarToc
input_paths=[jar_path],
File "/home/yang/trunk/build/android/gyp/util/md5_check.py", line 25, in CallAndRecordIfStale
function()
File "../../build/android/gyp/jar_toc.py", line 85, in <lambda>
lambda: UpdateToc(jar_path, toc_path),
File "../../build/android/gyp/jar_toc.py", line 73, in UpdateToc
javap_output = CallJavap(classpath=jar_path, classes=classes)
File "../../build/android/gyp/jar_toc.py", line 47, in CallJavap
return build_utils.CheckOutput(javap_cmd)
File "/home/yang/trunk/build/android/gyp/util/build_utils.py", line 107, in CheckOutput
stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
File "/usr/local/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
File "/usr/local/lib/python2.7/subprocess.py", line 1326, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory