This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
2 Replies Last post: Oct 3, 2012 4:13 AM by Jeff Verdegan  
Jeff Verdegan Newbie 5 posts since
Apr 5, 2007
Currently Being Moderated

Oct 3, 2012 3:28 AM

IJ 11 + Android + ActionBarSherlock not recognizing R.java

Not new to Java or to IJ, but brand new to Android development.

 

I've inherited a project from a develoer who used eclipse, created the IJ project from the eclipse projects.

 

Directory structure is:

Main

Main/lib/ActionBarSherlock

...

 

where Main and ActionBarSherlock are both eclipse project roots. It builds fine in eclipse.

 

My IJ modules are, accordingly, Main and Main/lib/ActionBarSherlock.

 

When I go to build the project or the ABS module inside IJ, on various ABS classes, the compile fails and in the messages, I get "cannot find symbol R" on a import com.actionbarsherlock.R; statement. Here's the weird part: When I dtl-B on the R in the import or an any use of it in the classes, it's fine. The source file has no red squigglies, but the Build fails.

 

Whence the disconnect, and how do I fix it?

 

(Note that I don't currently have an Android Facet set up for the ABS module. I had it previously, but I got all kinds of complaints in the xml files.)

 

Thanks in advance for any help!

 

(I've crossposted this to http://www.coderanch.com/t/594158/Android/Mobile/IJ-Android-ActionBarSherlock-not-recognizing.)

More Like This

  • Retrieving data ...