I recently added the expandable-menu-button which i got from github and the .jar library from search.maven.org to my android project but when i try to build and run the project, i get the error below:
E:\xdroid\appname\libs\expandable-button-menu-1.0.0-sources.jar(lt/lemonlabs/android/expandablebuttonmenu/ExpandableMenuOverlay.java):56: error: package R does not exist
TypedArray a = context.getTheme().obtainStyledAttributes(attrs, R.styleable.ExpandableMenuOverlay, 0, 0);
^
E:\xdroid\appname\libs\expandable-button-menu-1.0.0-sources.jar(lt/lemonlabs/android/expandablebuttonmenu/ExpandableMenuOverlay.java):58: error: package R does not exist
mAdjustViewSize = a.getBoolean(R.styleable.ExpandableMenuOverlay_adjustViewSize, true);
^
E:\xdroid\appname\libs\expandable-button-menu-1.0.0-sources.jar(lt/lemonlabs/android/expandablebuttonmenu/ExpandableMenuOverlay.java):59: error: package R does not exist
dimAmount = a.getFloat(R.styleable.ExpandableMenuOverlay_dimAmount, DEFAULT_DIM_AMOUNT);
What am I doing wrong such that the R.java file is unavailable and how can i correct it? Thanks in advance.