{"id":46,"date":"2020-05-12T13:44:41","date_gmt":"2020-05-12T05:44:41","guid":{"rendered":"http:\/\/122.152.205.50\/wordpress\/?p=46"},"modified":"2022-07-18T09:11:29","modified_gmt":"2022-07-18T01:11:29","slug":"jni","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=46","title":{"rendered":"JNI01-\u57fa\u7840\u5165\u95e8"},"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-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=46\/#1%E4%BB%80%E4%B9%88%E6%98%AFjni\" title=\"1.\u4ec0\u4e48\u662fjni\">1.\u4ec0\u4e48\u662fjni<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=46\/#2jni%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8\" title=\"2.jni\u6709\u4ec0\u4e48\u7528\">2.jni\u6709\u4ec0\u4e48\u7528<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=46\/#3%E5%A6%82%E4%BD%95%E5%AD%A6%E4%B9%A0jni%E6%8A%80%E6%9C%AF\" title=\"3.\u5982\u4f55\u5b66\u4e60jni\u6280\u672f\">3.\u5982\u4f55\u5b66\u4e60jni\u6280\u672f<\/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=46\/#4%E5%85%B3%E4%BA%8E%E4%B8%80%E4%BA%9B%E5%9D%91%E6%80%BB%E7%BB%93\" title=\"4.\u5173\u4e8e\u4e00\u4e9b\u5751\u603b\u7ed3\">4.\u5173\u4e8e\u4e00\u4e9b\u5751\u603b\u7ed3<\/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=46\/#1%EF%BC%89%E7%BC%96%E8%AF%91%E9%97%AE%E9%A2%98\" title=\"1\uff09\u7f16\u8bd1\u95ee\u9898\">1\uff09\u7f16\u8bd1\u95ee\u9898<\/a><ul class=\"ez-toc-list-level-4\"><li class=\"ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=46\/#1%E8%B7%A8%E5%B9%B3%E5%8F%B0%E7%BC%96%E8%AF%91%E7%9A%84%E9%97%AE%E9%A2%98\" title=\"1.\u8de8\u5e73\u53f0\u7f16\u8bd1\u7684\u95ee\u9898\">1.\u8de8\u5e73\u53f0\u7f16\u8bd1\u7684\u95ee\u9898<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=46\/#2%E4%BD%BF%E7%94%A8%E9%9D%9E%E5%B8%B8%E6%97%A7%E7%89%88%E6%9C%AC%E7%9A%84ndk%E7%BC%96%E8%AF%91%E7%9A%84%E9%97%AE%E9%A2%98\" title=\"2.\u4f7f\u7528\u975e\u5e38\u65e7\u7248\u672c\u7684ndk\u7f16\u8bd1\u7684\u95ee\u9898\">2.\u4f7f\u7528\u975e\u5e38\u65e7\u7248\u672c\u7684ndk\u7f16\u8bd1\u7684\u95ee\u9898<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=46\/#2%EF%BC%89so%E5%BC%95%E7%94%A8%E9%97%AE%E9%A2%98\" title=\"2\uff09so\u5f15\u7528\u95ee\u9898\">2\uff09so\u5f15\u7528\u95ee\u9898<\/a><\/li><\/ul><\/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=46\/#4JNI%E9%87%8C%E5%A6%82%E4%BD%95%E6%89%93%E5%8D%B0%E6%97%A5%E5%BF%97\" title=\"4.JNI\u91cc\u5982\u4f55\u6253\u5370\u65e5\u5fd7\">4.JNI\u91cc\u5982\u4f55\u6253\u5370\u65e5\u5fd7<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1%E4%BB%80%E4%B9%88%E6%98%AFjni\"><\/span><strong>1.\u4ec0\u4e48\u662fjni<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>jni:java native interface\uff0cjava\u672c\u5730\u5f00\u53d1\u63a5\u53e3\uff0c\u662fJAVA\u548cC\u4e92\u76f8\u8c03\u7528\u7684\u6865\u6881\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2jni%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8\"><\/span><strong>2.jni\u6709\u4ec0\u4e48\u7528<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>1)\u786c\u4ef6\u64cd\u4f5c \uff1ajava\u8bed\u8a00\u4e0d\u53ef\u4ee5\u76f4\u63a5\u64cd\u4f5c\u786c\u4ef6,\u4f46\u662fC\u53ef\u4ee5\uff0c\u901a\u8fc7JNI\uff0cJAVA\u4e5f\u5c31\u80fd\u64cd\u4f5c\u786c\u4ef6\u3002 JAVA\u64cd\u4f5c\u786c\u4ef6\u7684API\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u7531C\u548cC++\u53bb\u5199\u7684\uff0c\u7136\u540e\u7531JNI\u5b9e\u73b0JAVA\u53bb\u8c03\u7528\u3002\u6bd4\u5982android\u7cfb\u7edf\u6846\u67b6\uff0c\u5e95\u5c42\u662flibc\uff0c\u7136\u540e\u4e0a\u5c42\u5c31\u662fframework\u548c\u5e94\u7528\u5c42\uff0clibc\u5c42\u548c\u4e0a\u5c42\u5c31\u7528\u5230\u4e86JNI\u6280\u672f\u3002<br \/>\n2)\u7b97\u6cd5\u590d\u7528\uff1a\u7528C\u5199\u7b97\u6cd5\u7136\u540e\u7f16\u8bd1\u6210so\u5e93\uff0c\u7136\u540ejava\u6765\u8c03\u7528\u3002\u6bd4\u5982\u8457\u540d\u7684\u97f3\u89c6\u9891\u7f16\u89e3\u7801\u5e93FFmpeg\u5c31\u662f \u7528C\u5199\u7684\uff0cjava\u5982\u679c\u8981\u4f7f\u7528\u8fd9\u4e2a\u5e93\uff0c\u5c31\u5f97\u5c06FFmpeg\u7f16\u8bd1\u6210so\u5e93\u7136\u540e\u8c03\u7528\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"3%E5%A6%82%E4%BD%95%E5%AD%A6%E4%B9%A0jni%E6%8A%80%E6%9C%AF\"><\/span>3.\u5982\u4f55\u5b66\u4e60jni\u6280\u672f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>1)\u5b66\u4e60\u8def\u7ebf\uff1a\u719f\u6089C\u8bed\u8a00\u3001Java\u8bed\u8a00\u3001Android\u5f00\u53d1\u3002<\/p>\n<p>\u8fd9\u91cc\u516c\u5e03\u4e00\u4e0b\u6211\u4ee5\u524d\u5199\u7684JNI\u6280\u672f\u57f9\u8bad\u7684\u624b\u518c\u7684\u767e\u5ea6\u7f51\u76d8\u8fde\u63a5\uff0c\u624b\u628a\u624b\u6559\u4f60\u642d\u5efa\u73af\u5883\uff0c\u5f00\u53d1\u7b2c\u4e00\u4e2ajni demo\uff1a<br \/>\n\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1DsbioKZ0x554fo8oiWeoAw\">https:\/\/pan.baidu.com\/s\/1DsbioKZ0x554fo8oiWeoAw<\/a><br \/>\n\u63d0\u53d6\u7801\uff1aatzi<\/p>\n<p>\u4e0a\u9762\u7684\u624b\u518c\u6db5\u76d6NDK\u73af\u5883\u642d\u5efa\u3001JNI Demo\u7f16\u5199\u3001so\u5e93\u6253\u5305\u7b49\u8be6\u7ec6\u6d41\u7a0b<\/p>\n<p>#\u8865\u5145<\/p>\n<p>Mac\u4e0b AndroidStudio \u914d\u7f6ejavah \u547d\u4ee4\uff1a<a href=\"https:\/\/blog.csdn.net\/lw0328\/article\/details\/78754682\">https:\/\/blog.csdn.net\/lw0328\/article\/details\/78754682<\/a><\/p>\n<p>android studio 4.1 javah tools\u914d\u7f6e\u4e0d\u4e00\u6837\uff1a<a href=\"https:\/\/blog.csdn.net\/qq_25421571\/article\/details\/115094901\">https:\/\/blog.csdn.net\/qq_25421571\/article\/details\/115094901<\/a> $ModuleFileDir$\u5e94\u53d8\u6210$SourcepathEntry$<\/p>\n<p>2) \u5b66\u4e60\u7684\u6838\u5fc3<br \/>\n\u719f\u7ec3\u638c\u63e1C\u8bed\u8a00\u3001Java\u8bed\u8a00\u3001JNI\u8bed\u6cd5<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4%E5%85%B3%E4%BA%8E%E4%B8%80%E4%BA%9B%E5%9D%91%E6%80%BB%E7%BB%93\"><\/span>4.\u5173\u4e8e\u4e00\u4e9b\u5751\u603b\u7ed3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"1%EF%BC%89%E7%BC%96%E8%AF%91%E9%97%AE%E9%A2%98\"><\/span>1\uff09\u7f16\u8bd1\u95ee\u9898<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"1%E8%B7%A8%E5%B9%B3%E5%8F%B0%E7%BC%96%E8%AF%91%E7%9A%84%E9%97%AE%E9%A2%98\"><\/span>1.\u8de8\u5e73\u53f0\u7f16\u8bd1\u7684\u95ee\u9898<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u4e00\u5b9a\u8981\u5728\u54ea\u4e2a\u5e73\u53f0\uff08\u64cd\u4f5c\u7cfb\u7edf32\u4f4d\u8fd8\u662f64\u4f4d\uff09\u4e0a\u4f7f\u7528\uff0c\u5c31\u5728\u54ea\u4e2a\u5e73\u53f0\uff08\u64cd\u4f5c\u7cfb\u7edf\uff09\u4e0a\u7f16\u8bd1\u3002\u6bd4\u5982CentOS\u4e0a\u7f16\u8bd1\u7684so\u5e93\u4e0d\u80fd\u5728Ubantu\u4e0a\u4f7f\u7528\uff0c\u53ef\u80fd\u4f1a\u62a5\u9519\u3002<\/p>\n<p><strong>is 32-bit instead of 64-bit\u52a8\u6001\u5e93\u9519\u8bef\u5206\u6790<\/strong><\/p>\n<p><a href=\"https:\/\/blog.csdn.net\/hnkwei1213\/article\/details\/53843460\">https:\/\/blog.csdn.net\/hnkwei1213\/article\/details\/53843460<\/a><\/p>\n<p>\u5982\u4f55\u5224\u65adandroid\u624b\u673a\u662f32\u4f4d\u8fd8\u662f64\u4f4d\uff1f<\/p>\n<p><a href=\"https:\/\/blog.csdn.net\/qq_37858386\/article\/details\/78905342\">https:\/\/blog.csdn.net\/qq_37858386\/article\/details\/78905342<\/a><\/p>\n<h4><span class=\"ez-toc-section\" id=\"2%E4%BD%BF%E7%94%A8%E9%9D%9E%E5%B8%B8%E6%97%A7%E7%89%88%E6%9C%AC%E7%9A%84ndk%E7%BC%96%E8%AF%91%E7%9A%84%E9%97%AE%E9%A2%98\"><\/span>2.\u4f7f\u7528\u975e\u5e38\u65e7\u7248\u672c\u7684ndk\u7f16\u8bd1\u7684\u95ee\u9898<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u516c\u53f8\u6709\u4e2a\u8981\u6c42\u4f7f\u7528\uff0c\u4f7f\u7528ndkr9d\u53bb\u7f16\u8bd1so\u5e93\uff0c\u7136\u540e\u7ed9android4.4 5.1\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\u4f7f\u7528\u3002<\/p>\n<p>\u6211\u7684Windows AndroidStudio\u662f\u6700\u65b0\u76843.5.X\u7248\u672c\uff0c\u7136\u540e\u4e0b\u8f7d\u597dwindows\u7248\u672c\u7684<br \/>\nndkr9d\uff0c\u901a\u8fc7\u7ed1\u5b9a\u4e00\u4e0bndk\u8def\u5f84\uff1a<\/p>\n<p><img src=\"http:\/\/122.152.205.50\/wordpress_it\/wp-content\/uploads\/2020\/07\/image.png\" alt=\"img\" \/><\/p>\n<p>ndk-bundle\u662f\u96c6\u6210\u4e86\u5404\u4e2andk\u7248\u672c\u7684\u96c6\u5408\u4f53\uff0c\u8fd9\u91cc\u6539\u6210ndkr9d\u3002\u4e0d\u51fa\u610f\u5916\u4f1a\u62a5\u4e0b\u9762\u7684\u9519\u8bef\uff1a<\/p>\n<p>Parameter specified as non-null is null: method com.android.build.gradle.internal.cxx.configure.JsonGenerationVariantConfiguration., parameter ndkVersion<\/p>\n<p>\u6309\u7167https:\/\/forum.cocos.org\/t\/android-studio\/70658\u7684\u8bf4\u6cd5\uff0c\u6211\u5f00\u59cb\u8bef\u5165\u6b67\u9014\uff1a\u6539\u5b8c\u540e\u6309\u7167as\u63d0\u793a\u53c8\u5c06cmake\u75313.6\u5347\u7ea7\u52303.10\uff0c\u7136\u540e\u6253\u5305armbi-v7a\u62a5\u65b0\u7684\u9519\u8bef\uff1a<\/p>\n<p>No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android<\/p>\n<p>\u7136\u540e\u6309\u7167https:\/\/blog.csdn.net\/hewenlee\/article\/details\/83780990\u63d0\u793a\u4e0b\u8f7d mips64el-linux-android \u653e\u5230ndk\u7684toolchains\u4e0b\u53c8\u4f1a\u62a5\u65b0\u7684\u9519\u8bef\uff0c\u6e90\u6e90\u4e0d\u65ad.....<\/p>\n<p>\u6700\u540e\uff0c\u4e0d\u65ad\u7684\u5c1d\u8bd5\u624d\u627e\u5230\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>1\uff09ndkr9d\u4f9d\u7136\u6b63\u5e38\u7ed1\u5b9a\u5230ndk\u7684\u8def\u5f84<br \/>\n2\uff09\u9879\u76ee\u7684gradle.properties\u914d\u7f6eandroid.useDeprecateNdk=true<br \/>\n3\uff09\u628aapp\u4e0b\u7684build.gradle\u7684externalNativeBuild\u6ce8\u91ca\u6389\uff0c\u4ed6\u4f1a\u7ee7\u7eed\u6307\u5b9acmake\u7684\u7248\u672c\u4e3a3.10.2\uff0c\u800c\u5b9e\u9645\u4e0andkr9d\u5bf9\u5e94\u7684cmake\u4e0d\u80fd\u8fd9\u4e48\u9ad8\u3002\uff08\u5f88\u591a\u535a\u5ba2\u4e0a\u90fd\u53ea\u6709\u7b2c2\uff09\u6b65\uff0c\u4f9d\u7136\u4f1a\u6709\u95ee\u9898\u3002\uff09<\/p>\n<p><img src=\"http:\/\/122.152.205.50\/wordpress_it\/wp-content\/uploads\/2020\/07\/image-1.png\" alt=\"img\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2%EF%BC%89so%E5%BC%95%E7%94%A8%E9%97%AE%E9%A2%98\"><\/span>2\uff09so\u5f15\u7528\u95ee\u9898<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5c06 so \u5e93\u7684\u5de5\u5177\u7c7b\u62f7\u8d1d\u5230\u5f53\u524d\u9879\u76ee\uff0c\u6ce8\u610f\u5de5\u5177\u7c7b\u7684\u5305\u540d\u4e0d\u80fd\u53d8\uff0c\u5fc5\u987b\u548c so \u5e93\u6e90\u7801\u4e2d\u7684\u5305 \u540d\u4fdd\u6301\u4e00\u81f4\u3002 \u8fd9\u4e2a\uff0c\u4e0a\u9762\u7684\u624b\u518c\u6211\u5df2\u7ecf\u8bf4\u660e\u5341\u5206\u6e05\u695a\u3002<\/p>\n<p>\u5982\u679c\u5305\u540d\u4e0d\u4e00\u81f4\uff0c\u5c31\u4f1a\u62a5\u7c7b\u4f3c\u4e0b\u9762\u7684\u9519\uff1a<\/p>\n<pre><code>No implementation found for java.io.FileDescriptor method_xx(java.lang.String, int, int) (tried Java_com_juli_doneserialport_serial_SerialPort_open and Java_com_juli_doneserialport_serial_SerialPort_method_xx__Ljava_lang_String_2II)<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4JNI%E9%87%8C%E5%A6%82%E4%BD%95%E6%89%93%E5%8D%B0%E6%97%A5%E5%BF%97\"><\/span>4.JNI\u91cc\u5982\u4f55\u6253\u5370\u65e5\u5fd7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/www.cnblogs.com\/kebibuluan\/p\/7065213.html\">https:\/\/www.cnblogs.com\/kebibuluan\/p\/7065213.html<\/a><\/p>\n<p>1.\u4fee\u6539jni\u5de5\u7a0b\u7684gradle<\/p>\n<p><img src=\"http:\/\/122.152.205.50\/wordpress_it\/wp-content\/uploads\/2020\/06\/%E5%9B%BE%E7%89%871.png\" alt=\"img\" \/><\/p>\n<p>2.\u5f15\u5165\u5934\u6587\u4ef6\u5e76\u5b9a\u4e49\u76f8\u5e94\u7684\u5b8f<\/p>\n<p>\u6700\u597d\u53ef\u4ee5\u5c06\u4e0b\u9762\u7684\u4ee3\u7801\u518d\u5c01\u88c5\u6210\u4e00\u4e2a.h\u6587\u4ef6\uff0c\u7136\u540e\u5f15\u7528\u5c31\u884c\u3002<\/p>\n<pre><code> \/\/ \u5f15\u5165log\u5934\u6587\u4ef6\n        #include  \n        \/\/ log\u6807\u7b7e\n        #define  TAG    &quot;JNI\u5c42\u65e5\u5fd711111111&quot;\n\n        \/\/ \u5b9a\u4e49info\u4fe1\u606f\n        #define LOGI(...) __android_log_print(ANDROID_LOG_INFO,TAG,__VA_ARGS__)\n        \/\/ \u5b9a\u4e49debug\u4fe1\u606f\n        #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__)\n        \/\/ \u5b9a\u4e49error\u4fe1\u606f\n        #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,TAG,__VA_ARGS__)<\/code><\/pre>\n<p>3.\u6309\u7167C\u8bed\u8a00\u6253\u5370\u7684\u65b9\u6cd5\u6253\u5370\u5373\u53ef<\/p>\n<pre><code class=\"language-c\">LOGE(&quot;lenResult:%s&quot;, &quot;XXXXXXXXXXXXXXXXXXXXXXXX&quot;);<\/code><\/pre>\n<button class=\"simplefavorite-button\" data-postid=\"46\" 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 1.\u4ec0\u4e48\u662fjni2.jni\u6709\u4ec0\u4e48\u75283.\u5982\u4f55\u5b66\u4e60jni\u6280\u672f4.\u5173\u4e8e\u4e00\u4e9b\u5751\u603b\u7ed31\uff09\u7f16\u8bd1\u95ee\u98981.\u8de8\u5e73 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/46"}],"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=46"}],"version-history":[{"count":25,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":6795,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/6795"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}