{"id":2023,"date":"2021-06-08T15:59:20","date_gmt":"2021-06-08T06:59:20","guid":{"rendered":"http:\/\/www.gamebb.jp\/?p=2023"},"modified":"2021-09-01T11:38:24","modified_gmt":"2021-09-01T02:38:24","slug":"%e3%80%90unity%e3%80%91java-lang-securityexception-getdatanetworktypeforsubscriber","status":"publish","type":"post","link":"http:\/\/www.gamebb.jp\/blog\/2021\/06\/08\/%e3%80%90unity%e3%80%91java-lang-securityexception-getdatanetworktypeforsubscriber\/","title":{"rendered":"\u3010Unity\u3011Android11\u3067\u30a2\u30d7\u30ea\u304c\u30af\u30e9\u30c3\u30b7\u30e5(\u53e4\u3044UnityAdsSDK\u304c\u539f\u56e0)"},"content":{"rendered":"\n<p>Unity\u88fd\u306eAndorid\u30a2\u30d7\u30ea\u306b\u30af\u30e9\u30c3\u30b7\u30e5\u5831\u544a\u304c\u6ca2\u5c71\u3002Android11\u3067\u306e\u307f\u767a\u751f\u3057\u3066\u3044\u308b\u3082\u3088\u3046\u3002<\/p>\n\n\n\n<p>\u539f\u56e0\u306fUnityAds SDK\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u53e4\u3044\u3068\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u3066\u3057\u307e\u3046\u3002<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\uff1ajava.lang.SecurityException: getDataNetworkTypeForSubscriber<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Unity(2018.1.9 2f)\u3092\u3064\u304b\u3063\u3066\u3044\u305f\u305f\u3081\u3001\u30d3\u30eb\u30c8\u30a4\u30f3\u306eUnityAdsSDK\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u53e4\u304b\u3063\u305f(2.0.8)\u3002<\/p>\n\n\n\n<p>Package Manager\u304b\u3089Ads\u3092Remove\u3057\u3066\u3001Services\u2192Ads\u2192Enable BuiltIn SDK\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3059\u3002UnityAds SDK\u306e2.3.2\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3002\uff082.3.2\u3088\u308a\u65b0\u3057\u3044SDK\u306f\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u4f7f\u3048\u306a\u304b\u3063\u305f\u3002\uff09\u7121\u4e8b\u30a8\u30e9\u30fc\u306f\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u3057\u3064\u3053\u304fUnity2018.1.9 2f\u3092\u4f7f\u3063\u3066\u3044\u308b\u7406\u7531\u306f\u3001javascript\u3092\u4f7f\u3048\u308b\u6700\u7d42\u30d0\u30fc\u30b8\u30e7\u30f3\u3060\u304b\u3089\u3002C#\u306b\u5909\u63db\u3059\u308b\u306e\u304c\u9762\u5012\u3067\u653e\u7f6e\u3057\u3066\u3044\u305f\u304c\u3001\u305d\u308d\u305d\u308d\u5e74\u8ca2\u306e\u53ce\u3081\u3069\u3053\u308d\u304b\u3082\u3057\u308c\u306a\u3044\u2026\u3002<br><br>\u8ffd\u8a18\uff1atargetAPI\u30ec\u30d9\u30eb\u309229\u306b\u8a2d\u5b9a\u3082\u5fc5\u8981\u3002\u73fe\u6642\u70b9\u306e\u6700\u65b0\u306e30\u3067\u306fInitialize\u306e\u6642\u70b9\u3067\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u74b0\u5883\uff1a<br>Windows10<br>Unity2018.1.9 2f<br>UnityAdsSDK 2.0.8<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u53c2\u8003\uff1a\u3010Unity\u3011Android11(API\u30ec\u30d9\u30eb30)\u3067UnityAds\u304c\u539f\u56e0\u3067\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u305f\u8a71 \u2502 \u30a8\u30af\u30b9\u30d7\u30e9\u30dc <br>https:\/\/ekulabo.com\/unity-android-app-crash<br><br>https:\/\/forum.unity.com\/threads\/building-with-android-11-results-in-runtime-crash.920309\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity\u88fd\u306eAndorid\u30a2\u30d7\u30ea\u306b\u30af\u30e9\u30c3\u30b7\u30e5\u5831\u544a\u304c\u6ca2\u5c71\u3002Android11\u3067\u306e\u307f\u767a\u751f\u3057\u3066\u3044\u308b\u3082\u3088\u3046\u3002 \u539f\u56e0\u306fUnityAds SDK\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u53e4\u3044\u3068\u30af\u30e9\u30c3\u30b7\u30e5\u3057\u3066\u3057\u307e\u3046\u3002 \u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\uff1ajava.lang.Sec &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1190,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":{"0":"post-2023","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-appdev"},"_links":{"self":[{"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/posts\/2023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/comments?post=2023"}],"version-history":[{"count":16,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/posts\/2023\/revisions"}],"predecessor-version":[{"id":2075,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/posts\/2023\/revisions\/2075"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/media\/1190"}],"wp:attachment":[{"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/media?parent=2023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/categories?post=2023"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamebb.jp\/blog\/wp-json\/wp\/v2\/tags?post=2023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}