{"id":4893,"date":"2023-05-11T12:05:52","date_gmt":"2023-05-11T04:05:52","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/?p=4893"},"modified":"2023-05-11T12:05:52","modified_gmt":"2023-05-11T04:05:52","slug":"json-%e7%94%9f%e6%88%90apk%e6%98%af%e6%80%8e%e4%b9%88%e5%ae%9e%e7%8e%b0%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/appshangjia\/4893.html","title":{"rendered":"json \u751f\u6210apk\u662f\u600e\u4e48\u5b9e\u73b0\u7684\uff1f"},"content":{"rendered":"<p>JSON\uff08JavaScript Object Notation\uff09\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6570\u636e\u4ea4\u6362\u683c\u5f0f\uff0c\u5b83\u901a\u8fc7\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\u7684\u6587\u672c\u683c\u5f0f\u6765\u4f20\u8f93\u6570\u636e\u3002\u5728\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u901a\u5e38\u9700\u8981\u5c06\u6570\u636e\u4ee5JSON\u683c\u5f0f\u4f20\u8f93\u5230\u670d\u52a1\u5668\u7aef\uff0c\u6216\u8005\u4ece\u670d\u52a1\u5668\u7aef\u83b7\u53d6JSON\u683c\u5f0f\u7684\u6570\u636e\u3002\u800cAPK\uff08Android Package\uff09\u5219\u662fAndroid\u5e94\u7528\u7a0b\u5e8f\u7684\u5b89\u88c5\u5305\uff0c\u5305\u542b\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u8d44\u6e90\u548c\u4ee3\u7801\u3002\u90a3\u4e48\uff0c\u5982\u4f55\u4f7f\u7528JSON\u751f\u6210APK\u5462\uff1f<\/p>\n<p>\u9996\u5148\uff0c\u9700\u8981\u4e86\u89e3APK\u7684\u6784\u6210\u3002\u4e00\u4e2aAPK\u5305\u542b\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<p>1. AndroidManife<a href=\"https:\/\/www.yimenapp.net\/dabao-885.html\">\u5353\u52a8app<\/a>st.xml\u6587\u4ef6\uff1a\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u7684\u914d\u7f6e\u4fe1\u606f\uff0c\u5982\u5e94\u7528\u7a0b\u5e8f\u7684\u540d\u79f0\u3001\u56fe\u6807\u3001\u7248\u672c\u53f7\u3001\u6743\u9650\u7b49\u3002<\/p>\n<p>2. classes.dex\u6587\u4ef6\uff1a\u5305\u542b\u6240\u6709\u7f16\u8bd1\u540e\u7684Java\u4ee3\u7801\u3002<\/p>\n<p>3. lib\u76ee\u5f55\uff1a\u5305\u542b\u4e0eCPU\u67b6\u6784\u76f8\u5173\u7684\u5171\u4eab\u5e93\u6587\u4ef6\u3002<\/p>\n<p>4. <a href=\"https:\/\/www.yimenapp.net\/dabao-585.html\">iOS\u4f01\u4e1a\u7b7e<\/a>assets\u76ee\u5f55\uff1a\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u7684\u5404\u79cd\u8d44\u6e90\u6587\u4ef6\uff0c\u5982\u56fe\u7247\u3001\u97f3\u9891\u3001\u89c6\u9891\u7b49\u3002<\/p>\n<p>5. res\u76ee\u5f55\uff1a\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u8d44\u6e90\u6587\u4ef6\uff0c\u5982\u5e03\u5c40\u6587\u4ef6\u3001\u5b57\u7b26\u4e32\u8d44\u6e90\u6587\u4ef6\u3001\u6837\u5f0f\u6587\u4ef6\u7b49\u3002<\/p>\n<p>\u6709\u4e86\u8fd9\u4e9b\u57fa\u7840\u77e5\u8bc6\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5f00<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/31\/15\/18079902086.jpg\" \/><\/figure>\n<\/p>\n<p>\u59cb\u4f7f\u7528JSON\u751f\u6210APK\u4e86\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<p>1. \u521b\u5efa\u4e00\u4e2aJSON\u6587\u4ef6\uff0c\u7528\u4e8e\u63cf\u8ff0APK\u7684\u57fa\u672c\u4fe1\u606f\uff0c\u5982\u5e94\u7528\u7a0b\u5e8f\u7684\u540d\u79f0\u3001\u7248\u672c\u53f7\u3001\u56fe\u6807\u3001\u6743\u9650\u7b49\u3002<\/p>\n<p>2. \u4f7f\u7528Java\u4ee3\u7801\u89e3\u6790JSON\u6587\u4ef6\uff0c\u83b7\u53d6APK\u7684\u57fa\u672c\u4fe1\u606f\uff0c\u5e76\u751f\u6210AndroidManifest.xml\u6587\u4ef6\u3002<\/p>\n<p>3. \u5c06\u7f16\u8bd1\u540e\u7684Java\u4ee3\u7801\u6253\u5305\u6210classes.dex\u6587\u4ef6\u3002<\/p>\n<p>4. \u5c06\u4e0eCPU\u67b6\u6784\u76f8\u5173\u7684\u5171\u4eab\u5e93\u6587\u4ef6\u6253\u5305\u5230lib\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>5. \u5c06\u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u7684\u5404\u79cd\u8d44\u6e90\u6587\u4ef6\u6253\u5305\u5230assets\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>6. \u5c06\u5e94\u7528\u7a0b\u5e8f\u7684\u6240\u6709\u8d44\u6e90\u6587\u4ef6\u6253\u5305\u5230res\u76ee\u5f55\u4e2d\u3002<\/p>\n<p>7. \u4f7f\u7528Android SDK\u63d0\u4f9b\u7684\u5de5\u5177\u5c06\u4ee5\u4e0a\u6587\u4ef6\u6253\u5305\u6210\u4e00\u4e2aAPK\u6587\u4ef6\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cJSON\u751f\u6210APK\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u4f7f\u7528\u5230\u4e00\u4e9bJava\u5e93\u548cAndroid SDK\u5de5\u5177\uff0c\u5982JSON\u89e3\u6790\u5e93\u3001AndroidManifest.xml\u751f\u6210\u5de5\u5177\u3001dex\u6253\u5305\u5de5\u5177\u3001\u8d44\u6e90\u6587\u4ef6\u6253\u5305\u5de5\u5177\u7b49\u3002\u540c\u65f6\uff0c\u9700\u8981\u4e86\u89e3APK\u6253\u5305\u7684\u4e00\u4e9b\u7ec6\u8282\u95ee\u9898\uff0c\u5982\u7b7e\u540d\u3001\u591a\u6e20\u9053\u6253\u5305\u7b49\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u4f7f\u7528JSON\u751f\u6210APK\u9700\u8981\u638c\u63e1\u4e00\u5b9a\u7684Java\u548cAndroid\u5f00\u53d1\u6280\u672f\uff0c\u4f46\u662f\u5b83\u53ef\u4ee5\u5927\u5927\u7b80\u5316APK\u7684\u6253\u5305\u8fc7\u7a0b\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JSON\uff08JavaScript Object Notation\uff09\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684\u6570\u636e\u4ea4\u6362\u683c\u5f0f\uff0c\u5b83\u901a\u8fc7\u6613\u4e8e\u9605\u8bfb\u548c\u7f16\u5199\u7684\u6587\u672c\u683c\u5f0f\u6765\u4f20\u8f93\u6570\u636e\u3002\u5728\u79fb\u52a8\u5e94\u7528\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u901a\u5e38\u9700\u8981\u5c06\u6570\u636e\u4ee5JSON\u683c\u5f0f\u4f20\u8f93\u5230\u670d\u52a1\u5668\u7aef<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[4419,960,1775,6736,802],"class_list":["post-4893","post","type-post","status-publish","format-standard","hentry","category-appshangjia","tag-app-wordpress","tag-960","tag-1775","tag-apk","tag-802"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/4893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=4893"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/4893\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=4893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=4893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=4893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}