{"id":2141,"date":"2018-10-16T22:58:51","date_gmt":"2018-10-16T13:58:51","guid":{"rendered":"http:\/\/kuuur.net\/?p=2141"},"modified":"2018-10-17T22:53:39","modified_gmt":"2018-10-17T13:53:39","slug":"library-update","status":"publish","type":"post","link":"https:\/\/kuuur.net\/?p=2141","title":{"rendered":"Android\u30a2\u30d7\u30ea\uff1a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u66f4\u65b0\u3068\u30a8\u30e9\u30fc\u306e\u4fee\u6b63"},"content":{"rendered":"<p>Android\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u3066\u3044\u3066\u3001Build.gradle\uff08app\uff09\u306e\u3001dependencies\u306e\u9805\u76ee\u5185\u3067\u30cf\u30a4\u30e9\u30a4\u30c8\u8868\u793a\u3055\u308c\u305f\u308a\u3001\u8d64\u3044\u4e0b\u7dda\u304c\u5f15\u304b\u308c\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30cf\u30a4\u30e9\u30a4\u30c8\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u3092\u85a6\u3081\u308b\u304a\u77e5\u3089\u305b\u3067\u3001\u4e0b\u7dda\u306f\u6ce8\u610f\u559a\u8d77\u3067\u3059\u3002<br \/>\n\u5b9f\u306f\u653e\u3063\u3066\u304a\u3044\u3066\u3082\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u308b\u3053\u3068\u306a\u304f\u30d3\u30eb\u30c9\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u3044\u305a\u308c\u3082\u4fee\u6b63\u3057\u305f\u65b9\u304c\u3088\u3044\u306e\u3067\u3001\u4fee\u6b63\u306e\u4ed5\u65b9\u3092\u8abf\u3079\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2143\" src=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update01.jpg\" alt=\"\" width=\"550\" height=\"204\" srcset=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update01.jpg 550w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update01-300x111.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h2>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u66f4\u65b0<\/h2>\n<p>\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u308f\u304b\u3089\u306a\u304f\u3066\u3082\u3001\u30cf\u30a4\u30e9\u30a4\u30c8\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u90e8\u5206\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u308c\u3070\u3001\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3042\u3068\u306f\u3053\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u66f8\u304d\u63db\u3048\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2144\" src=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update02.jpg\" alt=\"\" width=\"550\" height=\"169\" srcset=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update02.jpg 550w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update02-300x92.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2145\" src=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update03.jpg\" alt=\"\" width=\"550\" height=\"164\" srcset=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update03.jpg 550w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update03-300x89.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<h2>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4fee\u6b63<\/h2>\n<div class=\"source\">\n<pre>androidTestImplementation 'com.android.support.test:runner:1.0.2'<\/pre>\n<\/div>\n<p>\u3084<\/p>\n<div class=\"source\">\n<pre>implementation 'com.android.support:appcompat-v7:27.1.1'<\/pre>\n<\/div>\n<p>\u306b\u8d64\u3044\u4e0b\u7dda\u304c\u3064\u304f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u308b\u3068\u30012\u3064\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u6ce8\u610f\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3053\u306e\u5834\u5408\u306f\u300127.1.1\u306826.1.0\u3067\u3057\u305f\u3002<br \/>\n\u3053\u306e\u7af6\u5408\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u306f\u3001\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u305f\u3068\u304d\u306b\u8868\u793a\u3055\u308c\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3088\u3046\u306bdependencies\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f\u3001\u4ee5\u4e0b\u306e4\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"source\">\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">implementation 'com.android.support:support-v4:27.1.1'\r\nimplementation 'com.android.support:support-media-compat:27.1.1'\r\nimplementation 'com.android.support:animated-vector-drawable:27.1.1'\r\nimplementation 'com.android.support:customtabs:27.1.1'<\/pre>\n<\/div>\n<p>\u3053\u306e\u3042\u3068\u3001Sync Now\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u53cd\u6620\u3055\u305b\u308b\u3068\u3001\u8d64\u3044\u4e0b\u7dda\u304c\u6d88\u3048\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2148\" src=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update04-300x37.jpg\" alt=\"\" width=\"551\" height=\"68\" srcset=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update04-300x37.jpg 300w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update04-768x95.jpg 768w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update04-1024x127.jpg 1024w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update04.jpg 1056w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/p>\n<p>\u4e0a\u306e\u753b\u50cf\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.1, 26.1.0. Examples include com.android.support:animated-vector-drawable:27.1.1 and com.android.support:customtabs:26.1.0<br \/>\nThere are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version ( or in particular, a version lower than your target Sdk Version).<\/p>\n<p>com.android.support\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306f\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5229\u7528\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u306b\u3001\u8907\u6570\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u898b\u3064\u304b\u3063\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3001\u3068\u3044\u3046\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u306e2\u3064\uff08animated-vector-drawable:27.1.1\u3068customtabs:26.1.0\uff09\u3092\u8ffd\u52a0\u3057\u3066\u3082\u3001\u8d64\u7dda\u306f\u6d88\u3048\u305a\u3001\u6700\u7d42\u7684\u306b\u306f4\u3064\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8ffd\u8a18\u3059\u308b\u3068\u8d64\u7dda\u304c\u6d88\u3048\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2147\" src=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update05.jpg\" alt=\"\" width=\"550\" height=\"259\" srcset=\"https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update05.jpg 550w, https:\/\/kuuur.net\/wp-content\/uploads\/2018\/10\/library-update05-300x141.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001Build.gradle(app)\u3067\u30cf\u30a4\u30e9\u30a4\u30c8\u8868\u793a\u3084\u8d64\u3044\u4e0b\u7dda\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306b\u306f\u3001\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u30d3\u30eb\u30c9\u3059\u308b\u3068\u30e9\u30f3\u30bf\u30a4\u30e0\u304c\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u5fc5\u305a\u4fee\u6b63\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>play-services-ads\u309217.0.0\u306b\u3057\u305f\u5834\u5408<\/h2>\n<div class=\"source\">\n<pre>com.google.android.gms:play-services-ads:17.0.0<\/pre>\n<\/div>\n<p>\u3092\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u306b\u306f\u3001AndroidManifest.xml\u306e\u4fee\u6b63\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"source\">\n<pre>&lt;manifest&gt;\r\n    &lt;application&gt;\r\n        &lt;meta-data\r\n            android:name=\"com.google.android.gms.ads.APPLICATION_ID\"\r\n            android:value=\"ca-app-pub-****************~**********\"\/&gt;\r\n    &lt;\/application&gt;\r\n&lt;\/manifest&gt;\r\n<\/pre>\n<\/div>\n<p>&lt;application&gt;\u30bf\u30b0\u5185\u306b&lt;meta-data \/&gt;\u30bf\u30b0\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n*\u306e\u90e8\u5206\u306f\u3001AdMob\u304b\u3089\u914d\u4ed8\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3ID\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u3066\u3044\u3066\u3001Build.gradle\uff08app\uff09\u306e\u3001dependencies\u306e\u9805\u76ee\u5185\u3067\u30cf\u30a4\u30e9\u30a4\u30c8\u8868\u793a\u3055\u308c\u305f\u308a\u3001\u8d64\u3044\u4e0b\u7dda\u304c\u5f15\u304b\u308c\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 \u30cf\u30a4\u30e9\u30a4\u30c8\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u66f4&#8230;<span class=\"continue\"><a href=\"https:\/\/kuuur.net\/?p=2141\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[],"class_list":["post-2141","post","type-post","status-publish","format-standard","hentry","category-android"],"views":8624,"_links":{"self":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/2141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2141"}],"version-history":[{"count":5,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/2141\/revisions"}],"predecessor-version":[{"id":2153,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/2141\/revisions\/2153"}],"wp:attachment":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}