Removing external components in Android Build

by AJAY » Tue, 17 Feb 2009 07:50:47 GMT


Sponsored Links
 Hi,

Is  there anyway I can exclude certain external libraries/components
which I am not testing  like webkit during the Android build. I want
to speed up my build process during development. I see that making
changes in build/target/product/core.mk also has no effect.

This is because I see that after making certain changes to the code,
say PV  omx components , the change doesnt get reflected unless I do a
make clean.


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Removing external components in Android Build

by David Turner » Tue, 17 Feb 2009 08:38:47 GMT


 This is not supposed to happen. What kind of change are you talking about ?
Sounds like a build system bug. You should not have to rebuild Webkit if you
change something that is unrelated.

For the record, you can still use standard GNU Make -B option to mm or mmm
to force a rebuild
without having to do a 'make clean'






--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. getting involved in app development projects

I'm just gonna start with some general info about my programming, as
this is my first post here. I'm using the eclipse plugin for mac, and
I've been teaching myself Java since July, and Android programming
since November. My school doesn't really have much in the way of
programming classes, so none of my questions will be related to
homework.

I do have questions of my own about how to do some things on android,
but I'll get to those questions later. I've looked at the samples and
articles that google has provided a number of times now, but I don't
feel confident that I know what views are good for what kinds of
situations, etc..

I'm thinking that if there is already a group collaborating on some
application, one fast way for me to pick it up would be to get my
email address onto the mailing lists for this group, just so I could
see how some other developers are tackling similar problems. I promise
I won't go posting ur apps on the android market, claiming they are my
own. Besides, I'm really confused about how this signing process
works, so seeing how it goes on might help me a bit.

Also, I'ld be willing to do beta testing if anyone needs testers. (If
I'm posting this in the wrong place, please let me know. Thanks)

-- 

2. Adding some nine patch images breaks all of my other images

Help! I'm working to convert some background images to nine patch so
they scale better on different phones.

The problem is that if I have the following resource structure:

drawable-hdpi/background.png
drawable-hdpi/button.png
drawable-mdpi/background.png
drawable-mdpi/button.png
drawable-ldpi/background.png
drawable-ldpi/button.png

...and then I drop a new drawable-hdpi/background.9.png file into the
mix, it breaks button.png during the pre-compile.  The error is "No
resource found that matches the given name (at 'background' with value
'@drawable/button').    main.xml        /test/res/layout        line 71 Android 
AAPT
Problem"

Simply removing that one nine patch file fixes the build.

Should I be able to have some nine patch images and some normal ones,
or to have nine patch only in hdpi but not mdpi or ldpi?

This is Eclipse 3.5.1 with the latest ADT.

Thanks!
-Brooks

-- 

3. Help with content providers and list views

4. Urgent opening of Android Developer

5. Cannot get selector to display 'disabled' state image

6. Saving ArrayAdpater<File> when rotating?

7. Model Checking Android