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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -