Hi,
i have downloaded android (jelly bean )source code, while building i have gone through this command
.build/envsetup.sh
then i got the following error
No command '.build' found, did you mean:
Command 'sbuild' from package 'sbuild' (universe)
Command 'pbuild' from package 'pbuilder-scripts' (universe)
Command 'xbuild' from package 'mono-xbuild' (main)
.build: command not found
i am not getting how to build my source code
i wan your help to complete my work
i will be very thank ful to you ....
thanks in advance
Related
So I have been working all day to get Ubuntu 11.10, Dual-boot on my Laptop. It runs smoothly, I have bee following the instructions from; Initializing a Build Enviroment, From the source.android.com Website. I am trying to get everything I need to be able to develop ROMS. Well I guess that is obvious. I have hit a road block I have tried figuring out for the past 2 hours and I am stumped. my knowledge is moderate on Linux so fair warning if you end up face palming.
I am onto the Downloading the Source tree, and I run into this error:
repo init -u https://andriod.googlesource.com/platform/manifest
No command 'repo' found, did you mean:
Command 'rep' from package 'rep' (universe)
Command 'repl' from package 'nmh' (universe)
Command 'repl' from package 'mailutils-mh' (universe)
repo: command not found
Click to expand...
Click to collapse
can someone point me in the right direction here. All help appreciated.
SOLVED!!!!
After posting I decided to keep tinkering, I found this workaround Here, I only had to do this to install repo instead:
curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo
chmod a+x ~/bin/repo
PATH=~/bin:$PATH
Click to expand...
Click to collapse
After that you should see it full run and download a bunch of stuff and BAM! there you go. Any questions PM me. Thread closed.
I am new to android. i am try to compile android kernel 3.4.0 for HTC device.
After running cross compile command,
"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"
when I run make clean command
"make clean && make mrproper"
It shows errors,
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found
I am not getting any clue to solve this error. Suggest me how to get rid of this error. Thank you in advance.
tyr to use arm-linux-androideabi-4.8
it's work for me
my device android 4.2.1 shown no command error
pl..z help
I am new to android source code development. I am using Ubuntu 14.04. I used official web "source.android" as a guideline for setting up and downloading source code.
Installed:
1) Python 2.7.10
2) GNU Make 3.82
3) Git latest
4) OpenJDK: sudo apt-get install openjdk-6-jdk
Downloaded following source code:
Build Number: JDQ39, android-4.2.2_r1, Jelly Bean, Galaxy Nexus, Nexus 7, Nexus 4, Nexus 10
It downloaded approximately 65GB, is it fine?
In guide line provided on source.android.com:
a) HADN'T USED SEPARATE OUTPUT DIRECTORY.
b) HADN'T OPTIMIZED A BUILD ENVIRONMENT
c) WASN'T ABLE TO CONFIGURE: USING AUTHENTICATION
d) AFTER EDITING CODE DON'T KNOW HOW TO VERIFY GIT TAG
When I type command "lunch aosp_arm-eng" after ". build/envsetup.sh" it says:
"build/core/product_config.mk:223: *** Cannot locate config makefile for product "aosp_arm". Stop.
** Don't have a product spec for: 'aosp_arm'
** Do you have the right repo manifest?"
I have tried instruction sets from various forums but hadn't found any solution. Kindly guide me how to solve this error while building source code.
How to compile custom kernel? i checked on motorola github but the source code there is for 3.x kernel. mine is 4.14.117.
Model: Moto G Power
Hardware Version: pvt
Model Number: XT2041-4
Android Version: 10
Android path level: September 1, 2020
Kernel Version: 4.14.117-perf+ #1 Wed Sep 2 13:22:48 CDT 2020
Build number: QPMS30.80-51-8
i think i found the correct source for my phone:
QPMS30.80-51-5 kernel source
but it wont compile. i get python errors. i'm using Ubuntu 20.04.
Bash:
./scripts/gcc-version.sh: line 26: python: command not found
./scripts/gcc-version.sh: line 27: python: command not found
make: python: Command not found
make: python: Command not found
make: python: Command not found
make: python: Command not found
make: python: Command not found
I have both versions of python installed so i'm not sure what the problem is.
skilo83 said:
i think i found the correct source for my phone:
QPMS30.80-51-5 kernel source
but it wont compile. i get python errors. i'm using Ubuntu 20.04.
Bash:
./scripts/gcc-version.sh: line 26: python: command not found
./scripts/gcc-version.sh: line 27: python: command not found
make: python: Command not found
make: python: Command not found
make: python: Command not found
make: python: Command not found
make: python: Command not found
I have both versions of python installed so i'm not sure what the problem is.
Click to expand...
Click to collapse
I had this problem in another case. But this solved my problem. Check if pyhon 3 is installed. If not then...
Code:
sudo apt install python3
sudo apt install python-is-python3
Koken2003 said:
I had this problem in another case. But this solved my problem. Check if pyhon 3 is installed. If not then...
Code:
sudo apt install python3
sudo apt install python-is-python3
Click to expand...
Click to collapse
yes i actually install python-is-python2 and it solved my problem. the source for my device seems to be made with an older android NDK. i would appreciate any help i can get. i'm just not sure what compiler to use to compile the source. the NDK i downloaded doesn't have any compilers in it.