Google Android Source code build problem Summary "Go"

Source: Internet
Author: User

This article was reproduced from: http://light3moon.com/2015/01/31/Google%20android%20source%20code%20build%20%E9%97%AE%E9%A2%98%E6%80%BB%E7%BB%93/

Error compiling external/chromium_org

When compiling external/chromium_org, if you report a similar error:

 Traceback (most recent call last): File ".. /.. /base/android/jni_generator/jni_generator.py ", line 1065, in Sys.exit (Main (SYS.ARGV)) File". /.. /base/android/jni_generator/jni_generator.py ", line 1061, in main options.optimize_generation) File". /.. /base/android/jni_generator/jni_generator.py ", line 996, in generatejniheader JNI_FROM_JAVAP = Jnifromjavap.createfromclass (input_file, namespace) file ".. /.. /base/android/jni_generator/jni_generator.py ", line 507, in Createfromclass stderr=subprocess.  PIPE) file "/usr/lib/python2.7/subprocess.py",/usr/java/jdk1.6.0_45/bin line 709, in __init__ errread, errwrite) file "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child raise Child_exceptionoserror: [Errno 2] No such file or directorymake: * * * [/home/odexcide/android-4./out/target/product/generic/obj/gyp/shared_intermediates/ui/gl/ JNI/SURFACE_JNI.H] Error 1make: * * * waiting for unfinished jobs .... 

That's the JDK to JAVAP. In fact, not necessarily is not installed, after loading JDK6, the default Java command path is/usr/bin/java this is actually a/usr/java/jdk1.6.0_45/bin/java link. Go to/usr/java/jdk1.6.0_45/bin under actually have JAVAP (this thing is used to decompile Java class), this is good to do, oneself manually under/usr/bin/create a JAVAP soft link on the line.

5.0 Compiling external/chromium_org Error

If the JAVAP set up, this chromium_org or error, then you can add to the chromium_org android.mk:

Product_prebuilt_webviewchromium: =yes

This sentence seems to say that you do not compile chromium webiew (WebKit?? ), with pre-compiled (the source code comes with a ready-made).

Google Android Source code build problem Summary "Go"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.