Pointing Eclipse to Correct Thing [message #954327] |
Tue, 23 October 2012 00:03 |
|
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 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07915 seconds