{"id":962,"date":"2016-07-12T22:09:21","date_gmt":"2016-07-12T13:09:21","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=962"},"modified":"2017-02-13T14:22:43","modified_gmt":"2017-02-13T05:22:43","slug":"compilesdkversion-android-24-requires-jdk-1-8-or-later-to-compile","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/962","title":{"rendered":"compileSdkVersion &#8216;android-24&#8217; requires JDK 1.8 or later to compile"},"content":{"rendered":"<h3>\u75c7\u72b6<\/h3>\n<p>compileSdkVersion &#8216;android-24&#8217; requires JDK 1.8 or later to compile \u304c\u767a\u751f\u3057\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3059\u308b\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/tech\/wp-content\/uploads\/2016\/07\/android_api24_build_error.png\" alt=\"BUILD ERROR\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>\u539f\u56e0<\/h3>\n<p>API 23\u307e\u3067\u306fJDK 1.7\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u53ef\u80fd\u3067\u3042\u3063\u305f\u304c\u3001API 24\u4ee5\u964d\u306fJDK 1.8\u304c\u5fc5\u9808\u3068\u306a\u3063\u305f\u3002<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306bJDK 1.8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3042\u3063\u3066\u3082\u3001Android Studio\u306f\u81ea\u52d5\u7684\uff08\u6697\u9ed9\u7684\uff09\u306bJDK 1.8\u306b\u53c2\u7167\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u306f\u3057\u306a\u3044\u3002JDK 1.8\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306bAndroid Studio\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h3>\u5bfe\u51e6\u7b56<\/h3>\n<p>Project Structure\u306eJDK Location\u3092\u5909\u66f4\u3059\u308b\u3002<\/p>\n<p>File &#8658; Project Structure&#8230; &#8658; JDK Location<\/p>\n<h4>Before<\/h4>\n<p><img decoding=\"async\" src=\"\/tech\/wp-content\/uploads\/2016\/07\/SDK_Location_Before.png\" alt=\"Before\" \/><\/p>\n<h4>After<\/h4>\n<p><img decoding=\"async\" src=\"\/tech\/wp-content\/uploads\/2016\/07\/SDK_Location_After.png\" alt=\"After\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 compileSdkVersion &#8216;android-24&#8217; requires JDK 1.8 or later to compile \u304c\u767a\u751f\u3057\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3059\u308b\u3002 &nbsp; \u539f\u56e0 API [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[17],"class_list":["post-962","post","type-post","status-publish","format-standard","hentry","category-memo","tag-android"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/962","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=962"}],"version-history":[{"count":12,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/962\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/962\/revisions\/975"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}