{"id":378,"date":"2016-09-21T14:40:23","date_gmt":"2016-09-21T14:40:23","guid":{"rendered":"http:\/\/waynenguyen.org\/dev\/?p=378"},"modified":"2016-09-21T14:40:23","modified_gmt":"2016-09-21T14:40:23","slug":"slow-gradle-build-time-in-android-studio-when-using-libgdx","status":"publish","type":"post","link":"https:\/\/bruceng.com\/dev\/?p=378","title":{"rendered":"Slow Gradle build time in Android Studio when using libGDX"},"content":{"rendered":"<p>Follow the SO answer:\u00a0<a href=\"http:\/\/stackoverflow.com\/a\/35859572\/5539403\">http:\/\/stackoverflow.com\/a\/35859572\/5539403<\/a><\/p>\n<p>In Android Studio go to File -&gt; Settings -&gt; Build, Execution, Deployment -&gt; Build Tools -&gt; Gradle<\/p>\n<p>Check the &#8216;Offline work&#8217; under &#8216;Global Gradle settings&#8217;<\/p>\n<p>However, if it Gradle needs to get libraries from the Internet, turn off &#8216;Offline work&#8217; and run it for first time, then turn the option on to speed up build process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow the SO answer:\u00a0http:\/\/stackoverflow.com\/a\/35859572\/5539403 In Android Studio go to File -&gt; Settings -&gt; Build, Execution, Deployment -&gt; Build Tools -&gt; Gradle Check the &#8216;Offline work&#8217; under &#8216;Global Gradle settings&#8217; However, if it Gradle needs to get libraries from the Internet, turn off &#8216;Offline work&#8217; and run it for first time, then turn the option on &hellip; <a href=\"https:\/\/bruceng.com\/dev\/?p=378\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Slow Gradle build time in Android Studio when using libGDX&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[57,59,58],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks","tag-android","tag-gadle","tag-libgdx"],"_links":{"self":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=378"}],"version-history":[{"count":1,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bruceng.com\/dev\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}