{"id":1900,"date":"2022-11-25T18:00:41","date_gmt":"2022-11-25T10:00:41","guid":{"rendered":"https:\/\/app.applebyme.cn\/cloud\/appshangjia\/1900.html"},"modified":"2022-11-25T18:00:41","modified_gmt":"2022-11-25T10:00:41","slug":"android-12-%e5%ba%94%e7%94%a8%e9%80%82%e9%85%8d%e6%8c%87%e5%8d%974-%e8%bf%81%e7%a7%bb%e6%8c%87%e5%8d%97-%ef%bf%bc","status":"publish","type":"post","link":"https:\/\/app.applebyme.cn\/cloud\/appshangjia\/1900.html","title":{"rendered":"Android 12 \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357 \ufffc"},"content":{"rendered":"<p><a href=\"https:\/\/app.applebyme.cn\/shengcheng-101.html\">\u7f51\u9875\u52a0\u58f3\u751f\u6210app<\/a>                       <\/p>\n<p><span class=\"wpcom_tag_link\">Android 12<\/span> \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357<\/p>\n<h2 id=\"_6\">\u8fc1\u79fb\u6307\u5357<\/h2>\n<p>\u6bcf\u6b21\u53d1\u5e03\u65b0\u7684 Android \u7248\u672c\u65f6\uff0c\u90fd\u4f1a\u63a8\u51fa\u4e00\u4e9b\u5168\u65b0\u7684\u529f\u80fd\u5e76\u5f15\u5165\u4e00\u4e9b\u884c\u4e3a\u53d8\u66f4\uff0c\u76ee\u7684\u5c31\u5728\u4e8e\u63d0\u9ad8 Android \u7684\u5b9e\u7528\u6027\u3001\u5b89\u5168\u6027\u548c\u6027\u80fd\u3002\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u60a8\u7684\u5e94\u7528\u90fd\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5e76\u5b8c\u5168\u6309\u9884\u671f\u8fd0\u884c\uff1b\u800c\u5728\u5176\u4ed6\u7684\u4e00\u4e9b\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u5bf9\u5e94\u7528\u8fdb\u884c\u66f4\u65b0\u4ee5\u9002\u5e94\u8fd9\u4e9b\u5e73\u53f0\u53d8\u66f4\u3002\u4e3a\u4e86\u786e\u4fdd\u60a8\u7684\u7528\u6237\u5728Android 12\u4e0a\u83b7\u5f97\u826f\u597d\u4f53\u9a8c\uff0c\u8bf7\u6309\u7167\u5982\u4e0b\u65b9\u6cd5\uff0c\u5c06\u60a8\u7684\u5e94\u7528\u8fc1\u79fb\u5230Android 12\u3002<\/p>\n<p>\u5e38\u89c1\u7684\u8fc1\u79fb\u5305\u542b\u4e24\u4e2a\u9636\u6bb5\uff0c\u8fd9\u4e24\u4e2a\u9636\u6bb5\u53ef\u4ee5\u540c\u65f6\u8fdb\u884c\uff1a<\/p>\n<ol>\n<li>\u786e\u4fdd\u5e94\u7528\u517c\u5bb9\u6027\uff08\u5728 Android 12 \u6700\u7ec8\u53d1\u5e03\u524d\uff09<\/li>\n<li>\u9488\u5bf9\u65b0\u5e73\u53f0\u7684\u529f\u80fd\u548c API \u8c03\u6574\u5e94\u7528\uff08\u6700\u7ec8\u53d1\u5e03\u540e\u5c3d\u5feb\u8fdb\u884c\uff09<\/li>\n<\/ol>\n<h3 id=\"_6_0\">5.1 \u786e\u4fdd\u5e94\u7528\u4e0eAndroid 12\u517c\u5bb9<\/h3>\n<p>\u60a8\u901a\u5e38\u53ef\u4ee5\u8c03\u6574\u5e94\u7528\u5e76\u53d1\u5e03\u66f4\u65b0\uff0c\u800c\u65e0\u9700\u66f4\u6539\u5e94\u7528\u7684 \u200btargetSdkVersion\u200b\u3002\u60a8\u5fc5\u987b\u6d4b\u8bd5\u73b0\u6709\u5e94\u7528\u5728 Android 12 \u4e0a\u7684\u8fd0\u884c\u60c5\u51b5\uff0c\u4ee5\u786e\u4fdd\u66f4\u65b0\u5230\u6700\u65b0\u7248 Android \u7684\u7528\u6237\u83b7\u5f97\u826f\u597d\u7684\u4f53\u9a8c\u3002\u6709\u4e9b\u5e73\u53f0\u53d8\u66f4\u53ef\u80fd\u4f1a\u5f71\u54cd\u5e94\u7528\u7684\u884c\u4e3a\u65b9\u5f0f\uff0c\u5728\u5f00\u59cb\u6d4b\u8bd5\u4e4b\u524d\uff0c\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u201c\u5e94\u7528\u53d8\u66f4\uff1a\u6240\u6709\u5e94\u7528\u201d\u7ae0\u8282\u7684\u5185\u5bb9\uff0c\u5373\u4f7f\u60a8\u4e0d\u66f4\u6539\u5e94\u7528\u7684\u200btargetSdkVersion\u200b\uff0c\u8fd9\u4e9b\u53d8\u66f4\u4e5f\u53ef\u80fd\u4f1a\u5f71\u54cd\u60a8\u7684\u5e94\u7528\u3002<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124154734203.png\" alt=\"Android 12 \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357 \ufffc\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124154734203.png\" alt=\"Android 12 \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357 \ufffc\" \/><\/figure>\n<p>\u8bf7\u52a1\u5fc5\u67e5\u770b\u5e76\u6d4b\u8bd5<strong>\u975e SDK \u63a5\u53e3\u9650\u5236<\/strong>\uff0c\u60a8\u5e94\u4f7f\u7528\u5e94\u7528\u516c\u5171 SDK \u6216 NDK \u7b49\u6548\u9879\u66ff\u6362\u5e94\u7528\u4f7f\u7528\u7684\u4efb\u4f55\u53d7\u9650\u63a5\u53e3\u3002\u7559\u610f\u7a81\u51fa\u663e\u793a\u8fd9\u4e9b\u8bbf\u95ee\u6743\u9650\u7684 logcat \u8b66\u544a\uff0c\u5e76\u4f7f\u7528 \u200bStrictMode\u200b \u65b9\u6cd5 \u200bdetectNonSdkApiUsage()\u200b \u4ee5\u7f16\u7a0b\u65b9\u5f0f\u6355\u83b7\u5b83\u4eec\u3002<\/p>\n<p>\u6700\u540e\uff0c\u8bf7\u52a1\u5fc5\u5b8c\u6574<strong>\u6d4b\u8bd5\u5e94\u7528\u4e2d\u7684\u5e93\u548c SDK<\/strong>\uff0c\u786e\u4fdd\u5b83\u4eec\u5728 Android 12 \u4e0a\u6309\u9884\u671f\u8fd0\u884c\uff0c\u5e76\u9075\u5faa\u9690\u79c1\u6743\u3001\u6027\u80fd\u3001\u7528\u6237\u4f53\u9a8c\u3001\u6570\u636e\u5904\u7406\u548c\u6743\u9650\u65b9\u9762\u7684\u6700\u4f73\u505a\u6cd5\u3002\u5982\u679c\u60a8\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u5c1d\u8bd5\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u7684 SDK\uff0c\u6216\u8054\u7cfb SDK \u5f00\u53d1\u8005\u5bfb\u6c42\u5e2e\u52a9\u3002<\/p>\n<p>\u5f53\u60a8\u5b8c\u6210\u6d4b\u8bd5\u5e76\u8fdb\u884c\u66f4\u65b0\u540e\uff0c\u5efa\u8bae\u60a8\u7acb\u5373\u53d1\u5e03\u517c\u5bb9\u7684\u5e94\u7528\uff0c\u5c3d\u65e9\u5e2e\u52a9\u7528\u6237\u987a\u5229\u8fc7\u6e21<a href=\"https:\/\/app.applebyme.cn\/shengcheng-37.html\">\u7f51\u9875\u8f6c\u5e94\u7528<\/a>\u5230 Android 12\u3002<\/p>\n<h3 id=\"_6_1\">5.2 \u66f4\u65b0\u5e94\u7528\u7684targetSdkVerison\u5e76\u4f7f\u7528\u65b0API\u6784\u5efa<\/h3>\n<p>\u5f53\u60a8\u8ba1\u5212\u5168\u9762\u652f\u6301 Android 12 \u65f6\uff0c\u8bf7\u67e5\u770b\u201c\u4ee5Android 12\u4e3a\u76ee\u6807\u5e73\u53f0\u7684\u5e94\u7528\u884c\u4e3a\u53d8\u66f4\u201d\uff0c\u8fd9\u4e9b\u53d8\u66f4\u53ef\u80fd\u4f1a\u5f71\u54cd\u5e94\u7528\u7684\u529f\u80fd\uff0c\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u5927\u91cf\u5f00\u53d1\u5de5\u4f5c\uff0c\u5efa\u8bae\u60a8\u5c3d\u65e9\u4e86\u89e3\u5e76\u89e3\u51b3\u8fd9\u7c7b\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u5168\u9762\u652f\u6301Android 12\u7684\u6b65\u9aa4\uff1a<\/p>\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124154737164.png\" alt=\"Android 12 \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357 \ufffc\" \/><img decoding=\"async\" class=\"j-lazy\" src=\"https:\/\/www.yimenapp.com\/kb-yimen\/wp-content\/themes\/justnews\/themer\/assets\/images\/lazy.png\" data-original=\"https:\/\/kb.cdn.yimenapp.com\/yimen\/2022\/11\/20221124154737164.png\" alt=\"Android 12 \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357 \ufffc\" \/><\/figure>\n<p>\u7f16\u8bd1\u5e94\u7528\u5e76\u5c06\u5176\u5b89\u88c5\u5230\u642d\u8f7d Android 12 \u7684\u8bbe\u5907\u4e0a\u540e\uff0c\u8bf7\u5f00\u59cb\u6d4b\u8bd5\uff0c\u4ee5\u786e\u4fdd\u5e94\u7528\u80fd\u591f\u5728 Android 12 \u4e0a\u6b63\u5e38\u8fd0\u884c\uff0c\u5c06\u6d4b\u8bd5\u91cd\u70b9\u653e\u5728<strong>\u4ee5 Android 12 \u4e3a\u76ee\u6807\u5e73\u53f0\u7684\u5e94\u7528\u7684\u884c\u4e3a\u53d8\u66f4<\/strong>\u4e0a\u3002<\/p>\n<p>\u8bf7\u52a1\u5fc5\u67e5\u770b\u5e76<strong>\u6d4b\u8bd5\u53ef\u80fd\u9002\u7528\u7684<\/strong><strong>\u53d7\u9650\u975e SDK \u63a5\u53e3<\/strong><strong>\u7684\u4f7f\u7528<\/strong>\u3002\u7559\u610f\u7a81\u51fa\u663e\u793a\u8fd9\u4e9b\u8bbf\u95ee\u6743\u9650\u7684 logcat \u8b66\u544a\uff0c\u5e76\u4f7f\u7528 StrictMode \u65b9\u6cd5 detectNonSdkApiUsage() \u4ee5\u7f16\u7a0b\u65b9\u5f0f\u6355\u83b7\u5b83\u4eec\u3002<\/p>\n<p>\u6700\u540e\uff0c\u8bf7\u52a1\u5fc5\u5b8c\u6574<strong>\u6d4b\u8bd5\u5e94\u7528\u4e2d\u7684\u5e93\u548c SDK<\/strong>\uff0c\u786e\u4fdd\u5b83\u4eec\u5728 Android 12 \u4e0a\u6309\u9884\u671f\u8fd0\u884c\uff0c\u5e76\u9075\u5faa\u9690\u79c1\u6743\u3001\u6027\u80fd\u3001\u7528\u6237\u4f53\u9a8c\u3001\u6570\u636e\u5904\u7406\u548c\u6743\u9650\u65b9\u9762\u7684\u6700\u4f73\u505a\u6cd5\u3002\u5982\u679c\u60a8\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u5c1d\u8bd5\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u7684 SDK\uff0c\u6216\u8054\u7cfb SDK \u5f00\u53d1\u8005\u5bfb\u6c42\u5e2e\u52a9\u3002<\/p>\n<p>Android 12 \u4e3a\u5f00\u53d1\u8005\u5f15\u5165\u4e86\u4e00\u9879\u65b0\u529f\u80fd\uff1a\u517c\u5bb9\u6027\u6846\u67b6\uff0c\u53ef\u8ba9\u60a8\u66f4\u8f7b\u677e\u5730\u6d4b\u8bd5\u5e94\u7528\u7684\u9488\u5bf9\u6027\u884c\u4e3a\u53d8\u66f4\u3002\u5bf9\u4e8e\u53ef\u8c03\u8bd5\u7684\u5e94\u7528\uff0c\u5207\u6362\u5f00\u5173\u53ef\u8ba9\u60a8\uff1a<\/p>\n<ul>\n<li>\u5728\u4e0d\u5b9e\u9645\u66f4\u6539\u5e94\u7528\u7684 targetSdkVersion \u7684\u60c5\u51b5\u4e0b\u6d4b\u8bd5\u6709\u9488\u5bf9\u6027\u7684\u66f4\u6539\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5207\u6362\u5f00\u5173\u5f3a\u5236\u542f\u7528\u7279\u5b9a\u7684\u9488\u5bf9\u6027\u884c\u4e3a\u53d8\u66f4\uff0c\u4ee5\u8bc4\u4f30\u5bf9\u73b0\u6709\u5e94\u7528\u7684\u5f71\u54cd\u3002<\/li>\n<li>\u4ec5\u9488\u5bf9\u7279\u5b9a\u53d8\u66f4\u8fdb\u884c\u6d4b\u8bd5\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5207\u6362\u5f00\u5173\u505c\u7528\u9664\u8981\u6d4b\u8bd5\u7684\u53d8\u66f4\u4e4b\u5916\u7684\u6240\u6709\u9488\u5bf9\u6027\u53d8\u66f4\uff0c\u800c\u4e0d\u5fc5\u4e00\u6b21\u5904\u7406\u6240\u6709\u9488\u5bf9\u6027\u53d8\u66f4\u3002<\/li>\n<li>\u901a\u8fc7 adb \u7ba1\u7406\u5207\u6362\u5f00\u5173\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 adb \u547d\u4ee4\u5728\u81ea\u52a8\u6d4b\u8bd5\u73af\u5883\u4e2d\u542f\u7528\u548c\u505c\u7528\u53ef\u5207\u6362\u7684\u53d8\u66f4\u3002<\/li>\n<li>\u4f7f\u7528\u6807\u51c6\u53d8\u66f4 ID \u66f4\u5feb\u5730\u8fdb\u884c\u8c03\u8bd5\u3002\u6bcf\u4e2a\u53ef\u5207\u6362\u7684\u53d8\u66f4\u90fd\u5177\u6709\u552f\u4e00 ID \u548c\u540d\u79f0\uff0c\u53ef\u7528\u4e8e\u5728\u65e5\u5fd7\u8f93\u51fa\u4e2d\u5feb\u901f\u8c03\u8bd5\u6839\u672c\u539f\u56e0\u3002<\/li>\n<\/ul>\n<p>\u517c\u5bb9\u6027\u6846\u67b6\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u8bf7\u53c2\u8003\uff1a\u517c\u5bb9\u6027\u6846\u67b6\u53d8\u66f4 (Android 12)\u3002<\/p>\n<h2 id=\"_7\">6.\u91cd\u70b9\u9002\u914d\u95ee\u9898<\/h2>\n<p>\u4e3a\u4e86\u89e3\u5f53\u524d\u5e94\u7528\u5bf9Android 12 \u7248\u672c\u7684\u9002\u914d\u60c5\u51b5\uff0c\u4ee5\u4fbf\u66f4\u597d\u63a8\u8fdbMIUI Android 12\u9002\u914d\u5de5\u4f5c\uff0c\u6211\u4eec\u5df2\u5728\u5185\u90e8\u8fdb\u884c\u4e86\u81ea\u52a8\u5316\u517c\u5bb9\u6027\u6d4b\u8bd5\u3002\u6211\u4eec\u9009\u53d6\u4e86<span class=\"wpcom_tag_link\">\u5c0f\u7c73<\/span>\u5e94\u7528\u5546\u5e97Top\u7684\u5404\u7c7b\u5e94\u7528\uff0c\u5bf9\u6bcf\u4e2a\u5e94\u7528\u8fdb\u884c\u4e0b\u8f7d\u3001\u5b89\u88c5\u3001\u542f\u52a8\u3001monkey\u6d4b\u8bd5\u3001\u904d\u5386\u6d4b\u8bd5\u3001\u5378\u8f7d\uff0c\u5e76\u5728\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u68c0\u6d4b\u662f\u5426\u6709FC\/ANR\u95ee\u9898\u53d1\u751f\u3002\u6839\u636e\u6d4b\u8bd5\u7ed3\u679c\uff0c\u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u60a8\u5173\u6ce8\u4ee5\u4e0b\u95ee\u9898\u3002\u82e5\u60a8\u7684\u5e94\u7528\u5b58\u5728\u4ee5\u4e0b\u60c5\u51b5\uff0c\u8bf7\u5c3d\u5feb\u9002\u914d\u3002<\/p>\n<h3 id=\"_7_0\">6.1 \u4f7f\u7528\u4e86\u7b2c\u4e09\u65b9\u52a0\u56fa\u5de5\u5177<\/h3>\n<p>\u7531\u4e8e\u52a0\u56fa\u5de5\u5177\u548c\u7cfb\u7edf\u8026\u5408\u7d27\u5bc6\uff0c\u56e0\u6b64\u82e5\u60a8\u7684\u5e94\u7528\u4f7f\u7528\u4e86\u7b2c\u4e09\u65b9\u52a0\u56fa\u5de5\u5177\uff0c\u8bf7\u5c3d\u5feb\u66f4\u65b0\u60a8\u6240\u4f7f\u7528\u7684\u52a0\u56fa\u5de5\u5177\u4ee5\u9002\u914dAndroid 12\u3002\u6211\u4eec\u4e5f\u4f1a\u5c3d\u5feb\u63a8\u52a8\u52a0\u56fa\u5382\u5546\u9002\u914dAndroid 12\u3002<br \/>\u5728\u6211\u4eec\u7684\u6d4b\u8bd5\u4e2d\uff0c\u5b58\u5728\u517c\u5bb9\u6027\u95ee\u9898\u7684\u7b2c\u4e09\u65b9\u52a0\u56fa\u5de5\u5177\u6709\uff1a<\/p>\n<ol>\n<li>\u7231\u52a0\u5bc6\u52a0\u56fa<\/li>\n<\/ol>\n<ul>\n<li>\u6837\u4f8b\u95ee\u9898trace1<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>05-24 14:38:02.242 10186 21122 21122 E AndroidRuntime: FATAL EXCEPTION: main\n05-24 14:38:02.242 10186 21122 21122 E AndroidRuntime: Process: xxx, PID: xxx\n05-24 14:38:02.242 10186 21122 21122 E AndroidRuntime: java.lang.VerifyError: Rejecting <strong>class<\/strong> <strong>xxx<\/strong> <strong>that<\/strong> <strong>attempts<\/strong> <strong>to<\/strong> <strong>sub<\/strong>-<strong>type<\/strong> <strong>erroneous<\/strong> <strong>class<\/strong> <strong>xxx<\/strong> (<strong>declaration<\/strong> <strong>of<\/strong> <strong>xxx<\/strong> <strong>appears<\/strong> <strong>in<\/strong> \/<strong>data<\/strong>\/<strong>user<\/strong>\/0\/<strong>xxx<\/strong>\/<strong>Anonymous<\/strong>-<strong>DexFile<\/strong>@<strong>xxx<\/strong>.<strong>jar<\/strong>)\n......<\/code><\/pre>\n<ul>\n<li>\u6837\u4f8b\u95ee\u9898trace2<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>04-28 15:39:04.470 10238 24709 24709 E AndroidRuntime: FATAL EXCEPTION: main\n04-28 15:39:04.470 10238 24709 24709 E AndroidRuntime: Process: xxx, PID: xxx\n......\n04-28 15:39:04.470 10238 24709 24709 E AndroidRuntime:         at android.app.FragmentController.attachHost(FragmentController.java:89)\n......<\/code><\/pre>\n<p>2.\u6886\u6886\u52a0\u56fa<\/p>\n<ul>\n<li>\u6837\u4f8b\u95ee\u9898trace1<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\nBuild fingerprint: 'Redmi\/alioth\/alioth:11\/RKQ1.200826.002\/20.12.28:user\/release-keys'\nRevision: '0'\nABI: 'arm'\nTimestamp: 2021-01-04 09:19:50+0800\npid: 24985, tid: 25000, name: xxx  &gt;&gt;&gt; xxx &lt;&lt;&lt;\nuid: 10296\nsignal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc050ffdc\n    r0  00006199  r1  00000000  r2  0000000a  r3  00000000\n......\nbacktrace:\n......\n#06 pc 00037201  \/data\/app\/~~Sog5FGGDSipk_Lf4DCNCLw==\/xxx-Gc_aKgh9uIp2F1djVkczxg==\/lib\/arm\/libDexHelper.so (BuildId: 73f2fb76430d4168663cb4ade4cb836abf0fe502)\n#07 pc 00037e83  \/data\/app\/~~Sog5FGGDSipk_Lf4DCNCLw==\/xxx-Gc_aKgh9uIp2F1djVkczxg==\/lib\/arm\/libDexHelper.so (BuildId: 73f2fb76430d4168663cb4ade4cb836abf0fe502)\n......<\/code><\/pre>\n<ul>\n<li>\u6837\u4f8b\u95ee\u9898trace2<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>01-14 18:01:11.350 10686 31177 31177 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : Build fingerprint: 'Xiaomi\/venus\/venus:11\/RKQ1.200928.002\/V12.0.14.0.RKBCNXM:user\/release-keys'\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : Revision: '0'\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : ABI: 'arm'\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : Timestamp: 2021-01-14 18:01:11+0800\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : pid: 31144, tid: 31144, name: xxx  &gt;&gt;&gt; xxx &lt;&lt;&lt;\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : uid: 10686\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe7e15000\n01-14 18:01:11.350 10686 31177 31177 F DEBUG   :     r0  00000000  r1  e7e15000  r2  00000000  r3  e51ff004\n......\n01-14 18:01:11.571 10686 31177 31177 F DEBUG   : backtrace:\n01-14 18:01:11.571 10686 31177 31177 F DEBUG   :       #00 pc 00020406  \/data\/app\/~~B1wDWHt01dZ4xgeR9qXtEw==\/xxx-xIZ3NSdHSP5cB-tYLjQrYA==\/lib\/arm\/libDexHelper_sdk.so\n01-14 18:01:11.571 10686 31177 31177 F DEBUG   :       #01 pc 00021b47  \/data\/app\/~~B1wDWHt01dZ4xgeR9qXtEw==\/xxx-xIZ3NSdHSP5cB-tYLjQrYA==\/lib\/arm\/libDexHelper_sdk.so (pFE1FFE21C810240D8476E0376B1F05CD+18)\n01-14 18:01:11.571 10686 31177 31177 F DEBUG   :       #02 pc 0001ff5d  \/data\/app\/~~B1wDWHt01dZ4xgeR9qXtEw==\/xxx-xIZ3NSdHSP5cB-tYLjQrYA==\/lib\/arm\/libDexHelper_sdk.so (pFF03AF407F2AEDDF5A59E1985C5A14AB+360)\n......<\/code><\/pre>\n<p>3.\u4e50\u56fa\u52a0\u56fa<\/p>\n<ul>\n<li>\u6837\u4f8b\u95ee\u9898trace1<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>03-03 17:26:20.978 10241 14180 14180 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : Build fingerprint: 'Xiaomi\/grus\/grus:10\/QKQ1.190828.002\/9.12.25:user\/release-keys'\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : Revision: '0'\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : ABI: 'arm'\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : Timestamp: 2020-03-03 17:26:20+0800\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : pid: 14110, tid: 14110, name: xxx  &gt;&gt;&gt; xxx &lt;&lt;&lt;\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : uid: 10241\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : signal 6 (SIGABRT), code 0 (SI_USER), fault addr --------\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   : Abort message: 'JNI DETECTED ERROR IN APPLICATION: obj == null\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   :     in call to GetObjectField\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   :     from void com.tencent.StubShell.TxAppEntry.load(android.content.Context)'\n03-03 17:26:20.978 10241 14180 14180 F DEBUG   :     r0  00000000  r1  0000371e  r2  00000006  r3  ffbe8b30\n......\n03-03 17:26:21.204 10241 14180 14180 F DEBUG   : backtrace:\n03-03 17:26:21.204 10241 14180 14180 F DEBUG   :       #00 pc 00056dfe  \/apex\/com.android.runtime\/lib\/bionic\/libc.so (abort+166) (BuildId: b1803e2c54cf63f48664b8839ccf313b)\n......<\/code><\/pre>\n<ul>\n<li>\u6837\u4f8btrace2<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>05-29 06:32:41.237 10390  6287  6287 E AndroidRuntime: FATAL EXCEPTION: main\n05-29 06:32:41.237 10390  6287  6287 E AndroidRuntime: Process: xxx, PID: 6287\n05-29 06:32:41.237 10390  6287  6287 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx\/core\/content\/FileProvider$PathStrategy;\n05-29 06:32:41.237 10390  6287  6287 E AndroidRuntime:         at androidx.core.content.FileProvider.getPathStrategy(FileProvider.java:576)\n......\n05-29 06:32:41.237 10390  6287  6287 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: androidx.core.content.FileProvider$PathStrategy\n05-29 06:32:41.237 10390  6287  6287 E AndroidRuntime:         ... 14 more<\/code><\/pre>\n<p>4.360\u52a0\u56fa<\/p>\n<ul>\n<li>\u6837\u4f8btrace1<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>03-14 23:24:09.078 10272 15691 15691 D AndroidRuntime: Shutting down VM\n03-14 23:24:09.078 10272 15691 15691 E AndroidRuntime: FATAL EXCEPTION: main\n03-14 23:24:09.078 10272 15691 15691 E AndroidRuntime: Process: xxx, PID: 15691\n03-14 23:24:09.078 10272 15691 15691 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.stub.StubApp: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Failed resolution of: Lcom\/stub\/StubApp;\n03-14 23:24:09.078 10272 15691 15691 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6997)\n......\n03-14 23:24:09.078 10272 15691 15691 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.stub.StubApp\n03-14 23:24:09.078 10272 15691 15691 E AndroidRuntime: ... 13 more<\/code><\/pre>\n<p>5.\u767e\u5ea6\u52a0\u56fa<\/p>\n<ul>\n<li>\u6837\u4f8btrace1<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>05-28 19:38:13.575 10209  5992  5992 F DEBUG   : Build fingerprint: 'Xiaomi\/venus\/venus:12\/SPB1.210331.013\/eng.builde.20210525.073644:user\/test-keys'\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : Revision: '0'\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : ABI: 'arm'\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : Timestamp: 2021-05-28 19:38:13.445686711+0800\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : Process uptime: 0s\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : pid: 5969, tid: 5969, name: xxx  &gt;&gt;&gt; xxx &lt;&lt;&lt;\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : uid: 10209\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x62696c0e\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :     r0  62696c0e  r1  ffd08284  r2  e78d01ad  r3  dd422f24\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :     r4  d7502b90  r5  f1cb9d09  r6  ffd08284  r7  f5b9e2f0\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :     r8  f5cfdadf  r9  f5db6314  r10 00000003  r11 f5d02427\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :     ip  e655ef3c  sp  ffd08268  lr  dd419a07  pc  f1cb9d08\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   : backtrace:\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :       #00 pc 00034d08  \/apex\/com.android.runtime\/lib\/bionic\/libc.so (strcmp_a15+0) (BuildId: c95adaa6733585cf4f8f4efd331ecb2d)\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :       #01 pc 00012a05  \/data\/app\/~~eFnoVjNlNOx8V-dvL-_piw==\/com.yukexing.mobileticket-uHImw17j1Y-uuPI3t8I8Iw==\/lib\/arm\/libbaiduprotect.so\n05-28 19:38:13.575 10209  5992  5992 F DEBUG   :       #02 pc 000125a3  \/data\/app\/~~eFnoVjNlNOx8V-dvL-_piw==\/com.yukexing.mobileticket-uHImw17j1Y-uuPI3t8I8Iw==\/lib\/arm\/libbaiduprotect.so\n......<\/code><\/pre>\n<p>\u82e5\u60a8\u7684\u5e94\u7528\u4f7f\u7528\u4e86\u4ee5\u4e0a\u7684\u52a0\u56fa\u5de5\u5177\uff0c\u8bf7\u52a1\u5fc5\u5173\u6ce8\u76f8\u5e94\u5382\u5546\u7684\u9002\u914d\u8fdb\u5ea6\uff0c\u4ee5\u4fbf\u7b2c\u4e00\u65f6\u95f4\u66f4\u65b0\u52a0\u56fa\u5de5\u5177\u4ee5\u9002\u914dAndroid 12\u3002\u82e5\u60a8\u4f7f\u7528\u7684\u662f\u5176\u5b83\u52a0\u56fa\u5de5\u5177\uff0c\u4e5f\u8bf7\u5173\u6ce8\u5de5\u5177\u7684Android 12\u9002\u914d\u60c5\u51b5\u3002<\/p>\n<h3 id=\"_7_1\">6.2 \u5176\u4ed6\u95ee\u9898<\/h3>\n<p>\u5e94\u7528\u5728\u542f\u52a8\u65f6\uff0c\u521b\u5efaactivity\u62a5\u9519\u95ea\u9000\uff0c\u62a5\u9519\u4fe1\u606f\u662f&#8221;Activity {packageName\/compomentName} did not call through to super.onCreate()&#8221; \uff0c\u7ecf\u786e\u8ba4\uff0c\u8fd9\u4e2a\u95ee\u9898\u662f\u6886\u6886\u52a0\u56fa\u7684\u95ee\u9898\uff0c\u8bf7\u9047\u5230\u7684\u5f00\u53d1\u8005\u8054\u7cfb\u6886\u6886\u52a0\u56fa\u5382\u5546\uff0c\u7528\u6700\u65b0\u7684\u7248\u672c\u5347\u7ea7\u5373\u53ef\u3002<\/p>\n<pre class=\"wp-block-code\"><code>05-13 09:53:25.471 10732 15838 15838 E AndroidRuntime: FATAL EXCEPTION: main\n05-13 09:53:25.471 10732 15838 15838 E AndroidRuntime: Process: xxxx, PID: xxx\n05-13 09:53:25.471 10732 15838 15838 E AndroidRuntime: android.util.SuperNotCalledException: Activity {xxx\/xxxx} did not call through to <strong>super<\/strong>.onCreate()\n05-13 09:53:25.471 10732 15838 15838 E AndroidRuntime:         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3549)\n05-13 09:53:25.471 10732 15838 15838 E AndroidRuntime:         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3729)\n..............................................<em>\/\/\u6b64\u5904\u7701\u7565<\/em><\/code><\/pre>\n<p>\u7f16\u8f91\uff1ayimen\uff0c\u5982\u82e5\u8f6c\u8f7d\uff0c\u8bf7\u6ce8\u660e\u51fa\u5904\uff1ahttps:\/\/www.yimenapp.com\/kb-yimen\/12734\/<\/p>\n<p>\u90e8\u5206\u5185\u5bb9\u6765\u81ea\u7f51\u7edc\u6295\u7a3f\uff0c\u5982\u6709\u4fb5\u6743\u8054\u7cfb\u7acb\u5220<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android 12 \u5e94\u7528\u9002\u914d\u6307\u53574 \u8fc1\u79fb\u6307\u5357\u8fc1\u79fb\u6307\u5357\u6bcf\u6b21\u53d1\u5e03\u65b0\u7684 Android \u7248\u672c\u65f6\uff0c\u90fd\u4f1a\u63a8\u51fa\u4e00\u4e9b\u5168\u65b0\u7684\u529f\u80fd\u5e76\u5f15\u5165\u4e00\u4e9b\u884c\u4e3a\u53d8\u66f4\uff0c\u76ee\u7684\u5c31\u5728\u4e8e\u63d0\u9ad8 Android \u7684\u5b9e\u7528\u6027\u3001\u5b89\u5168\u6027\u548c\u6027\u80fd\u3002\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u60a8\u7684\u5e94\u7528\u90fd\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5e76\u5b8c\u5168\u6309\u9884\u671f\u8fd0\u884c\uff1b\u800c\u5728\u5176\u4ed6\u7684\u4e00\u4e9b\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u5bf9\u5e94\u7528\u8fdb\u884c\u66f4\u65b0\u4ee5\u9002\u5e94\u8fd9\u4e9b<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[413,1125],"class_list":["post-1900","post","type-post","status-publish","format-standard","hentry","category-appshangjia","tag-android","tag-1125"],"_links":{"self":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/1900","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/comments?post=1900"}],"version-history":[{"count":0,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/posts\/1900\/revisions"}],"wp:attachment":[{"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/media?parent=1900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/categories?post=1900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app.applebyme.cn\/cloud\/wp-json\/wp\/v2\/tags?post=1900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}