Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Gingerbread in AOSP: some practical details
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jean-Baptiste Queru  
View profile  
 More options Dec 17 2010, 8:19 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Fri, 17 Dec 2010 17:19:19 -0800
Local: Fri, Dec 17 2010 8:19 pm
Subject: Gingerbread in AOSP: some practical details
A few noteworthy details about Gingerbread in AOSP:

-Gingerbread requires a 64-bit JDK 1.6 (which implies that you need a
64-bit host to build it). The instructions at source.android.com are
outdated, and 64-bit Ubuntu 10.4 is the preferred environment. We'll
be updating those instructions in the coming weeks.

-You should expect that Gingerbread will use at least 12GB of disk
space after syncing and building. The number will be higher if you
build for multiple hardware targets.

-Android likes to be built on machines with lots of RAM. There are
benefits up to at least 12GB of RAM (and more if you routinely work in
multiple branches simultaneously).

-The toolchain in android-2.3_r1 is known to work well for ARMv7
targets, but it sometimes generates incorrect ARMv5 code. The
toolchain in the gingerbread branch contains a fix for the ARMv5 code
generation, but hasn't been tested nearly as much.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jey Michael  
View profile  
 More options Dec 20 2010, 12:50 pm
From: Jey Michael <jey.mich...@gmail.com>
Date: Mon, 20 Dec 2010 09:50:46 -0800
Local: Mon, Dec 20 2010 12:50 pm
Subject: Re: [android-building] Gingerbread in AOSP: some practical details
Is 10.6 required, on OSX, for gingerbread ?

thanks,
-Jey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Baptiste Queru  
View profile  
 More options Dec 20 2010, 1:00 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Mon, 20 Dec 2010 10:00:41 -0800
Local: Mon, Dec 20 2010 1:00 pm
Subject: Re: [android-building] Gingerbread in AOSP: some practical details
10.5 is supported as well.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jey Michael  
View profile  
 More options Dec 20 2010, 1:17 pm
From: Jey Michael <jey.mich...@gmail.com>
Date: Mon, 20 Dec 2010 10:17:16 -0800
Local: Mon, Dec 20 2010 1:17 pm
Subject: Re: [android-building] Gingerbread in AOSP: some practical details
Thanks JBQ.  This makes it easy to switch completely to 10.6 post-Gingerbread.

On the same note,  Would 32-bit Ubuntu host be un-supported on Gingerbread?
Wondering what would be your recommendation to handle two builds
(post/pre Gingerbread) on the same linux machine.
thanks,
-Jey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Baptiste Queru  
View profile  
 More options Dec 20 2010, 1:21 pm
From: Jean-Baptiste Queru <j...@android.com>
Date: Mon, 20 Dec 2010 10:21:26 -0800
Local: Mon, Dec 20 2010 1:21 pm
Subject: Re: [android-building] Gingerbread in AOSP: some practical details
You can build froyo and gingerbread on the same linux host by having
Sun JDK 1.5 installed and default, and Sun JDK 1.6 installed (but not
default).

In that case, the envsetup.sh from gingerbread will switch to the 1.6
JDK. Caveat: once you do that in a terminal, you won't be able to use
the same terminal for froyo any more.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jey Michael  
View profile  
 More options Dec 20 2010, 1:46 pm
From: Jey Michael <jey.mich...@gmail.com>
Date: Mon, 20 Dec 2010 10:46:17 -0800
Local: Mon, Dec 20 2010 1:46 pm
Subject: Re: [android-building] Gingerbread in AOSP: some practical details
I am hoping the lower layer pieces from external vendors can work this
way too.  There are issues (probably non-AOSP code) that I see on
32-bit Linux that I will have to figure out.

Thanks again.
-Jey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Gingerbread and Eclipse" by Samuel B. Quiring
Samuel B. Quiring  
View profile  
 More options Dec 20 2010, 2:50 pm
From: "Samuel B. Quiring" <s...@sbqsam.com>
Date: Mon, 20 Dec 2010 11:50:06 -0800
Local: Mon, Dec 20 2010 2:50 pm
Subject: Gingerbread and Eclipse
Hi,

I've downloaded and built the gingerbread source (thanks!).  I executed the
resulting system.img on the emulator and it works.

Now I'm trying to set up my Eclipse environment.  I decided to take a walk
on the wild side and use Eclipse version "Helios" (3.6.1-linux-gtk-x86_64)
configured to use JRE java-6-sun-1.6.0.22.

I am following the instructions on
http://source.android.com/source/using-eclipse.html.
The first stumbling block is when you reach this step:

    5. Select "Create project from existing source", enter the path...

There is no "Create project from existing source" option in Helios.  I found
some instructions on the net that said:

    uncheck the "Use default location" box.
    browse to the location where you extracted the source
       # I assumed this is the directory where I copied the .classpath file

I hit "Finish" and the wizard and Eclipse just sat there a long time and
then correctly populated my workspace.

But there was a red exclamation point next to my project in the package
explorer and in the Problems window there are 3 errors:

project 'ginger' is missing required library:
'out/target/common/obj/JAVA_LIBRARIES/google-common-intermediates/javalib.j a
r
project 'ginger' is missing required library:
'out/target/common/obj/JAVA_LIBRARIES/gsf-client-intermediates/javalib.jar
The project cannot be built until build path errors are resolved.

Recalling that I had a similiar experience with froyo
(http://groups.google.com/group/android-building/browse_thread/thread/...
0bd7b81302), I followed the instructions there:

   In the "Libraries" tab of the Java Build Path:

   - Remove those two .jar files from my build path
   - add this .jar to the build path:

out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.j a
r

   hit ok

Everything compiles cleanly.  Thanks.

-Sam


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
GetItNow Marketing  
View profile  
 More options Dec 22 2010, 7:57 am
From: GetItNow Marketing <getitnowmarket...@gmail.com>
Date: Wed, 22 Dec 2010 04:57:16 -0800 (PST)
Local: Wed, Dec 22 2010 7:57 am
Subject: Re: Gingerbread and Eclipse
I having an issue with prelinking in gingerbread. Apriori compiles
with warnings http://pastebin.com/0zpqJLgw and only 3 modules listed
in prelink map actually end up prelinked. The rest are picked up as
not prelinked and were verified with isprelinked. Any ideas I've never
had this issue with froyo or before and just switched to x64 distro to
build gingerbread.

On Dec 20, 2:50 pm, "Samuel B. Quiring" <s...@sbqsam.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Gingerbread in AOSP: some practical details" by Jimmy
Jimmy  
View profile  
 More options Dec 26 2010, 10:21 pm
From: Jimmy <chunlung...@gmail.com>
Date: Sun, 26 Dec 2010 19:21:38 -0800 (PST)
Local: Sun, Dec 26 2010 10:21 pm
Subject: Re: Gingerbread in AOSP: some practical details
Hi JBQ,

For building froyo and gingerbread on the same linux host, we still
need a 64 bit linux host, right?
Should JDK1.5 32 bit or 64 bit installed?
Thanks.

Jimmy

On 12月21日, 上午2時21分, Jean-Baptiste Queru <j...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Baptiste Queru  
View profile  
 More options Dec 28 2010, 10:41 am
From: Jean-Baptiste Queru <j...@android.com>
Date: Tue, 28 Dec 2010 07:41:47 -0800
Local: Tues, Dec 28 2010 10:41 am
Subject: Re: [android-building] Re: Gingerbread in AOSP: some practical details
Yes, you need a 64-bit host.

On my machine, JDK 1.5 is installed in 64-bit, but I don't remember
whether that was a hard requirement or not.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walt Chen  
View profile  
 More options Dec 28 2010, 11:02 am
From: Walt Chen <godsarm...@gmail.com>
Date: Wed, 29 Dec 2010 00:02:33 +0800
Local: Tues, Dec 28 2010 11:02 am
Subject: Re: [android-building] Re: Gingerbread in AOSP: some practical details

I have successfully built froyo with full_passion as target on my new 64bit
ubuntu 10.04 host (AMD 6-core CPU, much faster than my previous 32bit host).

I only installed JDK 1.6. The only tricky point is to comment line 104-132
in build/core/main.mk which is used to check java version.

2010/12/28 Jean-Baptiste Queru <j...@android.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Baptiste Queru  
View profile  
 More options Dec 28 2010, 11:07 am
From: Jean-Baptiste Queru <j...@android.com>
Date: Tue, 28 Dec 2010 08:07:43 -0800
Local: Tues, Dec 28 2010 11:07 am
Subject: Re: [android-building] Re: Gingerbread in AOSP: some practical details
You need to be aware of two things when building froyo with JDK 1.6:

-This hasn't been tested by Google. While unlikely, there's a
possibility that subtle differences in the toolchain could creep up as
bugs.

-If you're sharing your source tree with other people, you need to be
very careful to not use @Override on interface methods, as JDK 1.5
doesn't support that.

JBQ

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »