{"id":1368,"date":"2017-02-06T20:36:37","date_gmt":"2017-02-06T11:36:37","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1368"},"modified":"2017-02-13T14:21:00","modified_gmt":"2017-02-13T05:21:00","slug":"grade%e3%81%ae%e3%83%93%e3%83%ab%e3%83%89%e3%81%8c%e9%81%85%e3%81%84","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1368","title":{"rendered":"Gradle\u306e\u30d3\u30eb\u30c9\u304c\u9045\u3044"},"content":{"rendered":"<h2>\u75c7\u72b6<\/h2>\n<h3>Gradle\u306b\u3088\u308b\u30d3\u30eb\u30c9\u304c\u9045\u3044<\/h3>\n<h3>\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u308b<\/h3>\n<pre class=\"wrap:true lang:default highlight:0 decode:true \" >To run dex in process, the Gradle daemon needs a larger heap.\r\nIt currently has 1024 MB.\r\nFor faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.\r\nTo do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.\r\nFor more information see https:\/\/docs.gradle.org\/current\/userguide\/build_environment.html<\/pre>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>\u539f\u56e0<\/h2>\n<p>VM\u306b\u5272\u308a\u5f53\u3066\u3066\u3044\u308b\u30e1\u30e2\u30ea\u30b5\u30a4\u30ba\u304c\u5c11\u306a\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u89e3\u6c7a\u7b56<\/h2>\n<h3>1. \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9589\u3058\u308b<\/h3>\n<h3>2. Default Preferences\u3092\u958b\u304f<\/h3>\n<p>Android Studio \u2192 Preferences&#8230;<\/p>\n<h3>3. Android Studio\u306e\u30d2\u30fc\u30d7\u30b5\u30a4\u30ba\u3092\u5897\u3084\u3059<\/h3>\n<p><img decoding=\"async\" src=\"\/tech\/wp-content\/uploads\/2017\/02\/AndroidStudio_HeapSizeSetting.png\"\/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u4e0d\u5177\u5408\u518d\u73fe\u74b0\u5883<\/h2>\n<ul>\n<li>Android Studio 2.2.3<\/li>\n<li>Gradle 2.14<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 Gradle\u306b\u3088\u308b\u30d3\u30eb\u30c9\u304c\u9045\u3044 \u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u308b To run dex in process, the Gradle daemon needs a larger heap. It currently h [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[17,47],"class_list":["post-1368","post","type-post","status-publish","format-standard","hentry","category-memo","tag-android","tag-gradle"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=1368"}],"version-history":[{"count":4,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1368\/revisions"}],"predecessor-version":[{"id":1374,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1368\/revisions\/1374"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}