Question

I'm trying to develop an app which uses Tabs to navigate from one section to another.

But I'm getting errors trying to implement an ActionBarSherlock TabListener class. IntelliJ keeps suggesting that I need to implement the methods into the class, but they're already there. Then when I compile I get another set of errors.

Pastebin link for errors: http://pastebin.com/v00kN5p8

MyActivity.java

http://pastebin.com/SMgMw31h

FragmentFirst.java

http://pastebin.com/AKVMjbY2

FragmentSecond.java

http://pastebin.com/bmKTPa0y

Was it helpful?

Solution

I fixed the issue by completely reinstalling IntelliJ (and resetting all settings) and made sure all the imports were actually coming from the ActionBarSherlock library.

Also, made sure that the "Export" button was checked in the Project Structure window under the ActionBarSherlock library in modules.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top