\u5236\u4f5c\u624b\u673aapk<\/a>ocument.getElementById(‘root’));<\/p>\n<\/p>\n<\/p>\n“`<\/p>\n
6. \u6784\u5efaAmis\u5e94\u7528<\/p>\n
\u56de\u5230Cordova\u9879\u76ee\u7684\u6839\u76ee\u5f55\uff0c\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6784\u5efaAmis\u5e94\u7528\uff1a<\/p>\n
“`shell<\/p>\n
cordova prepare<\/p>\n
“`<\/p>\n
\u8be5\u547d\u4ee4\u4f1a\u5c06`www`\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u590d\u5236\u5230\u5bf9\u5e94\u5e73\u53f0\u7684\u9879\u76ee\u4e2d\uff0c\u5e76\u8fdb\u884c\u4e00\u4e9b\u5fc5\u8981\u7684\u914d\u7f6e\u3002<\/p>\n
7. \u751f\u6210APK\u6587\u4ef6<\/p>\n
\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6784\u5efaAndroid\u5e73\u53f0\u7684APK\u6587\u4ef6\uff1a<\/p>\n
“`shell<\/p>\n
cordova build android<\/p>\n
“`<\/p>\n
\u8be5\u547d\u4ee4\u4f1a\u5728`platforms\/android\/app\/build\/outputs\/apk`\u76ee\u5f55\u4e0b\u751f\u6210\u4e00\u4e2a\u540d\u4e3a`app-debug.apk`\u7684\u6587\u4ef6\uff0c\u5373\u4e3a\u6211\u4eec\u6240\u9700\u7684APK\u6587\u4ef6\u3002<\/p>\n
8. \u5728\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884cAPK\u6587\u4ef6<\/p>\n
\u5c06\u751f\u6210\u7684APK\u6587\u4ef6\u62f7\u8d1d\u5230Android\u8bbe\u5907\u4e0a\uff0c\u7136\u540e\u5728\u8bbe\u5907\u4e0a\u8fdb\u884c\u5b89\u88c5\u548c\u8fd0\u884c\u3002<\/p>\n
\u4ee5\u4e0a\u5c31\u662f\u4f7f\u7528Cordova\u6253\u5305Amis\u5e94\u7528\u6210APK\u6587\u4ef6\u7684\u8be6\u7ec6\u4ecb\u7ecd\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u5982\u679c\u6709\u4efb\u4f55\u7591\u95ee\u8bf7\u968f\u65f6\u4e0e\u6211\u8054\u7cfb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
Amis\u662f\u4e00\u6b3e\u57fa\u4e8eReact\u7684\u4f4e\u4ee3\u7801\u5f00\u53d1\u6846\u67b6\uff0c\u4e13\u6ce8\u4e8e\u5feb\u901f\u5f00\u53d1\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u524d\u7aef\u6846\u67b6\u3002\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7ec4\u4ef6\u5e93\u548c\u5f3a\u5927\u7684\u53ef\u89c6\u5316\u8bbe\u8ba1\u5de5\u5177\uff0c\u8ba9\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u62d6\u62fd\u3001\u914d\u7f6e\u7684\u65b9\u5f0f\u5feb\u901f\u642d\u5efa\u754c\u9762\uff0c\u65e0\u9700\u624b\u52a8\u7f16\u5199\u5927\u91cf\u7684\u4ee3\u7801\u3002<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[4545,4544,832,16,23],"topic":[],"class_list":{"0":"post-2146","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-appkf","7":"tag-apk","9":"tag-832","10":"tag-16","11":"tag-23"},"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/2146","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=2146"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/2146\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=2146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=2146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=2146"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=2146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}