{"id":22706,"date":"2024-04-29T16:08:13","date_gmt":"2024-04-29T08:08:13","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=22706"},"modified":"2024-04-29T16:08:13","modified_gmt":"2024-04-29T08:08:13","slug":"androlua%e7%94%9f%e6%88%90apk%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e7%9a%84%e5%91%a2%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/22706\/","title":{"rendered":"androlua+\u751f\u6210apk\u5982\u4f55\u5b9e\u73b0\u7684\u5462\uff1f"},"content":{"rendered":"

AndroLua+\u662f\u4e00\u79cd\u5728Android\u5e73\u53f0\u4e0a\u4f7f\u7528Lua\u8bed\u8a00\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u5177\u3002\u5b83\u7ed3\u5408\u4e86Lua\u8bed\u8a00\u7684\u7b80\u6d01\u548c\u7075\u6d3b\u6027\u4ee5\u53caAndroid\u5e73\u53f0\u7684\u5f3a\u5927\u529f\u80fd\uff0c\u4f7f\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u8f7b\u677e\u5730\u521b\u5efaAndroid\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u4f7f\u7528AndroLua+\u751f\u6210APK\u7684\u539f\u7406\u548c\u6b65\u9aa4\u3002<\/p>\n

AndroLua+\u7684\u539f\u7406\uff1a<\/p>\n

AndroLua+\u7684\u6838\u5fc3\u539f\u7406\u662f\u5c06Lua\u4ee3\u7801\u8f6c\u6362\u4e3aJava\u4ee3\u7801\uff0c\u7136\u540e\u4f7f\u7528Java\u7f16\u8bd1\u5668\u5c06\u5176\u7f16\u8bd1\u4e3aAndroid\u53ef\u6267\u884c\u7684Dalvik\u5b57\u8282\u7801\u3002\u8fd9\u79cd\u8f6c\u6362\u8fc7\u7a0b\u662f\u901a\u8fc7AndroLua+\u63d0\u4f9b\u7684LuaJava\u5e93\u5b9e\u73b0\u7684\u3002LuaJava\u5e93\u63d0\u4f9b\u4e86\u4e00\u7ec4\u7528\u4e8e\u5728Lua\u4ee3\u7801\u548cJavamp4\u600e\u4e48\u6253\u5305apk<\/a>\u4ee3\u7801\u4e4b\u95f4\u8fdb\u884c\u4ea4\u4e92\u7684\u63a5\u53e3\uff0c\u4f7f\u6211\u4eec\u80fd\u591f\u5728Lua\u4e2d\u8c03\u7528Java\u7c7b\u548c\u65b9\u6cd5\uff0c\u5e76\u5728Java\u4e2d\u8c03\u7528Lua\u51fd\u6570\u3002\u901a\u8fc7\u8fd9\u4e2a\u63a5\u53e3\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Java\u7684API\u8bbf\u95eeAndroid\u7cfb\u7edf\u7684\u5404\u79cd\u529f\u80fd\u548c\u670d\u52a1\u3002<\/p>\n

\u751f\u6210APK\u7684\u6b65\u9aa4\uff1a<\/p>\n

\u4ee5\u4e0b\u662f\u4f7f\u7528AndroLua+\u751f\u6210APK\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n

1. \u5b89\u88c5AndroLua+\u548cJava Development Kit\uff08JDK\uff09\uff1a<\/p>\n

\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5148\u5b89\u88c5AndroLua+\u548cJDK\u3002AndroLua+\u53ef\u4ee5\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0a\u4e0b\u8f7d\u5f97\u5230\uff0c\u800cJDK\u53ef\u4ee5\u4eceOracle\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u3002<\/p>\n

2. \u521b\u5efa\u9879\u76ee\uff1a<\/p>\n

\u6253\u5f00AndroLua+\uff0c\u70b9\u51fb\u65b0\u5efa\u9879\u76ee\u6309\u94ae\u3002\u586b\u5199\u9879\u76ee\u540d\u79f0\u3001\u5305\u540d\u548c\u4e3b\u754c\u9762\u6587\u4ef6\u540d\u7b49\u4fe1\u606f\uff0c\u7136\u540e\u70b9\u51fb\u4e0b\u4e00\u6b65\u3002<\/p>\n

3. \u7f16\u5199Lua\u4ee3\u7801\uff1a<\/p>\n

\u5728AndroLua+\u7684\u7f16\u8f91\u754c\u9762\u4e2d\uff0c\u7f16\u5199\u4f60\u7684Lua\u4ee3\u7801\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Lua\u8bed\u8a00\u7684\u5404\u79cd\u7279\u6027\u548c\u8bed\u6cd5\u6765\u5b9e\u73b0\u4f60\u7684Android\u5e94\u7528\u7a0b\u5e8f\u7684\u903b\u8f91\u3002<\/p>\n

4. \u8c03\u7528Java\u7c7b\u548c\u65b9\u6cd5\uff1a<\/p>\n

\u5728Lua\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528LuaJava\u5e93\u7684\u63a5\u53e3\u6765\u8c03\u7528Java\u7c7b\u548c\u65b9\u6cd5\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Java\u7684API\u6765\u8bbf\u95eeAndroid\u7cfb\u7edf\u7684\u5404\u79cd\u529f\u80fd\u548c\u670d\u52a1\u3002<\/p>\n

5. \u6784\u5efa\u9879\u76ee\uff1a<\/p>\n

\u5728AndroLua+\u4e2d\uff0c\u70b9\u51fb\u6784\u5efa\u6309\u94ae\uff0cAndroLua+\u4f1a\u5c06\u4f60\u7684Lua\u4ee3\u7801\u8f6c\u6362\u4e3aJava\u4ee3\u7801\uff0c\u5e76\u5c06\u5176\u7f16\u8bd1\u4e3aAndroid\u53ef\u6267\u884c\u7684Dalvik\u5b57\u8282\u7801\u3002<\/p>\n

6. \u5bfc\u51faAPK\uff1a<\/p>\n

\u5728\u6784\u5efa\u6210\u529f\u540e\uff0c<\/p>\n

<\/figure>\n<\/p>\n

\u70b9\u51fb\u5bfc\u51faAPK\u6309\u94ae\uff0cAndroLua+\u4f1a\u751f\u6210\u4e00\u4e2aAPK\u6587\u4ef6\uff0c\u5305\u542b\u4e86\u4f60\u7684Android\u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u5fc5\u9700\u6587\u4ef6\u548c\u8d44\u6e90\u3002<\/p>\n

7. \u5b89\u88c5\u548c\u8fd0\u884c\uff1a<\/p>\n

\u5c06\u751f\u6210\u7684APK\u6587\u4ef6\u4f20\u8f93\u5230\u5c01\u88c5apk\u589e\u52a0\u5185\u5b58<\/a>\u4f60\u7684Android\u8bbe\u5907\u4e0a\uff0c\u5e76\u901a\u8fc7\u6587\u4ef6\u7ba1\u7406\u5668\u6216\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u5b89\u88c5\u5b83\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u5728\u8bbe\u5907\u4e0a\u8fd0\u884c\u4f60\u7684Android\u5e94\u7528\u7a0b\u5e8f\u4e86\u3002<\/p>\n

\u603b\u7ed3\uff1a<\/p>\n

\u4f7f\u7528AndroLua+\u751f\u6210APK\u7684\u8fc7\u7a0b\u4e3b\u8981\u5305\u62ec\u5b89\u88c5AndroLua+\u548cJDK\u3001\u521b\u5efa\u9879\u76ee\u3001\u7f16\u5199Lua\u4ee3\u7801\u3001\u8c03\u7528Java\u7c7b\u548c\u65b9\u6cd5\u3001\u6784\u5efa\u9879\u76ee\u3001\u5bfc\u51faAPK\u3001\u5b89\u88c5\u548c\u8fd0\u884c\u3002\u901a\u8fc7\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u4f60\u53ef\u4ee5\u5feb\u901f\u65b9\u4fbf\u5730\u5c06\u81ea\u5df1\u7684Lua\u4ee3\u7801\u8f6c\u6362\u4e3aAndroid\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884c\u548c\u5206\u4eab\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u7406\u89e3AndroLua+\u751f\u6210APK\u7684\u539f\u7406\u548c\u6b65\u9aa4\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

AndroLua+\u662f\u4e00\u79cd\u5728Android\u5e73\u53f0\u4e0a\u4f7f\u7528Lua\u8bed\u8a00\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u5177\u3002\u5b83\u7ed3\u5408\u4e86Lua\u8bed\u8a00\u7684\u7b80\u6d01\u548c\u7075\u6d3b\u6027\u4ee5\u53caAndroid\u5e73\u53f0\u7684\u5f3a\u5927\u529f\u80fd\uff0c\u4f7f\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u8f7b\u677e\u5730\u521b\u5efaAndroid\u5e94\u7528\u7a0b\u5e8f\u3002\u5728<\/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":[23954,23955,29,27,12],"topic":[],"class_list":["post-22706","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-androidstudioapk","tag-apk","tag-29","tag-27","tag-12"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/22706","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=22706"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/22706\/revisions"}],"predecessor-version":[{"id":22724,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/22706\/revisions\/22724"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=22706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=22706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=22706"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=22706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}