Skip to main content

Posts

Showing posts with the label add repository ppa

Ubuntu : Adding a new repository (PPA)

To add a repository ppa: sudo add-apt-repository ppa:user/ppa-name sudo apt-get update Sometimes adding a repository may result in error related to missing key. Then copy that key and run following command sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com KEY Do this for each of the missing keys. Now re-run the above two commands. If you are under proxy network or seen a error like Cannot add PPA: 'ppa:user/ppa-name'. Please check that the PPA name or format is correct. and if you are sure that the PPA is working, the try sudo -E add-apt-repository ppa:user/ppa-name

Setting up / Working with Android Source code

1. Install Ubuntu 10.04, as the Android root is built on it. 2. Update the system - Run Update manager and install new packages 3. Update the system settings: Proxy (IF REQUIRED) Adding Repository 4. Install sun java 6 Install java Change the default version . 5. Installing required packages: sudo apt-get install git-core gnupg flex bison gperf build-essential \zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \libxml2-utils xsltproc 6. Upgrade git 7. Installing Repo: mkdir ~/bin PATH=~/bin:$PATH curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo chmod a+x ~/bin/repo 8. Initialising a Repo client: mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 If any error saying "HTTP request failed", open file "~/bin/...