How do you disable auto-import in Eclipse?

Hey all, very noobish question about the Eclipse IDE

I’ve downloaded the sourcecode for Replica Island, an open source Android game. I’m trying to set it up in eclipse, and have copied all the files and relevant directory structures. Eclipse tells me there are errors though… on any line where you access R.foo.bar, it cannot resolve the resource… that’s because there’s this import statement at the top of the files in question:


import android.R;

Well that’s the problem! it thinks R.id.foo is a reference to android.R.id.foo! But I don’t want android.R, I want the R class that the compiler automatically generates for you in 2.2. (eg: there really is a folder structure res/layout/animation_player.xml, but because of that import statement it can’t find the file with R.layout.animation_player because it’s looking at android.R and not the one referenced by default).

So I go to delete the import statement, resave the document, and Eclipse re-inserts the import statement. How can I make Eclipse stop doing that? Is there a way, or is this a case where I’ll have to use the version of the SDK that the original creators of Replica Island used if I want to study the code? I suspect that the import was required at some point in the past… perhaps there was no distinction before between R and android.R?