in gradle , i type compile 'com.lemonlab:expandable-button-menu:1.0.0' , after that i sync and display error "Failed to resolve:com.lemonlab:expandable-button-menu:1.0.0'" –
BektiFeb 13 '15 at 6:10
You go File->Settings->Gradle Look at the "Offline work" inbox, if it's checked u uncheck and try to sync again I have the same problem and i try this , the problem resolved. Good luck !
I had the same problem, first thing came on mind was about repositories. So i checked build.gradle file for the whole project and added below lines, synchronized the gradle with project and problem solved! Hope will help someone else.
Check to see if your gradle is offline. Preferences-ProjectSettings-Gradle. If you're trying to add a library while offline, you'll see that error. Also, try Build-Clean, it may provide you with more detail.
build.gradle
. – Jared Burrows Feb 13 '15 at 6:32