docs feedback re compiling src

by Michael Salmon » Sun, 19 Dec 2010 04:54:23 GMT

Sponsored Links
 Hi folks,

Have some feedback on the docs online that could be considered for 

1. docs say 32-bit linux ubuntu is supported, but on compile you get an
error that says (build/core/

"$(warning You are attempting to build on a 32-bit system.)
$(warning Only 64-bit build environments are supported beyond froyo/2.2.)"

2. docs say 64-bit linux "has not been well tested", but considering 32-bit
isnt supported at all (above note) does this mean mac OS X is the only
environment supported?

3. on related note, it's odd that mac os X 64-bit is not supported. In other
words if you have a 64-bit macbook your only option is to build in linux,
which as noted is not "well tested"

4. with respect to JDK version, it's vague. "JDK 5.0, update 12 or higher."
suggest doc actually recommend a particular version, e.g. "JDK 5.0 Update X
is known to be stable"

I'm curious if there is a way to have a page of build setups that are known
to work, ideally by repo revision?

BTW I'm using a macbook i7 64-bit and have been reading the various
developer notes and suggested workarounds for building on this machine, but
it's pretty interesting to see how far  the real support is for working on
Mac and Linux compared with the statement that they are "official build



Re: docs feedback re compiling src

by Abdull » Fri, 24 Dec 2010 00:09:47 GMT

 So I spent the last four hours on setting up a 32-bit Ubuntu 10.10 (inside a 
VM VirtualBox) as pointed out by above mentioned guide and I ran into the 
exact same problems.

Make this a *wasted* four hours of development time >:(.

Considering the fact that the first user post regarding this 
 back to September 28, 2010, this means the documentation is pretty 
much useless for now already three months.

Please, maintainers of Android, don't treat us users like this! Time is 
money. Moments like these let users feel abandoning a project. I don't want 
to start over setting up a 64-bit Ubuntu, just to find out that yet another 
undocumented setup detail made me waste another four hours.


Sponsored Links

Other Threads

1. resource not found exception - framework

Hi All,

I was trying to replace exisiting status bar with custom one, the
following are the steps I tried:

1) I added a new project file in framework/base as 'customstatus' ,
all my source of new status bar and resuorce elements are here. When I
compile this I get the custom-res.apk ,

2) Further I modified build/core/ to my customstatus (under

3) framework/base/ , added my resource file path as
customstatus-source-path := APPS/customstatus-res_intermediates/src
LOCAL_INTERMEDIATE_SOURCES := $(customstatus-source-path)/com/mist/

4) in /frameorks/base/services/java/com/android/server/status/ , in this I replaced original status bar view
with my customstatus bar view.

I comiled framework , copied framework.jar,
services.jar ,customstatus-
res.apk into my device, rebooted, I see my custom status bar.

Now , I wanted to add a icon for volume , so added a icon iamge in my
customstatus/res/drawable , used it in my sustom status bar java file,
the source compiled fine. But when I deploy this on board I get the

E/AndroidRuntime( 1370): *** EXCEPTION IN SYSTEM PROCESS.  System will
E/AndroidRuntime( 1370): android.content.res.Resources
$NotFoundException: Resource ID #0x7f020001
E/AndroidRuntime( 1370):        at
E/AndroidRuntime( 1370):        at
E/AndroidRuntime( 1370):        at
E/AndroidRuntime( 1370):        at
clear alarm, pending 0
vel( release 1370:1370 transaction
3048 in, still active

E/AndroidRuntime( 1370):        at cbinder: send failed reply for
transaction 3048 to 1425:1425
E/AndroidRuntime( 1370):        at
E/AndroidRuntimrequest_suspend_state: wakeup (0->0) at 111298797610
(2000-01-01 00:01:50.057922363 UTC)
e( 1370):       at

I further unzipped the customstatus-res.apk to see if my image files
are there, they were all present. tried aapt resource dump too , I see
the corresponding entries file.

Any Idea what could be going wrong?

Where else should I be placing the sources if my customstaus is not
the right place?

Any help would be appreciated.



2. Joins vs. Content provider

Is there a standard or recommended idiom for doing the equivalent of a
join of data in a local database versus a content provider?  is there
anything more efficient than explicitly looping on the result set from
the local database query and doing individual queries of the content
provider to grab the related rows?



3. GridView.scrollTo(int,int) is not working

4. Tutorial Upgrade Samsung Galaxy SCDMAakaFASCINATEfromeclair to Froyo

5. Paging om cristanto

6. OOT : Bro John visited me!

7. where can buy some tags can be read by nexus S