• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Got Ubuntu 11.04

hey good news.
i created a custom rom successfully.
in that rom all features are working and it is working great.
It is smooth as Leandros.
Can any one tell me wat to do now to port cm7.
i will do my best.:D
 
after executing this command in d link u gave me i get an error
$ repo init -u https://android.googlesource.com/platform/manifest
above is the command
platform/manifest
Traceback (most recent call last):
File "/home/varun/bin/repo", line 685, in <module>
main(sys.argv[1:])
File "/home/varun/bin/repo", line 652, in main
_Init(args)
File "/home/varun/bin/repo", line 184, in _Init
_CheckGitVersion()
File "/home/varun/bin/repo", line 209, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
this is the error for that.
can u resolve it.
 
Did you install python
follow this


Initializing a Build Environment
The "Getting Started" section describes how to set up your local work environment, how to use Repo to get the Android files, and how to build the files on your machine. To build the Android source files, you will need to use Linux or Mac OS. Building under Windows is not currently supported.

Note: The source is approximately 2.6GB in size. You will need 10GB free to complete the build.

For an overview of the entire code-review and code-update process, see Life of a Patch.

To see snapshots and histories of the files available in the public Android repositories, visit the GitWeb web interface.

Setting up a Linux build environment
The Android build is routinely tested in house on recent versions of Ubuntu (10.04 and later), but most distributions should have the required build tools available. Reports of successes or failures on other distributions are welcome.
Note: It is also possible to build Android in a virtual machine. If you are running Linux in a virtual machine, you will need at least 8GB of RAM/swap and 12GB or more of disk space in order to build the Android tree.

In general you will need:

Python 2.4 -- 2.7, which you can download from python.org.

JDK 6 if you wish to build Gingerbread or newer; JDK 5 for Froyo or older. You can download both from java.sun.com.

Git 1.5.4 or newer. You can find it at git-scm.com.

(optional) Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc. Download from valgrind.org.

Detailed instructions for Ubuntu 10.04+ follow.

link=http://source.android.com/source/initializing.html
 
it will solve ..check the above link you need to install some other tools and after that setup the buid environment .....only then you can start downloadind src and build
 
See in the link how to install... or install normally... how u installed ubuntu virtual box or by deleting windows
 
No success.
Sorry guys but it is quite difficult.
I would have downloaded the source tree no matter how much its size would be but I m not able to reach till that process.
any other way to download source tree?
totally disappointed
 
hey sam thanks i have setup the GIT also installed it successfully.
can u tell me how to verify whether it is installed or not so that no problems arise further.
also gimme such a link to install python 2.7.
this link was very simple.
thanks.
waiting for ur rply.
 
pytjon is already installed in ununtu so dont install...now try to download the source from git...and see if you have python dependencies
 
Back
Top Bottom