{"id":2302,"date":"2016-06-27T21:04:20","date_gmt":"2016-06-27T21:04:20","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2302"},"modified":"2025-06-13T20:52:55","modified_gmt":"2025-06-14T03:52:55","slug":"hg-quickstart-with-couchbase-lite-android-studio-and-gradle","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/","title":{"rendered":"Quickstart with Couchbase Lite, Android Studio, and Gradle"},"content":{"rendered":"<p><!--cke_bookmark_1128S--><!--cke_bookmark_1128E--><\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2837 aligncenter\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2016\/06\/gradle-400x400-300x300.png\" alt=\"Gradle Logo\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400-300x300.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400-150x150.png 150w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400-65x65.png 65w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400-50x50.png 50w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400-20x20.png 20w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png 400w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/h2>\n<h2>Quickstart with Couchbase Lite, Android Studio, and Gradle<\/h2>\n<div id=\"preamble\">\n<div class=\"sectionbody\">\n<div class=\"paragraph data-line-3\">\n<p>This post will illustrate all the steps needed to get started with <a href=\"https:\/\/www.couchbase.com\/developers\/mobile\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Lite<\/a> in an Android project using Android Studio and the standard Gradle build system. This is the easiest way to get set up to use Couchbase Lite with Android.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1 data-line-5\">\n<h2 id=\"truepre_requisites\">Pre-requisites<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph data-line-7\">\n<p>We assume you have Android Studio already installed and know how to create a new project. See the <a href=\"https:\/\/developer.android.com\/studio\/index.html\">Android Studio<\/a> documentation for more details.<\/p>\n<\/div>\n<div class=\"paragraph data-line-9\">\n<p>If you have Android Studio installed and ready, the estimated time to complete these steps is under 5 minutes.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1 data-line-11\">\n<h2 id=\"truestep_1\">Step 1<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph data-line-13\">\n<p>Create a new project (or open a current one). This shows what Android Studio looks like after opening a new &#8220;Empty Activity&#8221; project.<\/p>\n<\/div>\n<div class=\"imageblock data-line-15\">\n<div class=\"content\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/june\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/newproject.png\" alt=\"View at the start of a new project\" align=\"middle\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1 data-line-17\">\n<h2 id=\"truestep_2\">Step 2<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph data-line-19\">\n<p>In the Project pane (left-hand navigation area), expand the section entitled &#8220;Gradle Scripts&#8221;. Double click the build.gradle entry tagged &#8220;Module: app&#8221;. The arrow in the following image indicates the line to click.<\/p>\n<\/div>\n<div class=\"imageblock data-line-21\">\n<div class=\"content\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/june\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/buildgradlecalloutfragment.png\" alt=\"Selecting build.gradle file for editing\" align=\"middle\" \/><\/div>\n<\/div>\n<div class=\"paragraph data-line-23\">\n<p>You should see the build.gradle file open for editing in the right-hand editor pane.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"truestep_3\" class=\"sect0\">Step<!--cke_bookmark_813S--><!--cke_bookmark_813E--> 3<\/h2>\n<div class=\"paragraph data-line-27\">\n<p>Find the &#8220;dependencies&#8221; section of the build.gradle file. \u00a0It should look something like this.<\/p>\n<p><!--cke_bookmark_176S--><\/p>\n<pre><code>dependencies {\r\n    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n    testCompile 'junit:junit:4.12'\r\n    compile 'com.android.support:appcompat-v7:23.4.0'\r\n}<\/code><\/pre>\n<p><!--cke_bookmark_176E--><\/p>\n<p>Add the following line to this section:<\/p>\n<\/div>\n<div class=\"listingblock data-line-41\">\n<div class=\"content\">\n<pre class=\"highlightjs highlight\"><code>    compile 'com.couchbase.lite:couchbase-lite-android:1.+'<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph data-line-45\">\n<p>The arrow in the following image shows where the entry should be and what the results will look like.<\/p>\n<\/div>\n<div class=\"imageblock data-line-47\">\n<div class=\"content\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/june\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/buildeditedcalloutfragment.png\" alt=\"build.gradle detail showing new entry\" align=\"middle\" \/><\/div>\n<\/div>\n<div class=\"paragraph data-line-49\">\n<p>At this point, you will most likely see a message telling you a project sync may be necessary. Click on &#8220;Sync Now&#8221;. You can also sync at any time using the toolbar button, as shown next.<\/p>\n<\/div>\n<div class=\"imageblock data-line-51\">\n<div class=\"content\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/june\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/syncfragmentsmall.png\" alt=\"Toolbar Gradle sync button\" align=\"middle\" \/><\/div>\n<\/div>\n<div class=\"paragraph data-line-53\">\n<p>A synch will take a little time. The Android Studio build system (using Gradle) handles downloading all the necessary files and making the necessary changes to your project to include Couchbase Lite.<\/p>\n<\/div>\n<div class=\"sect1 data-line-55\">\n<h2 id=\"truestart_coding\">Start coding!<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph data-line-57\">\n<p>Once Gradle has finished, you are ready to go. As one quick test, you can see if Android Studio starts including Couchbase Lite in autocompletion suggestions. In the following example, we\u2019ve started to declare a variable of type &#8220;Manager&#8221;. You can see Android Studio suggests the Manager class from the com.couchbase.lite package as a completion.<\/p>\n<\/div>\n<div class=\"imageblock data-line-59\">\n<div class=\"content\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/june\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/autocompletecalloutfragment.png\" alt=\"AutocompleteCalloutFragment.png\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"sect1 data-line-61\">\n<h2 id=\"truefinal_notes\">Final notes<\/h2>\n<div class=\"sectionbody\">\n<div class=\"paragraph data-line-63\">\n<p>This tutorial was created using Couchbase Lite version 1.2.1 and Android Studio version 2.1.2. Some older versions of Android Studio had problems with duplicate manifest files. This will cause Gradle to show an error. If this happens, try adding these lines to the &#8220;android&#8221; section of the build.gradle:<\/p>\n<\/div>\n<div class=\"listingblock data-line-65\">\n<div class=\"content\">\n<pre class=\"highlightjs highlight\"><code>\/\/ workaround for \"duplicate files during packaging of APK\" issue\r\n\/\/ see https:\/\/groups.google.com\/d\/msg\/adt-dev\/bl5Rc4Szpzg\/wC8cylTWuIEJ\r\npackagingOptions {\r\n    exclude 'META-INF\/ASL2.0'\r\n    exclude 'META-INF\/LICENSE'\r\n    exclude 'META-INF\/NOTICE'\r\n}<\/code><\/pre>\n<h2>Postscript<\/h2>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Check out more resources on our <a href=\"https:\/\/www.couchbase.com\/developers\/community\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">developer portal<\/a> and follow us on Twitter <a href=\"https:\/\/twitter.com\/CouchbaseDev\">@CouchbaseDev<\/a>. You can post questions on our <a href=\"https:\/\/www.couchbase.com\/forums\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">forums<\/a>. And we actively participate on <a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/couchbase\">Stack Overflow<\/a>.<\/p>\n<p>You can follow me personally at <a href=\"https:\/\/twitter.com\/HodGreeley\">@HodGreeley<\/a><\/p>\n<p>I look forward to talking with you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quickstart with Couchbase Lite, Android Studio, and Gradle This post will illustrate all the steps needed to get started with Couchbase Lite in an Android project using Android Studio and the standard Gradle build system. This is the easiest way [&hellip;]<\/p>\n","protected":false},"author":73,"featured_media":2837,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[2370,7667,1810],"tags":[1758],"ppma_author":[9042],"class_list":["post-2302","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-couchbase-lite","category-couchbase-mobile","tag-gradle"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.7.1 (Yoast SEO v25.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Quickstart with Couchbase Lite, Android Studio, and Gradle - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quickstart with Couchbase Lite, Android Studio, and Gradle\" \/>\n<meta property=\"og:description\" content=\"Quickstart with Couchbase Lite, Android Studio, and Gradle This post will illustrate all the steps needed to get started with Couchbase Lite in an Android project using Android Studio and the standard Gradle build system. This is the easiest way [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-27T21:04:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T03:52:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Hod Greeley, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HodGreeley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hod Greeley, Developer Advocate, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\"},\"author\":{\"name\":\"Hod Greeley, Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4\"},\"headline\":\"Quickstart with Couchbase Lite, Android Studio, and Gradle\",\"datePublished\":\"2016-06-27T21:04:20+00:00\",\"dateModified\":\"2025-06-14T03:52:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\"},\"wordCount\":436,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png\",\"keywords\":[\"gradle\"],\"articleSection\":[\"Android\",\"Couchbase Lite\",\"Couchbase Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\",\"name\":\"Quickstart with Couchbase Lite, Android Studio, and Gradle - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png\",\"datePublished\":\"2016-06-27T21:04:20+00:00\",\"dateModified\":\"2025-06-14T03:52:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png\",\"width\":400,\"height\":400,\"caption\":\"Gradle Logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quickstart with Couchbase Lite, Android Studio, and Gradle\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4\",\"name\":\"Hod Greeley, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/21eb69cb5d4a401fb23b149e4f4e9e87\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g\",\"caption\":\"Hod Greeley, Developer Advocate, Couchbase\"},\"description\":\"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University.\",\"sameAs\":[\"https:\/\/hod.greeley.org\/blog\",\"https:\/\/x.com\/HodGreeley\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/hod-greeley\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Quickstart with Couchbase Lite, Android Studio, and Gradle - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/","og_locale":"en_US","og_type":"article","og_title":"Quickstart with Couchbase Lite, Android Studio, and Gradle","og_description":"Quickstart with Couchbase Lite, Android Studio, and Gradle This post will illustrate all the steps needed to get started with Couchbase Lite in an Android project using Android Studio and the standard Gradle build system. This is the easiest way [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/","og_site_name":"The Couchbase Blog","article_published_time":"2016-06-27T21:04:20+00:00","article_modified_time":"2025-06-14T03:52:55+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png","type":"image\/png"}],"author":"Hod Greeley, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@HodGreeley","twitter_misc":{"Written by":"Hod Greeley, Developer Advocate, Couchbase","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/"},"author":{"name":"Hod Greeley, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4"},"headline":"Quickstart with Couchbase Lite, Android Studio, and Gradle","datePublished":"2016-06-27T21:04:20+00:00","dateModified":"2025-06-14T03:52:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/"},"wordCount":436,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png","keywords":["gradle"],"articleSection":["Android","Couchbase Lite","Couchbase Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/","url":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/","name":"Quickstart with Couchbase Lite, Android Studio, and Gradle - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png","datePublished":"2016-06-27T21:04:20+00:00","dateModified":"2025-06-14T03:52:55+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2016\/06\/gradle-400x400.png","width":400,"height":400,"caption":"Gradle Logo"},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/hg-quickstart-with-couchbase-lite-android-studio-and-gradle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Quickstart with Couchbase Lite, Android Studio, and Gradle"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4","name":"Hod Greeley, Developer Advocate, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/21eb69cb5d4a401fb23b149e4f4e9e87","url":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","caption":"Hod Greeley, Developer Advocate, Couchbase"},"description":"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University.","sameAs":["https:\/\/hod.greeley.org\/blog","https:\/\/x.com\/HodGreeley"],"url":"https:\/\/www.couchbase.com\/blog\/author\/hod-greeley\/"}]}},"authors":[{"term_id":9042,"user_id":73,"is_guest":0,"slug":"hod-greeley","display_name":"Hod Greeley, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","author_category":"","last_name":"Greeley","first_name":"Hod","job_title":"","user_url":"https:\/\/hod.greeley.org\/blog","description":"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2302"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2302\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/2837"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2302"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}