I have added the interface "flexipage:availableForAllPageTypes" but it is showing an error like "Failed to save undefined: No INTERFACE named markup://flexipage:availableForAllPageTypes found : "
please provide me your valuable suggestion.
If the requirement is to add this to the Salesforce1 Mobile Appliction, there is no requirement to use the
implements="flexipage:availableForAllPageTypes" interface. You can simply add the
force:appHostable interface and create a Lightning Components tab.
Actually each can get you to having your component surfaced in Salesforce1 mobile. The difference is that for
flexipage:availableForAllPageTypes, you are using a Lightning App Builder app that sits on a tab UI. This way a non-coder can use build with Lightning Components. But if you're comfortable living in the world of markup, direct-to-tab will do.
You can look at this SFSE question to see an example of this.