androidlinuxubuntu-12.04android-sourceandroid-make

Permission Denied for linux-x86/bin/acp while compiling android source


I am compiling android source code. The commands were

   aosp_hammerhead-userdebug
   export OUT_DIR_COMMON_BASE=/media/entertainment/out
   make -j4 otapackage

during the build process, after some time an error occurs:

     target Symbolic: libz (/media/entertainment/out/androidworkingDIR/target/product/hammerhead/symbols/system/lib/libz.so)

    /bin/bash: /media/entertainment/out/androidworkingDIR/host/linux-x86/bin/acp: Permission denied

    make: *** [/media/entertainment/out/androidworkingDIR/target/product/hammerhead/symbols/system/lib/libz.so] Error 126

    make: *** Waiting for unfinished jobs....

    target StaticLib: libc (/media/entertainment/out/androidworkingDIR/target/product/hammerhead/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)

For your information:

I have my normal user access(Read/write) in /media/entertainment/

I am using Ubuntu 12.04 64 bit

Can anybody please help me out of this?


Solution

  • So, the problem was with NTFS partition i.e. the out directory for the build process should not be in a NTFS partition.

    I created a new ext-4 partition, and everything went smooth.