编译Android常见问题

make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1
解决:sudo apt-get install lib32ncurses5-dev

make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguar
解决:把make命令换成 make -j8

[out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1
1、在源代码中找到以下三个文件

     ./vendor/qcom/opensource/omx/mm-core/omxcore/inc/OMX_QCOMExtns.h 
     
    ./out/target/product/generic/obj/include/mm-core/omxcore/OMX_QCOMExtns.h 
     
      ./hardware/qcom/media/mm-core/omxcore/inc/OMX_QCOMExtns.h 

        2、在这些文件中找到typedef struct QOMX_VIDEO_PARAM_DIVXTYPE 并在该结构体中增加一个OMX_PTR pDrmHandle 变量

        3、继续编译

你可能感兴趣的:(android)