{"id":87,"date":"2022-10-31T13:57:09","date_gmt":"2022-10-31T05:57:09","guid":{"rendered":"http:\/\/www.gmailpifa.com\/blog\/?p=87"},"modified":"2022-10-28T22:56:06","modified_gmt":"2022-10-28T14:56:06","slug":"","status":"publish","type":"post","link":"https:\/\/www.gmailpifa.com\/?p=87","title":{"rendered":"Android Studio\u589e\u52a0\u8c37\u6b4c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u96c6\u6210\u548c\u6d4b\u8bd5"},"content":{"rendered":"<p>Android Studio 2.0\uff0c\u8fd9\u662f\u51e0\u5929\u524d\u53d1\u5e03\u7684\uff0c\u73b0\u5728\u652f\u6301\u4e0e\u8c37\u6b4c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u7684\u96c6\u6210\u3002<\/p>\n<p>\u8c37\u6b4c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u96c6\u6210\u548c\u6d4b\u8bd5\u5df2\u76f4\u63a5\u6dfb\u52a0\u5230\u5de5\u4f5c\u5ba4\u3002\u8c37\u6b4c\u8868\u793a\uff0c\u5982\u679c\u4f60\u201c\u5728\u5e94\u7528\u4e2d\u6dfb\u52a0\u5e94\u7528\u7d22\u5f15\u53ef\u4ee5\u5e2e\u52a9\u4f60\u91cd\u65b0\u5438\u5f15\u7528\u6237\u201d\u3002\u201c\u5728Android Studio 2.0\u7684\u7b2c\u4e00\u4e2a\u9884\u89c8\u7248\u4e2d\uff0c\u4f60\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u6dfb\u52a0\u7d22\u5f15\u4ee3\u7801\u5b58\u6839\u3002\u968f\u7740\u6d4b\u8bd5\u7248\u7684\u53d1\u5e03\uff0c\u4f60\u73b0\u5728\u53ef\u4ee5\u5728IDE\u4e2d\u6d4b\u8bd5\u548c\u9a8c\u8bc1\u4f60\u7684\u5e94\u7528\u4e2d\u7684URL\u94fe\u63a5\u3002\u201d\u4e0b\u9762\u662f\u5173\u4e8eAndroid Studio\u548c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u7684\u76f8\u5173\u4fe1\u606f:<\/p>\n<\/p>\n<p>\u652f\u6301\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u73b0\u5728\u66f4\u5bb9\u6613\u5728Android Studio 2.0\u3002\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u5c06\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u653e\u5728\u4f7f\u7528\u8c37\u6b4c\u641c\u7d22\u7684\u7528\u6237\u524d\u9762\u3002\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u662f\u7d22\u5f15\u5e94\u7528\u7a0b\u5e8f\u6e05\u5355\u4e2d\u63d0\u4f9b\u7684URL\u6a21\u5f0f\uff0c\u5e76\u4f7f\u7528\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684API\u8c03\u7528\uff0c\u4f7f\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u5185\u5bb9\u5bf9\u73b0\u6709\u7528\u6237\u548c\u65b0\u7528\u6237\u90fd\u53ef\u7528\u3002\u7279\u522b\u662f\uff0c\u5f53\u4f60\u652f\u6301\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5185\u5bb9\u7684url\u65f6\uff0c\u4f60\u7684\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u4ece\u4ed6\u4eec\u8bbe\u5907\u4e0a\u7684\u8c37\u6b4c\u641c\u7d22\u7ed3\u679c\u5230\u90a3\u4e9b\u94fe\u63a5\u3002Android Studio 2.0\u9884\u89c8\u7248\u5f15\u5165\u4e86\u4ee3\u7801\u751f\u6210\uff0c\u4f60\u53ef\u4ee5\u53f3\u952e\u5355\u51fbAndroidManifest.xml\u6216Activity\u65b9\u6cd5(\u6216\u8fdb\u5165\u4ee3\u7801\u2192\u751f\u6210\u2192\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15API\u4ee3\u7801)\uff0c\u5c06HTTP URL\u5b58\u6839\u4ee3\u7801\u63d2\u5165\u5230\u4f60\u7684\u6e05\u5355\u548c\u5e94\u7528\u7a0b\u5e8f\u4ee3\u7801\u4e2d\u3002<img decoding=\"async\" src=\"https:\/\/www.gmailpifa.com\/blog\/wp-content\/uploads\/2022\/10\/7678289846904832185.png\" class=\"aligncenter\"><\/p>\n<\/p>\n<p>*\u6d4b\u8bd5\u7248\u65b0\u529f\u80fd* URL\u6d4b\u8bd5\u548c\u9a8c\u8bc1Android Studio 2.0\u6d4b\u8bd5\u7248\u7684\u65b0\u529f\u80fd\u662f\uff0c\u4f60\u73b0\u5728\u53ef\u4ee5\u7528\u5185\u7f6e\u7684\u9a8c\u8bc1\u5de5\u5177(Tools\u2192Android\u2192\u8c37\u6b4c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u6d4b\u8bd5)\u9a8c\u8bc1\u548c\u68c0\u67e5URL\u7684\u7ed3\u679c\u3002\u8981\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u7684\u4fe1\u606f\uff0c\u8bf7\u70b9\u51fb\u8fd9\u91cc\u3002<\/p>\n<p>\u5e94\u7528\u7d22\u5f15API\u4ee3\u7801\u63d2\u5165\u5230\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.gmailpifa.com\/blog\/wp-content\/uploads\/2022\/10\/8168727511227526926.png\" class=\"aligncenter\"><\/p>\n<p>\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u6d4b\u8bd5<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.gmailpifa.com\/blog\/wp-content\/uploads\/2022\/10\/5531819687720445535.png\" class=\"aligncenter\"><\/p>\n<p>\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u6d4b\u8bd5\u7ed3\u679c<\/p>\n<\/p>\n<p>\u5f88\u9177,\u5b83\u5e94\u8be5\u5e2e\u52a9\u6781\u5927\u7684Android\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4eba\u5458\u6dfb\u52a0\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u652f\u6301\u3002<\/p>\n<p>\u8bba\u575b\u5728Twitter\u4e0a\u8ba8\u8bba\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android Studio 2.0\uff0c\u8fd9\u662f\u51e0\u5929\u524d\u53d1\u5e03\u7684\uff0c\u73b0\u5728\u652f\u6301\u4e0e\u8c37\u6b4c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u7684\u96c6\u6210\u3002 \u8c37\u6b4c\u5e94\u7528\u7a0b\u5e8f\u7d22\u5f15\u96c6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":88,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=\/wp\/v2\/posts\/87"}],"collection":[{"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":0,"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=\/wp\/v2\/media\/88"}],"wp:attachment":[{"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gmailpifa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}