Problem Installing Repo

I have been learning Java for a little while now. I still have a long way to go, but I thought I would install Ubuntu on my machine for the first time since I heard it is better for programming than Windows. I have installed Eclipse and set it up with the Android SDK and also made the Hello World program. That was just to give you an idea of where I am at.

So after that I decided I would try to "get the source" and was using Android Open Source Project website. Everything was going fine until I had to install Repo. I did all the commands for the install and then moved on to "initializing a Repo client" and got this error in the terminal after running

I have Googled this error and am either confused by the language that is being used or have been unsuccessful. So if you are going to give me a link, please explain in non-programmers language. Trying to teach myself this stuff and I run into problems occasionally that I just don't understand. Can someone please help me out with this?

I am sure everyone knows, but here is the link I used to "get source".....

I think it is pretty clear that any version beyond 2.2 will require 64-bit build environments. I am not sure if this means I need to do it on a 64 bit operating system or if I just need to download 64bit Java. If it is the Java, do I need both the 64 bit versions of the JRE and the JDK?

Right now I am running a 32-bit Ubuntu on a computer that also runs a 64-bit Windows 7. Not sure if that matters.

I think it is pretty clear that any version beyond 2.2 will require 64-bit build environments. I am not sure if this means I need to do it on a 64 bit operating system or if I just need to download 64bit Java. If it is the Java, do I need both the 64 bit versions of the JRE and the JDK?

Right now I am running a 32-bit Ubuntu on a computer that also runs a 64-bit Windows 7. Not sure if that matters.

Click to expand...

You'll probably need to be on a 64-bit version of ubuntu. That's all I use now

Alright, So I spent all last night switching over to a 64-bit version of Ubuntu and trying to get back to where I was. One thing I am curious about........The android open source project site says that Java 6 is not supported for getting the source. Does this still hold true? Hasn't it been over a year since Java 6 was released? Thanks.

Alright, So I spent all last night switching over to a 64-bit version of Ubuntu and trying to get back to where I was. One thing I am curious about........The android open source project site says that Java 6 is not supported for getting the source. Does this still hold true? Hasn't it been over a year since Java 6 was released? Thanks.

Click to expand...

I use the open-jdk6. Development has been slowly pushing over to java 6 support. If you run into problems just change the 1./5's to 1./6 in the file it complains about

Alright, So I spent all last night switching over to a 64-bit version of Ubuntu and trying to get back to where I was. One thing I am curious about........The android open source project site says that Java 6 is not supported for getting the source. Does this still hold true? Hasn't it been over a year since Java 6 was released? Thanks.

Click to expand...

I use the open-jdk6. Development has been slowly pushing over to java 6 support. If you run into problems just change the 1./5's to 1./6 in the file it complains about

Alright, So I spent all last night switching over to a 64-bit version of Ubuntu and trying to get back to where I was. One thing I am curious about........The android open source project site says that Java 6 is not supported for getting the source. Does this still hold true? Hasn't it been over a year since Java 6 was released? Thanks.

Click to expand...

That was old we have actually been building froyo on java 6 for quite a while.
but gingerbread requires a 64 bit system as well as java 6 it will not build with java 5 any longer. may be a way to mod around this as we did with java 6 for froyo but i doubt it , if you look in the build at envsetup.sh for gingerbread youll see its setup to build with java 6.

Very welcome now if you get it to build all the way without removing the camera hit me up

Click to expand...

I'll be honest. I went through all the steps. Now I don't know where to go next. Like I had said earlier.... I am learning everything as I go. According to Get Android Source Code | Android Open Source ...... I finished building the code. Where do I go from here? Is there a guide to explain editing a ROM? Or can someone direct me to the next steps I need to take to understand this process?

Useful Searches

About DroidForums.net

DroidForums.net was founded in 2009 originally dedicated for the Motorola Droid, the first Verizon Android Phone. We have since expanded our community to cover all Android Phones, Android Tablets, and Android Wearables. We discuss various topics including Android Help, Android Device Reviews, Android Apps, Phone Accessories, Android Games and more. Our ultimate goal is to be the Internet's best and largest Android Forum.