{"id":8101,"date":"2019-12-11T10:00:43","date_gmt":"2019-12-11T01:00:43","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=8101"},"modified":"2019-12-10T20:10:42","modified_gmt":"2019-12-10T11:10:42","slug":"android9%e4%bb%a5%e4%b8%8a%e3%81%a7http%e5%b9%b3%e6%96%87%e9%80%9a%e4%bf%a1%e3%82%92%e8%a1%8c%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/8101","title":{"rendered":"Android9\u4ee5\u4e0a\u3067http\u5e73\u6587\u901a\u4fe1\u3092\u884c\u3046"},"content":{"rendered":"\n<p>Android9\u4ee5\u4e0a\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067SSL\/TLS\u901a\u4fe1\u3092\u884c\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u3057\u304b\u3057\u3001\u63a5\u7d9a\u5148\u306b\u3088\u3063\u3066\u306f\u975eSSL\/TLS\u901a\u4fe1\u3092\u884c\u3046\u5fc5\u8981\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u4f55\u3082\u5bfe\u5fdc\u3092\u884c\u308f\u305a\u306b\u30a2\u30d7\u30ea\u304b\u3089\u901a\u4fe1\u3092\u884c\u304a\u3046\u3068\u3059\u308b\u3068<br>&#8220;java.io.IOException: Cleartext traffic not permitted:(\u901a\u4fe1\u5148)&#8221;<br>\u3068\u3044\u3063\u305f\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5bfe\u5fdc\u3068\u3057\u3066\u3001AndroidManifest\u306e&lt;application&gt;\u306b<br>android:usesCleartextTraffic=&#8221;true&#8221;<br>\u3092\u8ffd\u8a18\u3057\u3066\u5168\u3066\u306e\u5e73\u6587\u901a\u4fe1\u3092\u8a31\u53ef\u3059\u308b\u304b\u3001<br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5225\u3067\u4f5c\u308a\u3001\u540c\u3058\u3088\u3046\u306b &lt;application&gt;\u306b <br>android:networkSecurityConfig=&#8221;\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb&#8221;<br>\u3092\u8ffd\u8a18\u3057\u30c9\u30e1\u30a4\u30f3\u6bce\u306b\u8a31\u53ef\u3092\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306e\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;network-security-config>\n    &lt;domain-config cleartextTrafficPermitted=\"true\">\n        &lt;domain includeSubdomains=\"true\">\u8a31\u53ef\u3057\u305f\u3044\u30c9\u30e1\u30a4\u30f3&lt;\/domain>\n    &lt;\/domain-config>\n&lt;\/network-security-config><\/code><\/pre>\n\n\n\n<p>\u8907\u6570\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f<br>&#8220;<code>&lt;domain includeSubdomains=\"true\"&gt;\u8a31\u53ef\u3057\u305f\u3044\u30c9\u30e1\u30a4\u30f3&lt;\/domain&gt;<\/code>&#8220;<br>\u3092\u5fc5\u8981\u306a\u6570\u3060\u3051\u8ffd\u52a0\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6c34\u66dc\u62c5\u5f53:Tanaka<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8101\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/8101\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"Android9\u4ee5\u4e0a\u3067http\u5e73\u6587\u901a\u4fe1\u3092\u884c\u3046\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8101\" data-text=\"Android9\u4ee5\u4e0a\u3067http\u5e73\u6587\u901a\u4fe1\u3092\u884c\u3046\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8101\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/8101\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>Android9\u4ee5\u4e0a\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067SSL\/TLS\u901a\u4fe1\u3092\u884c\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/8101"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=8101"}],"version-history":[{"count":6,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/8101\/revisions"}],"predecessor-version":[{"id":8110,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/8101\/revisions\/8110"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=8101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=8101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=8101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}