All you suggestion are working. Thanks a lot!

- Ralf

2010/2/24 Xavier Ducrohet <[email protected]>

> On Mon, Feb 22, 2010 at 2:27 AM, Ralf Schneider <[email protected]>
> wrote:
> > Hello,
> >
> > I develop my application in C++ with the NDK.
> >
> > The C++ part is no problem for me.
> > I'm using cygwin and Visual C++ (my project is completely cross-platform
> and
> > I can test and debug everything with my desktop computer under Windows).
> >
> > But, I'm really new to Eclipse. There are two annoying things I like to
> get
> > rid off.
> >
> > 1.) Whenever I start my application in the debugger with Eclipse I get
> > asked: "Select a way to debug ...". A list of options follows: "Android
> > Application", "Android JUnit Test", ...
> > => Becuase my application is always the same type: An "Android
> Application"
> > I really want to get rid of this stupid question! How can I disable this
> > dialog and go straight into the "debug perspective"?
>
> I'm guessing you're launching the debug session by simply clicking the
> "Debug" (green bug) icon in the toolbar, or Run >Debug from the menu?
>
> What this does is make Eclipse try to create/find a launch
> configuration that is valid for your project instead of launching a
> specific configuration, which is what you should do after you've
> created one or launched once (this creates one the first time)
>
> here's what you could do:
> - use the drop down menu next to the icon to see the list of existing
> launch config (or open "Debug configurations" to create a new one).
> - Go to the preferences and under Run/Debug > Launching, change the
> "Launch Operation" preference to "Always launch the previously
> launched application". That way you can just click the bug icon
> directly (or use the Run > Debug which actually becomes Run > Debug
> Last Launched)
>
> > 2.) Because I'm using the NDK my Android Projects contains a shared
> library.
> > If I compile a new version of the library Eclipse does not recognize that
> > the library has changed and does not create a new package. So, I always
> have
> > to make a modification(space, backspace) to a Java source file if I
> create a
> > new shared library.
> > => How can I tell Eclipse the project depends on the shared library? If
> the
> > library changes Eclipse should create and deploy a new package.
>
> It looks like your workspace isn't set for auto-refresh. Go to the
> preferences and under General > Workspace check "refresh
> automatically".
> This will make Eclipse automatically detect files that are changed
> outside of Eclipse and trigger a recompilation.
>
> Xav
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to