{"id":848,"date":"2019-12-16T10:27:38","date_gmt":"2019-12-16T02:27:38","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=848"},"modified":"2020-09-26T22:47:31","modified_gmt":"2020-09-26T14:47:31","slug":"android%e6%89%8b%e6%9c%ba%e7%94%a8unity-profiler%e6%9f%a5%e7%9c%8b%e6%80%a7%e8%83%bd","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=848","title":{"rendered":"[Unity]Android\u624b\u673a\u7528Unity Profiler\u67e5\u770b\u6027\u80fd"},"content":{"rendered":"\n<p><a href=\"https:\/\/blog.csdn.net\/cube454517408\/article\/details\/51700492\">https:\/\/blog.csdn.net\/cube454517408\/article\/details\/51700492<\/a><\/p>\n\n\n\n<p>\u4e00\u3001Unity\u51fa\u5305\u524d\uff0c\u52fe\u9009 Development Build<\/p>\n\n\n\n<p>\u4e8c\u3001\u3010\u914d\u7f6e\u4e00\u6b21\u5373\u53ef\u3011<br>1\u3001\u914d\u7f6e\u5165\u7ad9\u89c4\u5219\uff1a<br>\u8fdb\u5165Windows\u9632\u706b\u5899\uff0c\u8fdb\u5165\u9ad8\u7ea7\u8bbe\u7f6e\/\u5165\u7ad9\u89c4\u5219\/\u65b0\u5efa\u89c4\u5219<br>\u89c4\u5219\u7c7b\u578b\u8bbe\u7f6e\u4e3a\u7aef\u53e3,TCP,\u6240\u6709\u672c\u5730\u7aef\u53e3,\u5141\u8bb8\u8fde\u63a5<br>2\u3001\u914d\u7f6eADB\u8def\u5f84\u5230\u7cfb\u7edfPATH\u8def\u5f84\u4e2d<\/p>\n\n\n\n<p>\u4e09\u3001\u5728cmd\u4e2d\uff1a<br>adb forward tcp:34999 localabstract:Unity-XXXX.XXXX.XXXX<br>\u5982\u679c\u4e0d\u6210\u529f\uff0c\u5219\uff1a<\/p>\n\n\n\n<p>netstat -ano | findstr &#8220;5037&#8221;<br>\u5e76\u6740\u6b7b\u5360\u75285037\u7684\u8fdb\u7a0b<br>taskkill \/f \/pid [PID]<br>adb start-server<br>\u6740\u4e86\u518d\u6b21\u6267\u884cforward\u547d\u4ee4<\/p>\n\n\n\n<p>\u56db\u3001\u5f00Unity\uff0c\u65b0\u5efa\u4e00\u4e2a\u7a7a\u5de5\u7a0b\uff0c\u5207\u5230Android\u5e73\u53f0\uff0c\u6253\u5f00Profiler\uff0c\u5728\u9876\u90e8\u9009\u62e9Editor\u4e0b\u6709AndroidPlayer(ADB@127.0.0.1:34999)\uff0c\u5373\u53ef<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/blog.csdn.net\/cube454517408\/article\/details\/517 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/848"}],"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=848"}],"version-history":[{"count":4,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/848\/revisions"}],"predecessor-version":[{"id":858,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/848\/revisions\/858"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}