System:
Ubuntu 11.04 (up to date) Eclipse SDK - Version: 3.7.1 Android Development Toolkit Version: 16.0.1.v201112150204-238534
PhoneGap 1.3.0 PhoneGap Facebook Connect Plugin
Just was putting a little phone gap project and the R connot be resolved..
This is what i tried:
Deleted All my android projects: Restarted... Started new project..
Tried Clean... Rebuild...
REMOVED all import R attempts from auto orgnize...
Made sure correct xml file name are lowercase and changes are correct.. like i said new project
Deleted auto generated files so they could be rebuilt...
This is the code that is erroring...
Drawable crossDrawable = getContext().getResources().getDrawable(R.drawable.close);
mCrossImage.setImageDrawable(crossDrawable);
/* 'x' should not be visible while webview is loading
* make it visible only after webview has fully loaded
*/
mCrossImage.setVisibility(View.INVISIBLE);
I made sure and updated everything... and looked for bug fixes..
I'm stumped i usally work though stuff (because thats how you learn) but my head hurts...
Help me out, Thanks, Roger
Check if any of your xml file is having error,if yes then correct xml then clean your project and then see.
then also error persists then check your installation if its proper or not then try running the project.