The return type is incompatible with Activity.getActionBar()Error when greendroid project is imported on eclipse. How can I fix it?

1.4k Views Asked by At

I'm using the quickActionWidget from the greendroid library in my project. But when I import the greendroid project into eclipse it throws an error saying return type is incompatible with Activity.getActionBar(). I think the method is conflicting with the method default Actionbar of android. How can I fix this error?

1

There are 1 best solutions below

1
endryha On

I am not sure that I get your question correctly but try to call getSupportActionBar instead of getActionBar