Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Pointing Eclipse to Correct Thing(How do I point eclipse to the correct thing when I call R?)
Pointing Eclipse to Correct Thing [message #954327] Tue, 23 October 2012 00:03 Go to next message
Andrew Gies is currently offline Andrew Gies
Messages: 12
Registered: October 2012
Junior Member
Hey all,

I recently started with android eclipse development and I need to connect android-eclipse to another library. The library is the core library of processing.

My problem is that when I create a android project using the android plugin and then I imported the core library into the project, I get conflicting variable/classes. For example, my current roadblock is the android resource class R, where I have the resources for my project. However there is a static final int R in my processing library, so when I call the R class, it jumps to the R int, which i dont want. How do I point eclipse to the correct thing when I call the R class?

Thanks,

Andrew G.


andrewgies17
Re: Pointing Eclipse to Correct Thing [message #955028 is a reply to message #954327] Tue, 23 October 2012 12:45 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3189
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/23/2012 01:27 AM, Andrew Gies wrote:
> Hey all,
>
> I recently started with android eclipse development and I need to
> connect android-eclipse to another library. The library is the core
> library of processing.
>
> My problem is that when I create a android project using the android
> plugin and then I imported the core library into the project, I get
> conflicting variable/classes. For example, my current roadblock is the
> android resource class R, where I have the resources for my project.
> However there is a static final int R in my processing library, so when
> I call the R class, it jumps to the R int, which i dont want. How do I
> point eclipse to the correct thing when I call the R class?
>
> Thanks,
> Andrew G.

The time you saved by ignoring the sticky posts at the top of the forum
is always wasted by waiting for the answer:

http://www.eclipse.org/forums/index.php/t/225513/

This said, I think I might know what you're talking about. You might
find the answer among some notes I took a couple of years ago when I
worked on Android software. I usually assume, however, that Android has
new and different problems today than back then and direct questions
elsewhere (see sticky post above).

http://www.javahotchocolate.com/tutorials/android.html#r-java
Previous Topic:3.7 / 3.6 updatesites access error
Next Topic:CVS repository
Goto Forum:
  


Current Time: Tue Sep 16 23:47:00 GMT 2014

Powered by FUDForum. Page generated in 0.02477 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software