eclipse - Failed to resolve: com.nineoldandroids:library:2.4.0 in android studio project -


i exported project eclipse , import android studio.in added on project library dependency com.nineoldandroids:library:2.4.0, project structure dialog of android studio, when build project gradle (with sync gradle button), error "failed resolve: com.nineoldandroids:library:2.4.0" .but when adding same lib dependencies project have created in android studio,there working fine.can plz me.what problem?

open android studio,click file->settings,in search box type in "gradle"

on left side,under "build tools",there "gradle",click it

then,on right side,you find "offline work",yours maybe checked,make unchecked

click "ok" finish operation

sync project gradle files again

can have try


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -