android - Failed to sync Gradle project with databinding lib -
recently i'm learning mvp pattern , databinding after android studio being upgraded ver2.0. , find sample helping me understand these.
title can't gradle successfully.
gaving message in monitor like
"error: not find com.android.databinding:library:1.1. required by: todoapp:app:unspecified"
website https://github.com/googlesamples/android-architecture/tree/todo-databinding
i've done lot search problem still...
p.s:i trying add code databinding { enabled=true }
other branch can sync before...and of course become failed after...
...and failed message s similar "error: failed resolve: com.android.databinding:library:1.1"
i can use databinding part in own project. , version 2.0 ...the .gradle 2.10
thx lot helping...
now can use project.
find point change gradle version in build.gradle
file in root .
likeversion 2.1.0-alpha5 , cause problem. after compare own project, change 2.0.0 , it's works well~
Comments
Post a Comment