{"id":4646,"date":"2021-09-02T17:57:57","date_gmt":"2021-09-02T09:57:57","guid":{"rendered":"http:\/\/122.152.205.50\/wordpress\/?p=4646"},"modified":"2024-09-29T16:16:52","modified_gmt":"2024-09-29T08:16:52","slug":"apktool%e5%8e%9f%e7%94%9f%e9%80%86%e5%90%91%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646","title":{"rendered":"ApkTool(\u539f\u751f\u9006\u5411\u5de5\u5177)"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_16 counter-hierarchy counter-decimal ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-1\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#%E4%B8%80%E3%80%81%E5%B7%A5%E5%85%B7%E4%B8%8B%E8%BD%BD\" title=\"\u4e00\u3001\u5de5\u5177\u4e0b\u8f7d\">\u4e00\u3001\u5de5\u5177\u4e0b\u8f7d<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-1\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#%E4%BA%8C%E3%80%81%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8\" title=\"\u4e8c\u3001\u5de5\u5177\u4f7f\u7528\">\u4e8c\u3001\u5de5\u5177\u4f7f\u7528<\/a><ul class=\"ez-toc-list-level-2\"><li class=\"ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#1%E5%8F%8D%E7%BC%96%E8%AF%91\" title=\"1.\u53cd\u7f16\u8bd1\">1.\u53cd\u7f16\u8bd1<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#2%E4%BF%AE%E6%94%B9%E5%8F%8D%E7%BC%96%E8%AF%91%E5%87%BA%E6%9D%A5%E7%9A%84%E6%BA%90%E7%A0%81\" title=\"2.\u4fee\u6539\u53cd\u7f16\u8bd1\u51fa\u6765\u7684\u6e90\u7801\">2.\u4fee\u6539\u53cd\u7f16\u8bd1\u51fa\u6765\u7684\u6e90\u7801<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#1%EF%BC%89%E4%BF%AE%E6%94%B9%E8%B5%84%E6%BA%90%E6%96%87%E4%BB%B6\" title=\"1\uff09\u4fee\u6539\u8d44\u6e90\u6587\u4ef6\">1\uff09\u4fee\u6539\u8d44\u6e90\u6587\u4ef6<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#2%EF%BC%89%E4%BF%AE%E6%94%B9smali%E6%96%87%E4%BB%B6%E4%B9%9F%E5%B0%B1%E6%98%AFjava%E6%BA%90%E7%A0%81\" title=\"2\uff09\u4fee\u6539smali\u6587\u4ef6(\u4e5f\u5c31\u662fjava\u6e90\u7801)\">2\uff09\u4fee\u6539smali\u6587\u4ef6(\u4e5f\u5c31\u662fjava\u6e90\u7801)<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#3%E9%87%8D%E6%96%B0%E7%BC%96%E8%AF%91%E6%89%93%E5%8C%85%EF%BC%88%E5%9B%9E%E7%BC%96%E8%AF%91%EF%BC%89\" title=\"3.\u91cd\u65b0\u7f16\u8bd1\u6253\u5305\uff08\u56de\u7f16\u8bd1\uff09\">3.\u91cd\u65b0\u7f16\u8bd1\u6253\u5305\uff08\u56de\u7f16\u8bd1\uff09<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#4%E7%AD%BE%E5%90%8D\" title=\"4.\u7b7e\u540d\">4.\u7b7e\u540d<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#5%E8%BF%90%E8%A1%8C%E9%87%8D%E6%96%B0%E6%89%93%E5%8C%85%E7%9A%84APK\" title=\"5.\u8fd0\u884c\u91cd\u65b0\u6253\u5305\u7684APK\">5.\u8fd0\u884c\u91cd\u65b0\u6253\u5305\u7684APK<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-1\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4646\/#%E4%B8%89%E3%80%81%E5%B8%B8%E8%A7%81%E9%94%99%E8%AF%AF%E6%80%BB%E7%BB%93\" title=\"\u4e09\u3001\u5e38\u89c1\u9519\u8bef\u603b\u7ed3\">\u4e09\u3001\u5e38\u89c1\u9519\u8bef\u603b\u7ed3<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81%E5%B7%A5%E5%85%B7%E4%B8%8B%E8%BD%BD\"><\/span>\u4e00\u3001\u5de5\u5177\u4e0b\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u53ef\u4ee5\u53c2\u7167\u8fd9\u4e2a\u535a\u5ba2\uff1a<br \/>\n<a href=\"https:\/\/blog.csdn.net\/dreamer2020\/article\/details\/52761606\">https:\/\/blog.csdn.net\/dreamer2020\/article\/details\/52761606<\/a><br \/>\n<a href=\"https:\/\/www.jianshu.com\/p\/47a5511e17bf\">https:\/\/www.jianshu.com\/p\/47a5511e17bf<\/a><\/p>\n<p>\u4f46\u662fapktool.bat\u4e0eapktool.jar\u6211\u5efa\u8bae\u53bb\u5b98\u65b9\u4e0b\u8f7d\u6700\u65b0\u7684<br \/>\n\u9996\u9875\uff1a<a href=\"https:\/\/ibotpeaches.github.io\/Apktool\/\">https:\/\/ibotpeaches.github.io\/Apktool\/<\/a><br \/>\n\u600e\u4e48\u5b89\u88c5\uff1a<a href=\"https:\/\/ibotpeaches.github.io\/Apktool\/install\/\">https:\/\/ibotpeaches.github.io\/Apktool\/install\/<\/a><br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2021\/09\/apktool.png\" alt=\"\" \/><br \/>\n\u6587\u6863\u8bf4\u7684\u5f88\u6e05\u695a<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8\"><\/span>\u4e8c\u3001\u5de5\u5177\u4f7f\u7528<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>apktool.bat\uff0c\u6ce8\u610fwin10\u5728\u547d\u4ee4\u884c\u8fd0\u884c\u65f6\u8981\u52a0\u4e0a.\\\uff0c\u5426\u5219\u4f1a\u62a5\u9519\u5982\u4e0b\uff1a<br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2021\/09\/33-2.png\" alt=\"\" \/><br \/>\n\u5176\u5b9e\u6700\u540e\u7684\u63d0\u793a\u5df2\u7ecf\u544a\u8bc9\u6211\u6211\u4eec\u7b54\u6848\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"1%E5%8F%8D%E7%BC%96%E8%AF%91\"><\/span>1.\u53cd\u7f16\u8bd1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre><code class=\"language-bash\">     .\\apktool.bat d  -f   E:\\ApkNiXiang\\MyTool\\source\\in\\cn.wangxiao.zhuntiku_4.0_43.apk  -o E:\\ApkNiXiang\\MyTool\\source\\out<\/code><\/pre>\n<p><strong>\u53c2\u6570\u8bf4\u660e<\/strong>\uff1a<br \/>\n<strong>d<\/strong>:\u8868\u793a\u6267\u884c\u53cd\u7f16\u8bd1\u6307\u4ee4<br \/>\n<strong>-f<\/strong>:\u8f93\u51fa\u76ee\u5f55\u5b58\u5728\uff0c\u4e5f\u4f1a\u5f3a\u5236\u8986\u76d6\uff0c\u4e0d\u4f1a\u63d0\u793a\u3002<br \/>\nE:\\ApkNiXiang\\MyTool\\source\\in\\cn.wangxiao.zhuntiku_4.0_43.apk:\u8981\u53cd\u7f16\u8bd1\u7684APK<br \/>\n<strong>-o<\/strong>:\u6307\u5b9a\u8f93\u51fa\u76ee\u5f55<br \/>\nE:\\ApkNiXiang\\MyTool\\source\\out\uff1a\u53cd\u7f16\u8bd1\u540e\u7684\u6587\u4ef6\u7684\u8f93\u51fa\u6839\u76ee\u5f55<\/p>\n<p><strong>apk\u53cd\u7f16\u8bd1\u51fadex\u6587\u4ef6<\/strong><br \/>\n<code><code> apktool.bat -s d crackme02.apk <\/code><\/code><\/p>\n<h2><span class=\"ez-toc-section\" id=\"2%E4%BF%AE%E6%94%B9%E5%8F%8D%E7%BC%96%E8%AF%91%E5%87%BA%E6%9D%A5%E7%9A%84%E6%BA%90%E7%A0%81\"><\/span>2.\u4fee\u6539\u53cd\u7f16\u8bd1\u51fa\u6765\u7684\u6e90\u7801<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5176\u5b9e\u8fd9\u4e2a\u5c31\u662f\u6211\u7814\u7a76\u9006\u5411\u7f16\u7a0b\u7684\u521d\u8877\uff1a\u6709\u4e00\u4e2a\u8003\u8bd5\u8f6f\u4ef6\uff0c\u4e00\u4e9b\u8bfe\u7a0b\u9700\u8981\u6536\u8d39\uff0c\u6211\u60f3\u7740\u662f\u4e0d\u662f\u80fd\u627e\u5230\u5b83\u7684\u6f0f\u6d1e\uff0c\u7ed5\u8fc7\u652f\u4ed8\u7684\u6d41\u7a0b\uff0c\u76f4\u63a5\u89c2\u770b\u5b83\u7684\u8bfe\u7a0b\u3002<br \/>\n\u90a3\u4e48\uff0c\u5e38\u89c1\u7684\u4fee\u6539\u4f1a\u67092\u79cd\u60c5\u51b5\uff1a<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1%EF%BC%89%E4%BF%AE%E6%94%B9%E8%B5%84%E6%BA%90%E6%96%87%E4%BB%B6\"><\/span>1\uff09\u4fee\u6539\u8d44\u6e90\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u50cf\u524d\u9762\u7684\u4f7f\u7528-r\u53c2\u6570\u624d\u56de\u7f16\u8bd1\u6210\u529f\uff0c\u6240\u4ee5\u60f3\u8981\u4fee\u6539\u8d44\u6e90\u6587\u4ef6\uff0c\u5fc5\u987b\u89e3\u51b3\u4e0a\u9762\u6240\u8bf4\u5230\u7684\u95ee\u9898\u3002<br \/>\n\u4f46\u662f\u4e3a\u4e86\u6f14\u793a\uff0c\u81ea\u5df1\u6d4b\u8bd5\u7528\uff0c\u7528\u81ea\u5df1\u7684APK\uff0c\u53ef\u4ee5\u5148\u4e0d\u52a0-r\u6539\u6539\u5e03\u5c40\u7136\u540e\u56de\u7f16\u8bd1\uff0c\u770b\u770b\u662f\u5426\u751f\u6548\u3002<br \/>\n\u6211\u5c1d\u8bd5\u7740\u6539\u4e86\u4e00\u4e0bapp_name\uff0c\u4f46\u662f\u53c8\u51fa\u73b0\u4e86\u57513\u7684\u95ee\u9898\uff0c\u4e0d\u6539\u5c31\u4e0d\u4f1a\u51fa\u73b0\u3002\u5404\u79cd\u731c\u60f3\u5404\u79cd\u8bd5\uff0c\u6700\u540e\u91cd\u542f\u7535\u8111\u95ee\u9898\u624d\u89e3\u51b3\uff0c\u6240\u4ee5<strong>\u7f13\u5b58\u7edd\u5bf9\u662fapktool\u7684\u4e00\u4e2a\u5de8\u5751<\/strong>\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2%EF%BC%89%E4%BF%AE%E6%94%B9smali%E6%96%87%E4%BB%B6%E4%B9%9F%E5%B0%B1%E6%98%AFjava%E6%BA%90%E7%A0%81\"><\/span>2\uff09\u4fee\u6539smali\u6587\u4ef6(\u4e5f\u5c31\u662fjava\u6e90\u7801)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>smali\u5c5e\u4e8eJava\u865a\u62df\u673a\u7684\u6c47\u7f16\u8bed\u8a00\uff0c\u6240\u4ee5\u4fee\u6539\u6b64\u6587\u4ef6\u6709\u5f88\u5927\u7684\u96be\u5ea6\u3002<br \/>\n<a href=\"https:\/\/www.jianshu.com\/p\/47a5511e17bf\">https:\/\/www.jianshu.com\/p\/47a5511e17bf<\/a> \u8fd9\u7bc7\u535a\u5ba2\u6307\u51fa\u4e86\u4e00\u79cd\u6280\u5de7<br \/>\nclass\u6587\u4ef6\u751f\u6210dex\u6587\u4ef6\u7684\u6b65\u9aa4\uff08\u547d\u4ee4\u884c\u64cd\u4f5c\uff09\uff1a<a href=\"https:\/\/blog.csdn.net\/qq_33898263\/article\/details\/79127447\">https:\/\/blog.csdn.net\/qq_33898263\/article\/details\/79127447<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"3%E9%87%8D%E6%96%B0%E7%BC%96%E8%AF%91%E6%89%93%E5%8C%85%EF%BC%88%E5%9B%9E%E7%BC%96%E8%AF%91%EF%BC%89\"><\/span>3.\u91cd\u65b0\u7f16\u8bd1\u6253\u5305\uff08\u56de\u7f16\u8bd1\uff09<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre><code class=\"language-bash\">  .\\apktool.bat b -o E:\\ApkNiXiang\\MyTool\\source\\rebuild\\my.apk E:\\ApkNiXiang\\MyTool\\source\\out<\/code><\/pre>\n<p><strong>\u53c2\u6570\u8bf4\u660e<\/strong>\uff1a<br \/>\n<strong>d<\/strong>:\u8868\u793a\u6267\u884c\u7f16\u8bd1\u6307\u4ee4\uff0c\u5c06\u53cd\u7f16\u8bd1\u540e\u7684\u6587\u4ef6\u91cd\u65b0\u6253\u5305\u3002<br \/>\n<strong>-o<\/strong>:\u6307\u5b9a\u8f93\u51fa\u76ee\u5f55<br \/>\nE:\\ApkNiXiang\\MyTool\\source\\rebuild\uff1a\u6307\u5b9a\u6253\u5305\u540e\u7684apk\u7684\u751f\u6210\u76ee\u5f55<br \/>\nE:\\ApkNiXiang\\MyTool\\source\\out\uff1a\u53cd\u7f16\u8bd1\u540e\u7684\u6587\u4ef6\u7684\u8f93\u51fa\u6839\u76ee\u5f55<br \/>\n\u6267\u884c\u91cd\u65b0\u7f16\u8bd1\u6253\u5305\u7684\u8fc7\u7a0b\uff0c\u4e0d\u540c\u7684APK\uff0c\u4e0d\u540c\u7684\u5f00\u53d1\u4eba\u5458\u53ef\u80fd\u4f1a\u6709\u5404\u79cd\u9519\u8bef\u5bfc\u81f4\u4e0d\u6210\u529f\uff0c\u5efa\u8bae\u9996\u5148\u5c06apktool\u6587\u4ef6\u66f4\u65b0\u5230\u6700\u65b0\uff0c\u7136\u540e\u518d\u770b\u63d0\u793a\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4%E7%AD%BE%E5%90%8D\"><\/span>4.\u7b7e\u540d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u53c2\u7167 <a href=\"https:\/\/blog.csdn.net\/dreamer2020\/article\/details\/52761606\">https:\/\/blog.csdn.net\/dreamer2020\/article\/details\/52761606<\/a>\u5373\u53ef\u7b7e\u540d\u6210\u529f\uff0c\u4f46\u662f\u8981\u6ce8\u610f\u4e00\u4e9b\u95ee\u9898\uff1a<br \/>\n1\uff09win10 keytool \u51fa\u73b0\u4e71\u7801\u95ee\u9898\u89e3\u51b3\u65b9\u6cd5<br \/>\n<a href=\"https:\/\/blog.csdn.net\/dongheli\/article\/details\/84065118\">https:\/\/blog.csdn.net\/dongheli\/article\/details\/84065118<\/a><br \/>\n\u5728\u547d\u4ee4\u884c\u8fd0\u884cchcp 936<\/p>\n<h2><span class=\"ez-toc-section\" id=\"5%E8%BF%90%E8%A1%8C%E9%87%8D%E6%96%B0%E6%89%93%E5%8C%85%E7%9A%84APK\"><\/span>5.\u8fd0\u884c\u91cd\u65b0\u6253\u5305\u7684APK<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>APK\u53ef\u4ee5\u6b63\u5e38\u5b89\u88c5\uff0c\u4f46\u662f\u4f1a\u62a5\u4e00\u4e2a\u9519\u8bef\uff1a<\/p>\n<pre><code class=\"language-bash\">2019-10-22 14:17:06.203 2684-3389\/? W\/ziparchive: Unable to open &#039;\/data\/app\/cn.wangxiao.zhuntiku-WoI77OMcp7yg9WMUFO_bEQ==\/base.apk&#039;: No such file or directory\n2019-10-22 14:17:06.203 2684-3389\/? E\/ResourcesManager: failed to add asset path \/data\/app\/cn.wangxiao.zhuntiku-WoI77OMcp7yg9WMUFO_bEQ==\/base.apk\n2019-10-22 14:17:06.203 2684-3389\/? W\/PackageManager: Failure retrieving resources for cn.wangxiao.zhuntiku\n2019-10-22 14:17:06.210 19612-19612\/? D\/AndroidRuntime: Shutting down VM\n--------- beginning of crash\n2019-10-22 14:17:06.210 19612-19612\/? E\/AndroidRuntime: FATAL EXCEPTION: main\n    Process: cn.wangxiao.zhuntiku, PID: 19612\n    java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in &quot;\/data\/data\/cn.wangxiao.zhuntiku\/.jiagu\/libjiagu.so&quot;\n        at java.lang.Runtime.load0(Runtime.java:928)\n        at java.lang.System.load(System.java:1633)\n        at com.stub.StubApp.attachBaseContext(SourceFile:233)\n        at android.app.Application.attach(Application.java:231)\n        at android.app.Instrumentation.newApplication(Instrumentation.java:1125)\n        at android.app.LoadedApk.makeApplication(LoadedApk.java:1080)\n        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6181)\n        at android.app.ActivityThread.access$1200(ActivityThread.java:232)\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839)\n        at android.os.Handler.dispatchMessage(Handler.java:106)\n        at android.os.Looper.loop(Looper.java:224)\n        at android.app.ActivityThread.main(ActivityThread.java:7076)\n        at java.lang.reflect.Method.invoke(Native Method)\n        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)\n2019-10-22 14:17:06.213 1707-3764\/? W\/ActivityManager:   Force finishing activity cn.wangxiao.zhuntiku\/app.wangxiao.cn.page_module.SplashActivity<\/code><\/pre>\n<p>\u4e0a\u9762\u62a5\u8d44\u6e90\u6587\u4ef6\u7684\u9519\u8bef\uff0c\u4e0b\u9762\u62a5.so\u7684\u9519\u8bef\uff08\u597d\u50cf\u662f\u7528\u4ec0\u4e48\u52a0\u56fa\u5de5\u5177\u4e86\uff09\u3002<br \/>\n\u6211\u81ea\u5df1\u5199\u4e86\u4e2aapk\uff0c\u7136\u540e\u7b7e\u540d\uff0c\u4e0d\u7528\u7b2c3\u65b9\u52a0\u56fa\u5de5\u5177\u52a0\u56fa\u3002\u91cd\u590d\u4ee5\u4e0a\u6b65\u9aa4\u3002\u53d1\u73b0\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\uff0c\u4e5f\u6ca1\u6709\u62a5\u9519\u3002\uff08\u6240\u4ee5\u4e0d\u8981\u4e00\u4e0a\u624b\u5c31\u626c\u8a00\u8981\u7834\u8bd1\u54ea\u4e2aAPK\uff0c\u5148\u81ea\u5df1\u641e\u4e2aAPK\u8bd5\u8bd5\uff0c\u6bd5\u7adf\u81ea\u5df1\u6709\u6e90\u7801\uff0c\u53ef\u4ee5\u5bf9\u6bd4\u5b66\u4e60\u3002\uff09<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81%E5%B8%B8%E8%A7%81%E9%94%99%E8%AF%AF%E6%80%BB%E7%BB%93\"><\/span>\u4e09\u3001\u5e38\u89c1\u9519\u8bef\u603b\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<ul>\n<li>Exception in thread &quot;main&quot; org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexF<br \/>\n<a href=\"http:\/\/events.jianshu.io\/p\/71f38dcaad3a\">http:\/\/events.jianshu.io\/p\/71f38dcaad3a<\/a><\/li>\n<\/ul>\n<p><code>apktool.bat d -f [\u9700\u8981\u53cd\u7f16\u8bd1\u7684\u76ee\u6807apk\u6587\u4ef6\u540d].apk -o [\u53cd\u7f16\u8bd1\u540e\u9700\u8981\u5b58\u653e\u7684\u6587\u4ef6] \u2013only-main-classes <\/code><\/p>\n<ul>\n<li>brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 134):<br \/>\n\u89e3\u5305\u65f6\u5e26\u4e0a-r\u53c2\u6570\uff0c\u8868\u793a\u4e0d\u89e3\u7801\u8d44\u6e90\u6587\u4ef6\uff1a<br \/>\n<code>apktool -r -f d test.apk -o test<\/code><br \/>\n\u4f46\u662f\u8fd9\u6837\u5c31\u65e0\u6cd5\u4fee\u6539\u6e05\u5355\u6587\u4ef6\u6dfb\u52a0debuggable\u5c5e\u6027\u4e86<\/li>\n<\/ul>\n<p>\u89e3\u51b3apktool -r\u65e0\u6cd5\u4fee\u6539\u6e05\u5355\u6587\u4ef6\u6dfb\u52a0debuggable\u5c5e\u6027\u7684\u65b9\u6cd5\uff1a<strong><del>\u5148\u7528apktool\u4e0d\u52a0-r\u53cd\u7f16\u8bd1\uff0c\u5728\u6e05\u5355\u6587\u4ef6\u6dfb\u52a0debuggable\u5c5e\u6027\uff0c\u7136\u540e\u518d\u6253\u5305\u6210apk\u3002\u63a5\u7740\u628a\u8fd9\u4e2aapk\u7528\u52a0-r\u7684\u65b9\u5f0f\u91cd\u65b0\u53cd\u7f16\u8bd1\u3002<\/del><\/strong> \uff08\u4f46\u662f\u4e0e\u524d\u9762\u77db\u76fe\uff0c\u4e0d\u52a0-r\uff0c\u5c31\u65e0\u6cd5\u91cd\u65b0\u6253\u5305\uff09<\/p>\n<ul>\n<li>android12\u5b89\u88c5\u65f6\u62a5\u9519:<br \/>\nandroid10\u53ef\u4ee5\u6b63\u5e38\u5b89\u88c5\uff0c\u8fd0\u884c\u3002android12\u4e0d\u884c<\/p>\n<pre><code class=\"language-bash\">adb: failed to install C:\\Users\\admin\\Downloads\\tiktok_dcp.apk: Failure [-124: Failed parse during installPackageLI: Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary]<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>\u7f51\u4e0a\u6709\u4e00\u79cd\u8bf4\u6cd5\u8981\u5bf9\u9f50\uff1a<br \/>\n<a href=\"https:\/\/blog.csdn.net\/yedekuqi4712\/article\/details\/134689847\">https:\/\/blog.csdn.net\/yedekuqi4712\/article\/details\/134689847<\/a><\/p>\n<p>\u5bf9\u9f50\u4e4b\u540e\u751f\u6210\u7684apk\u8bb0\u5f97\u8981V2\u7b7e\u540d<br \/>\n\u5b9e\u6d4b\u53ef\u884c<\/p>\n<button class=\"simplefavorite-button\" data-postid=\"4646\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 \u4e00\u3001\u5de5\u5177\u4e0b\u8f7d\u4e8c\u3001\u5de5\u5177\u4f7f\u75281.\u53cd\u7f16\u8bd12.\u4fee\u6539\u53cd\u7f16\u8bd1\u51fa\u6765\u7684\u6e90\u78011\uff09\u4fee\u6539\u8d44\u6e90\u6587\u4ef62\uff09\u4fee\u6539smali\u6587 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[217],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4646"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4646"}],"version-history":[{"count":13,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4646\/revisions"}],"predecessor-version":[{"id":14822,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4646\/revisions\/14822"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4646"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}