ADT causing CDT to build all C projects on Android app launch??

by Robert Green » Sat, 28 Aug 2010 10:30:00 GMT


Sponsored Links
 Hey guys,

I doubt there are too many people who run CDT in eclipse for native
apps also with ADT installed for Android, but in the off-chance that
someone here knows anything about this, my problem is that any time I
run any android app, my C builder kicks in for projects totally
unrelated.  I have no idea why and have been digging through settings
on everything, unable to find out why.  All I can think is that the
ADT pre-launch process triggers it via a refresh or some kind of catch-
all type call in eclipse API land that I'm unaware of.

Does anyone know anything about this?  It's very annoying to have a C
builder run for a different project than the one you're working on
every time you launch the app.

--



ADT causing CDT to build all C projects on Android app launch??

by Jason » Sat, 28 Aug 2010 18:33:35 GMT


 Hi,

I am one of the elusive few running this exact setup, and I too have
been a bit annoyed by this "feature".

I did just find this:

Window->Preferences->C/C++

There is a checkbox option entitled:

"Build configurations only when there are Eclipse resource changes
within the project and its references"

I tried checking this at it seemed to eliminate these extra builds.

I also tried making a small change to a C++ source file in my project
and it picked up the change when I ran the app.. so seems to work.




--


Sponsored Links


ADT causing CDT to build all C projects on Android app launch??

by Robert Green » Sun, 29 Aug 2010 03:36:10 GMT


 Jason,

Perfect!  I don't know how I missed that.  I'm glad a configurable
option was able to fix it.  I just tested and things seem to be
working correctly again.

Thanks for figuring it out!





--



ADT causing CDT to build all C projects on Android app launch??

by Xavier Ducrohet » Mon, 30 Aug 2010 14:21:03 GMT


 I'm glad there's an option to fix it.

build before launch. I think at the time we expected that it would
only build the launching project, not the whole workspace. We should
probably change it to not require a full workspace build. I'll have to
check if the launching project is rebuilt no matter what.

Xav





>



Other Threads

1. Is it possible to have a background listener listen to something being pluged into the USB port?

ive been trying to find somethign on broadcastreceivers for 2 days now
and I cant find anything useful.

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

2. Android default music player codec support - why is WMA dropped?

Hi,

I have been trying with the default music player in 0.9 SDK and 1.0
SDK.
I noticed that WMA support is dropped in 1.0 SDK but it works
perfectly in 0.9 SDK.

May I know if this is a mistake or on purpose?

I see the HTC G1 manual says it support WMA (8) with notes but I can't
find the notes........so I wonder what is going on or if someone knows
the reason?

Thanks
Eric Wong
Portable Electronics Ltd
www.hdmp4.com
--~--~---------~--~----~------------~-------~--~----~

3. Too many emulator instances are running on this machine?

4. PhoneStateListener - onCallStateChanged

5. Is there a way to manage data without using SQLite?

6. Is there a way to manage data without using SQLite?

7. How to get sound notification?