Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
When I do:sudo apt-get update
I see this at the end:Code:W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
When I run:
sudo apt-get install sun-java6-jdk sun-java6-plugin
I get:I'm running 12.04 beta2Code:Reading package lists... Done Building dependency tree Reading state information... Done Package sun-java6-jdk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'sun-java6-jdk' has no installation candidate E: Unable to locate package sun-java6-plugin
keep getting this error when repo syncing. any ideas:Exception in thread Thread-77:908), 1.39 MiB | 57 KiB/s
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/android/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
clone_bundle=not opt.no_clone_bundle)
File "/root/android/.repo/repo/project.py", line 934, in Sync_NetworkHalf
and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
File "/root/android/.repo/repo/project.py", line 1475, in _ApplyCloneBundle
exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
File "/root/android/.repo/repo/project.py", line 1539, in _FetchBundle
raise DownloadError('%s: %s ' % (req.get_host(), str(e)))
DownloadError: android.googlesource.com: <urlopen error [Errno -2] Name or service not known>
then at end of sync says sync stopped due to fetch errors
Ohh I just saw that i install Ubuntu 11.10 ? Think maybe that the problem?
I see just not me having problem installing Java... my is missing module call PixMap I download java like 8 times same issues? Any answer's?
I don't run Ubuntu 12.04 so I can't say exactly what's going on. However, try the instructions from the AOSP site for 12.04:
Initializing a Build Environment | Android Open Source
First question: why are you putting your android directory in the /root/ directory? I would strongly advise against doing that.
2ndly: you may have a bad copy of repo or you didn't set the permissions correctly. Dump it and redownload repo and chmod a+x again.
I'm using 11.10 just fine. Although, it's been a while since I had to set it up so I don't remember everything about the set up process.
I don't recognize that module at all. If you're getting it during the download of java, all I can think of is that you're downloading the wrong version or you missed a command some place along the way.
When I do:sudo apt-get update
I see this at the end:Code:W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
When I run:
sudo apt-get install sun-java6-jdk sun-java6-plugin
I get:I'm running 12.04 beta2Code:Reading package lists... Done Building dependency tree Reading state information... Done Package sun-java6-jdk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'sun-java6-jdk' has no installation candidate E: Unable to locate package sun-java6-plugin
How do you put android directory in another location than root directory where would i put it sorry I'm new still and was just going by the guide on here could u point me to a good guide to follow. another thing is when I go to download repo it don't take no time in saying done as soon as I run it its done is this suppose to happen or should it take a little time to download
The easest way would be to open "nautilus" while under ROOT. Then you could move the files with some pointing and clicking. You would just need to change the permissions like you would at the end of the guide. Or you could use chown and chmod.
I just following directions from this treat.
The directions in the OP are for Ubuntu 10.04 so all of the instructions may not apply to 11.10. Unfortunately, it's been really long since I set up my environment so I don't remember everything that I had to do. It may be best if you change your OS to 10.04 so you can follow along in the guide exactly if you're not familiar with linux.
joeycmb@joeycmb-laptop:~$ sudo -i
root@joeycmb-laptop:~# adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
root@joeycmb-laptop:~# adb devices
List of devices attached
root@joeycmb-laptop:~# sudo -i
root@joeycmb-laptop:~# adb devices
List of devices attached
root@joeycmb-laptop:~#
my laptop isnt detecting my triumph? anybody around maybe lil help?
root@joeycmb-laptop:~/android-sdk-linux/tools# sudo apt-get install git-core gnupg flex bison gperf build-essential \
>
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg is already the newest version.
The following extra packages will be installed:
cpp-4.4 dpkg-dev fakeroot g++ g++-4.4 gcc-4.4 gcc-4.4-base
libdigest-sha1-perl liberror-perl libgcc1 libgomp1 libstdc++6
libstdc++6-4.4-dev m4 patch xz-utils
Suggested packages:
bison-doc gcc-4.4-locales debian-keyring debian-maintainers g++-multilib
g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-4.4-multilib
libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0
libppl-c2 libppl7 git-doc git-arch git-cvs git-svn git-email git-daemon-run
git-gui gitk gitweb libstdc++6-4.4-doc diffutils-doc
The following NEW packages will be installed:
bison build-essential dpkg-dev fakeroot flex g++ g++-4.4 git-core gperf
libdigest-sha1-perl liberror-perl libstdc++6-4.4-dev m4 patch xz-utils
The following packages will be upgraded:
cpp-4.4 gcc-4.4 gcc-4.4-base libgcc1 libgomp1 libstdc++6
6 upgraded, 15 newly installed, 0 to remove and 42 not upgraded.
Need to get 23.3MB of archives.
After this operation, 43.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y <<<<<<<--------------------------------------------*********
Abort.
hey guy need help 2 day trying install environments why get abort?
Thanks everyone ,after 6 hrs run ... finally done .. do anybody download adreno updates drivers ?
repo sync -v(verbose) (the necessary lines to redirect to a file) reposync.txt

Alright, was able to sync with your repo successfully using 11.10, mantera =]
I'd like to build gingerbread too so I would have to create a separate folder for it in my android folder right?
Also, how would I go about changing the apps included in the ROM? Am I able to just unzip the .zip file, go into system, then apps, then proceed to remove/replace apps there or would I have to change them in the android folder on ubuntu?
You can use a different folder for gingerbread if you want. Or you can just manually change to the gingerbread branch on every repo as well. It's up to you. Personally, I find it less confusing and easier to manage just by having a separate folder locally.
You can change the apps in the rom just by deleting them from the Zip if you want. Or you can change the mk file to only build the stuff you want. But if you don't want to mess with anything, then just deleting it from the zip will work just fine.
So wait mantera, if there's a problem with your repo, which repos should I sync to for gingerbread? I was able to build your CM9 though! =]
I plan to release a gingerbread ROM and update as well as my own tweaks and apps. Any way you could help me set that up? What commands do I use? I'll create a separate folder called androidgingerbread then sync with cyanogenmod. Out of all the steps written down, which step should I start at? and how would I go about adding my own apps and removing apps from the ROM?
As far as the sync goes, instead of -ics, do -gingerbread. And look into my post on finding what writes to a .jar.g60 has a link to a guide on setting up cm7.
Ahh okay that's a good instruction for starting on gingerbread! But what do I have to sync as far as updated fromcyanogenmod's repo? All of it or is the a specific repo I should sync with from cyanogenmod?