This came to me via an email, but I'm posting to the forum in case anyone
else has run into a problem importing TodoLite-Android
<https://github.com/couchbaselabs/ToDoLite-Android>:

Let me preface this by noting that I haven’t delved a lot into Gradle,
since Android Studio has worked pretty well for me, so there may be a
relatively simple solution for this problem. However, just following the
Getting Started instructions, I ran into trouble.

When I imported the ToDoLite project into my Android Studio, I got a dialog
stating that Version 0.13.3 of the Android Gradle Plugin (which is what I
have) requires Gradle 2.1 or newer, and offering to upgrade the version (in
the project, I later figured out.) If I do that, I get a build failure:

"Gradle version 1.10 is required. Current version is 2.1. If using the
gradle wrapper, try editing the distributionUrl…"

Which was rather confusing. Several iterations of fixing up versions in the
project and libraries failed to produce a successful build. I eventually
gave up and created a new empty project, and cut and pasted the components
and dependencies from ToDoLite into it, which did succeed.

I’m not sure if this could be solved by making the Gradle version spec
open-ended, or if it will require a separate version of the sample. It
wasn’t a show-stopper for me, but I’m sure you’d like the initial developer
experience to be better.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCEhEDjrtA2QVZwuZLyWduTtdVSXZhSt%3D15gL9GXMmXbHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to