BUILD ANDROID ERROR

Started by junetec, June 20, 2013, 12:31:16 AM

Previous topic - Next topic

junetec

Hello,

I try to build Android. I install everything but when I try to buil give permission denied error.

~/exdroid/lichee$ ./build.sh -p a13_nuclear -k 3.0

bash: ./build.sh: Permission denied

I try with sudo and sudo su with the same problem.

I forgot something?
Any sugestion will be apreciated.

regards,

Enric

JohnS

Try ls -l build.sh and look closely at all the output.

you can also instead of
./build.sh ...
use
bash build.sh ...
or (maybe)
sh build.sh ...

If it's an error inside the script, try using -x such as
bash -x build.sh ...


John

junetec

Thanks for the advices, I will try later.

junetec

No succes...

I try
bash -x build.sh -p a13_nuclear -k 3.0

and give the first error at line 262 of

buildroot/scripts/common.sh


Any sugestion will be apreciated.

regards,

Enric




JohnS

ls -l is your friend.  Probably you got file modes wrong all over the tree!

Understand how & fix :)

John

junetec

Quote from: JohnS on June 21, 2013, 12:31:52 PM
ls -l is your friend.  Probably you got file modes wrong all over the tree!

Understand how & fix :)

John

I obtain some progress.
I change permisions recursively

chmod -R 777 exdroid/

then

bash build.sh -p a13_nuclear -k 3.0

and

source build/envsetup.sh
then
lunch //option 6 nuclear_evb-eng

but I had stuck with
extract-bsp

Give that errors
cp: cannot stat `/home/health/exdroid/android4.0/../lichee/out/android/bImage': No such file or directory

/home/health/exdroid/android4.0/device/*/nuclear-evb/bImage copied!

cp: cannot stat `/home/health/exdroid/android4.0/../lichee/out/android/lib/modules/*/*': No such file or directory

/home/health/exdroid/android4.0/device/*/nuclear-evb/modules copied!

chmod: cannot access `modules/modules/*': No such file or directory