<\/figure>\n<\/p>\n\u8981\u914d\u7f6e\u4e0d\u540c\u7684\u6784\u5efa\u7c7b\u578b\u548c\u53d8\u4f53\u3002\u6784\u5efa\u7c7b\u578b\u5305\u62ecdebug\u548crelease\u4e24\u79cd\uff0cdebug\u7528\u4e8e\u5f00\u53d1\u548c\u8c03\u8bd5\uff0crelease\u7528\u4e8e\u53d1\u5e03\u3002\u53d8\u4f53\u5219\u662f\u6839\u636e\u4e0d\u540c\u7684\u9700\u6c42\u914d\u7f6e\u4e0d\u540c\u7684\u6784\u5efa\u9009\u9879\uff0c\u6bd4\u5982\u4f7f\u7528\u4e0d\u540c\u7684\u8d44\u6e90\u6587\u4ef6\u3001\u914d\u7f6e\u4e0d\u540c\u7684\u63a5\u53e3\u5730\u5740\u7b49\u3002<\/p>\n
\u5728Android Studio\u4e2d\uff0c\u53ef\u4ee5\u5728build.gradle\u6587\u4ef6\u4e2d\u9488\u5bf9\u4e0d\u540c\u7684\u6784\u5efa\u7c7b\u578b\u548c\u53d8\u4f53\u8fdb\u884c\u914d\u7f6e\u3002\u53ef\u4ee5\u8bbe\u7f6e\u4e0d\u540c\u7684\u8d44\u6e90\u6587\u4ef6\u76ee\u5f55\u3001\u4e0d\u540c\u7684\u63a5\u53e3\u5730\u5740\u3001\u4e0d\u540c\u7684\u7f16\u8bd1\u9009\u9879\u7b49\u3002<\/p>\n
4. \u6267\u884c\u6784\u5efa\uff1a<\/p>\n
\u6267\u884c\u6784\u5efa\u662f\u6700\u540e\u4e00\u6b65\uff0c\u901a\u8fc7\u6267\u884c\u6784\u5efa\u5c06\u6e90\u4ee3\u7801\u548c\u8d44\u6e90\u6587\u4ef6\u6253\u5305\u6210APK\u6587\u4ef6\u3002\u5728Android Studio\u4e2d\uff0c\u53ef\u4ee5\u9009\u62e9Build\u83dc\u5355\u7684Build Bundle(s) \/ APK(s)\u9009\u9879\uff0c\u7136\u540e\u9009\u62e9\u5bf9\u5e94\u7684\u6784\u5efa\u7c7b\u578b\u548c\u53d8\u4f53\u8fdb\u884c\u6784\u5efa\u3002<\/p>\n
\u6784\u5efa\u8fc7\u7a0b\u4e2d\uff0cAndroid Studio\u4f1a\u81ea\u52a8\u6267\u884c\u4e00\u7cfb\u5217\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\u7f16\u8bd1\u4ee3\u7801\u3001\u5904\u7406\u8d44\u6e90\u6587\u4ef6\u3001\u538b\u7f29\u6587\u4ef6\u7b49\u3002\u6700\u7ec8\u751f\u6210\u7684APK\u6587\u4ef6\u4f1a\u4fdd\u5b58\u5728\u9879\u76ee\u76ee\u5f55\u7684build\/outputs\/apk\u76ee\u5f55\u4e0b\u3002<\/p>\n
\u5982\u679cAPK\u6253\u5305\u5931\u8d25\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u4ee5\u4e0b\u539f\u56e0\u5bfc\u81f4\uff1a<\/p>\n
– \u4ee3\u7801\u9519\u8bef\uff1a\u6e90\u4ee3\u7801\u4e2d\u5b58\u5728\u8bed\u6cd5\u9519\u8bef\u6216\u903b\u8f91\u9519\u8bef\uff0c\u5bfc\u81f4\u7f16\u8bd1\u5931\u8d25\u3002\u89e3\u51b3\u65b9\u6cd5\u662f\u901a\u8fc7\u8c03\u8bd5\u5de5\u5177\u67e5\u627e\u5e76\u4fee\u590d\u4ee3\u7801\u9519\u8bef\u3002<\/p>\n
– \u8d44\u6e90\u6587\u4ef6\u9519\u8bef\uff1a\u8d44\u6e90\u6587\u4ef6\uff08\u5982\u5e03\u5c40\u6587\u4ef6\u3001\u56fe\u7247\u7b49\uff09\u5b58\u5728\u9519\u8bef\uff0c\u65e0\u6cd5\u6b63\u5e38\u89e3\u6790\u3002\u89e3\u51b3\u65b9\u6cd5\u662f\u68c0\u67e5\u8d44\u6e90\u6587\u4ef6\u7684\u547d\u540d\u3001\u8def\u5f84\u548c\u683c\u5f0f\u662f\u5426\u6b63\u786e\u3002<\/p>\n
– \u4f9d\u8d56\u5173\u7cfb\u9519\u8bef\uff1a\u9879\u76ee\u4f9d\u8d56\u7684\u5e93\u6216\u6a21\u5757\u5b58\u5728\u9519\u8bef\u6216\u51b2\u7a81\uff0c\u5bfc\u81f4\u6784\u5efa\u5931\u8d25\u3002\u89e3\u51b3\u65b9\u6cd5\u662f\u68c0\u67e5\u4f9d\u8d56\u5173\u7cfb\uff0c\u66f4\u65b0\u6216\u5220\u9664\u51b2\u7a81\u7684\u4f9d\u8d56\u9879\u3002<\/p>\n
– \u7b7e\u540d\u6587\u4ef6\u9519\u8bef\uff1a\u7b7e\u540d\u6587\u4ef6\u7684\u914d\u7f6e\u6709\u8bef\u6216\u7f3a\u5931\uff0c\u5bfc\u81f4\u65e0\u6cd5\u7b7e\u540dAPK\u3002\u89e3\u51b3\u65b9\u6cd5\u662f\u6b63\u786e\u914d\u7f6e\u7b7e\u540d\u6587\u4ef6\uff0c\u786e\u4fdd\u7b7e\u540d\u6587\u4ef6\u7684\u6709\u6548\u6027\u3002<\/p>\n
\u603b\u7ed3\u8d77\u6765\uff0cAPK\u6253\u5305\u6d89\u53ca\u5230\u6784\u5efa\u811a\u672c\u914d\u7f6e\u3001\u751f\u6210\u7b7e\u540d\u6587\u4ef6\u3001\u914d\u7f6e\u6784\u5efa\u7c7b\u578b\u548c\u53d8\u4f53\u3001\u6267\u884c\u6784\u5efa\u7b49\u6b65\u9aa4\u3002\u5982\u679c\u9047\u5230\u6253\u5305\u5931\u8d25\uff0c\u9700\u8981\u4ed4\u7ec6\u68c0\u67e5\u4ee3\u7801\u3001\u8d44\u6e90\u6587\u4ef6\u3001\u4f9d\u8d56\u5173\u7cfb\u548c\u7b7e\u540d\u6587\u4ef6\u7b49\u65b9\u9762\uff0c\u627e\u51fa\u9519\u8bef\u5e76\u8fdb\u884c\u4fee\u590d\u3002\u540c\u65f6\uff0c\u638c\u63e1Android Studio\u7684\u5404\u9879\u5de5\u5177\u548c\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u66f4\u597d\u5730\u8fdb\u884cAPK\u7684\u6253\u5305\u548c\u8c03\u8bd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u6253\u5305APK\u662fAndroid\u5f00\u53d1\u4e2d\u5e38\u89c1\u7684\u64cd\u4f5c\uff0c\u4e3b\u8981\u662f\u5c06\u7f16\u5199\u597d\u7684\u6e90\u4ee3\u7801\u548c\u8d44\u6e90\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2a\u53ef\u4ee5\u5728Android\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\u7684\u5b89\u88c5\u5305\u3002Android Studio\u662f\u4e00\u6b3e\u5f3a\u5927\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\uff0c\u5b83<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5318,10758,10757,16,408],"topic":[],"class_list":{"0":"post-5818","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-appkf","7":"tag-5318","8":"tag-apk","10":"tag-16","11":"tag-408"},"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/5818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=5818"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/5818\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=5818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=5818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=5818"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=5818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}