{"id":5990,"date":"2025-04-02T15:39:24","date_gmt":"2025-04-02T07:39:24","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=5990"},"modified":"2025-04-30T15:33:20","modified_gmt":"2025-04-30T07:33:20","slug":"unity-android%e5%b9%b3%e5%8f%b0%e5%8e%bb%e6%8e%89%e6%9d%83%e9%99%90%e8%af%a2%e9%97%ae%e7%aa%97%e5%8f%a3","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=5990","title":{"rendered":"Unity-Android\u5e73\u53f0\u53bb\u6389\u6743\u9650\u8be2\u95ee\u7a97\u53e3"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"753\" height=\"354\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image-1.png\" alt=\"\" class=\"wp-image-5992\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image-1.png 753w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image-1-512x241.png 512w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image-1-160x75.png 160w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"403\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image.png\" alt=\"\" class=\"wp-image-5991\" srcset=\"https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image.png 757w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image-512x273.png 512w, https:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2025\/04\/image-160x85.png 160w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/figure>\n\n\n\n<p>1\u3001\u628aWritePermission\u4fee\u6539\u4e3a Internal\u5373\u53ef<\/p>\n\n\n\n<p>2\u3001\u6216\u8005\uff1a\u5728Mainfest\u7684xml\u4e2d\u8ffd\u52a0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;meta-data android:name=\"unityplayer.SkipPermissionsDialog\" android:value=\"true\" \/&gt;<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u989d\u5916\uff1a<\/h2>\n\n\n\n<p><strong>\u5982\u679c\u8981\u5f3a\u5236\u53bb\u6389\u67d0\u4e2a\u6743\u9650\uff0c\u53ef\u4ee5\u5728AndroidManifest.xml\u4e2d<\/strong>\u6dfb\u52a0\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"  tools:node=\"remove\" \/><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u628aWritePermission\u4fee\u6539\u4e3a Internal\u5373\u53ef 2\u3001\u6216\u8005\uff1a\u5728Mainfest\u7684xml\u4e2d\u8ffd\u52a0  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5990"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5990"}],"version-history":[{"count":5,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5990\/revisions"}],"predecessor-version":[{"id":6012,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/5990\/revisions\/6012"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}