{"id":1441,"date":"2017-03-14T14:32:44","date_gmt":"2017-03-14T05:32:44","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1441"},"modified":"2017-03-14T14:32:44","modified_gmt":"2017-03-14T05:32:44","slug":"could-not-find-support-v4-jar","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1441","title":{"rendered":"Could not find support-v4.jar"},"content":{"rendered":"<h1>\u75c7\u72b6<\/h1>\n<p>Android Studio\u3067\u306e\u30d3\u30eb\u30c9\u306b\u304a\u3044\u3066\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >Error:A problem occurred configuring root project 'xxxx'.\r\n&gt; Could not find support-v4.jar (com.android.support:support-v4:24.0.0).\r\n  Searched in the following locations:\r\n      https:\/\/jcenter.bintray.com\/com\/android\/support\/support-v4\/24.0.0\/support-v4-24.0.0.jar<\/pre>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h1>\u539f\u56e0<\/h1>\n<p>Google Firebase \u304c support-v4:24.0.0 \u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u3002<\/p>\n<blockquote><p>\nYou should update your local repository via the SDK Manager. It looks like &#8216;com.google.firebase:firebase-messaging:9.6.0&#8217; depends on com.android.support:support-v4:24.0.0, which is not installed on your computer. This dependency is also not on Bintray, hence Gradle can&#8217;t find it there &#8211; this is what the error message says.\n<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<h1>\u5bfe\u7b56<\/h1>\n<p>build.gradle\u306e\u66f4\u65b0\uff08\u7de8\u96c6\uff09<\/p>\n<pre class=\"lang:default highlight:0 decode:true \" >dependencies {\r\n     compile ....\r\n     compile 'com.android.support:support-v4:21.0.0'\r\n-    compile 'com.android.support:appcompat-v7:21.0.0'\r\n+    compile 'com.android.support:appcompat-v7:24.0.0'\r\n     compile 'com.google.android.gms:play-services-base:10.0.1'\r\n     compile 'com.google.android.gms:play-services-location:10.0.1'<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 Android Studio\u3067\u306e\u30d3\u30eb\u30c9\u306b\u304a\u3044\u3066\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b Error:A problem occurred configuring root project &#8216;xxxx&#8217;. &gt; Could not [&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],"class_list":["post-1441","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\/1441","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=1441"}],"version-history":[{"count":4,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1441\/revisions"}],"predecessor-version":[{"id":1445,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1441\/revisions\/1445"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}