Android source code compilation errors and Solutions

Source: Internet
Author: User

Android source code compilation errors and Solutions

1,

Make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error 1

Open the following makefile file in the project root directory:
Source code directory frameworks/compile/slang/Android. mk

In the open makefile file, follow the following changes:
# Local_cflags_for_slang: =-Wno-sign-promo-Wall-Wno-unused-parameter-Werror

Local_cflags_for_slang: =-Wno-sign-promo-Wall-Wno-unused-parameter

 

The reason is that the warning is treated as an error.


Error help when compiling android source code

In my 2.1 source code, yvup2abgr8888_venum (UINT8 *) inptr0,
(UINT8 *) inptr2,
(UINT8 *) inptr1,
(UINT8 *) outptr,
Cinfo-> output_width );
Your version is like venum. yvup2abgr8888_venum is a function. Android. mk should be faulty. 1) c with the yvup2abgr8888_venum function is not compiled; 2) the referenced library file is missing.
Bmlunlock module Android. mk to see

Ask me why the following error occurs when I compile the android source code:

JNI ?? Let's see if it's incorrect .. Or you have no parameters ..

Related Article

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.