{"id":523,"date":"2013-02-27T22:27:46","date_gmt":"2013-02-27T14:27:46","guid":{"rendered":"http:\/\/guoh.ai\/lifelog\/?p=523"},"modified":"2013-06-24T15:06:34","modified_gmt":"2013-06-24T07:06:34","slug":"run-dalvik-on-x86","status":"publish","type":"post","link":"https:\/\/guoh.ai\/lifelog\/2013\/02\/run-dalvik-on-x86\/","title":{"rendered":"Run Dalvik on X86"},"content":{"rendered":"<div class=\"gfmr-markdown-container\"><div class=\"gfmr-markdown-source\" style=\"display: none;\">&lt;p&gt;&lt;a href=&quot;http:\/\/guoh.ai\/lifelog\/2011\/05\/compile-openjdk-by-yourself\/&quot; target=&quot;_blank&quot;&gt;\u5f88\u65e9\u4ee5\u524d&lt;\/a&gt;\u5c31\u60f3\u8fc7\u81ea\u5df1\u7f16\u8bd1\u4e00\u4e2aX86\u4e0a\u7684&lt;a href=&quot;http:\/\/en.wikipedia.org\/wiki\/Dalvik_(software)&quot; target=&quot;_blank&quot;&gt;Dalvik&lt;\/a&gt;\u51fa\u6765\u73a9\u73a9\uff0c\u5c1d\u8bd5\u4e4b\u540e\u6ca1\u6709\u6210\u529f\uff0c\u5c31\u653e\u4e0b\u4e86\uff0c\u6700\u8fd1\u51e0\u4e2a\u6708\u6765\u53c8\u60f3\u8d77\u6765\u641e\u641e\uff0c\u6309\u7167\/PATH\/TO\/AOSP\/dalvik\/docs\/hello-world.html\u6765\u7f16\u8bd1dalvikvm\uff0c\u521b\u5efadex\u6863\u6848\uff0c\u8bbe\u7f6e\u5404\u79cd\u73af\u5883\u53d8\u91cf\u4e4b\u540e\uff0c\u8fd0\u884c\u51fa\u73b0\u9519\u8bef&lt;\/p&gt;\n&lt;pre class=&quot;brush: bash; title: ; notranslate&quot; title=&quot;&quot;&gt;E\/dalvikvm(10105): execv &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/bin\/dexopt&#039; failed: No such file or directory\r\nW\/dalvikvm(10102): DexOpt: --- END &#039;Foo.jar&#039; --- status=0x0100, process failed\r\nE\/dalvikvm(10102): Unable to extract+optimize DEX from &#039;Foo.jar&#039;\r\nDalvik VM unable to locate class &#039;Foo&#039;\r\nW\/dalvikvm(10102): threadid=1: thread exiting with uncaught exception (group=0xf5a1d9c8)\r\njava.lang.NoClassDefFoundError: Foo\r\n    at dalvik.system.NativeStart.main(Native Method)\r\nCaused by: java.lang.ClassNotFoundException: Didn&#039;t find class &quot;Foo&quot; on path: DexPathList&#x5B;&#x5B;zip file &quot;Foo.jar&quot;],nativeLibraryDirectories=&#x5B;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/lib]]\r\n    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)\r\n    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)\r\n    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)\r\n    ... 1 more&lt;\/pre&gt;\n&lt;p&gt;\u5728\u7f51\u7edc\u4e0a\u641c\u4e86\u5f88\u4e45\u6ca1\u6709\u51fa\u73b0\u8fc7\u8fd9\u79cd\u9519\u8bef\u73b0\u8c61\u7684\uff0c\u5b9e\u5728\u65e0\u8d56\u63d0\u4e86\u4e2a&lt;a href=&quot;http:\/\/stackoverflow.com\/questions\/14951374\/dalvikubuntu-x64didnt-find-class-foo-on-path-dexpathlist\/&quot; target=&quot;_blank&quot;&gt;\u95ee\u9898&lt;\/a&gt;&lt;br \/&gt;\n\u5728StackOverflow\u4e0a\uff0c\u4e00\u4e2a\u661f\u671f\u8fc7\u53bb\u4e86\uff0c\u8fd8\u662f\u65e0\u4eba\u95ee\u6d25&lt;\/p&gt;\n&lt;p&gt;\u6700\u7ec8\u8bf7\u6559\u4e86\u4e00\u4e2a\u505aDalvik\u76f8\u5173\u5de5\u4f5c\u7684\u540c\u4e8b\uff0c\u5728\u4ed6\u7684\u5e2e\u52a9\u4e4b\u4e0b\u89e3\u51b3\u4e86\u95ee\u9898&lt;\/p&gt;\n&lt;p&gt;\u539f\u6765\u662f\u6211\u7684ANDROID_ROOT\u5199\u7684\u6709\u95ee\u9898\uff0c\u53ef\u80fd\u662f\u6211\u6ca1\u6709\u7406\u89e3\u597d\/PATH\/TO\/AOSP\/dalvik\/docs\/hello-world.html\u7684\u610f\u601d\uff0c\u4e5f\u6216\u8005\u662f\u5b83\u7684\u5185\u5bb9\u6bd4\u8f83\u9648\u65e7\u3002&lt;br \/&gt;\n\u540e\u6765\u6539\u4e86\u5c31\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u4e86\uff0c\u6211\u6539\u8fc7\u7684rund\u8bf7\u53c2\u89c1&lt;a href=&quot;https:\/\/gist.github.com\/guohai\/5048153&quot; target=&quot;_blank&quot;&gt;https:\/\/gist.github.com\/guohai\/5048153&lt;\/a&gt;&lt;\/p&gt;\n&lt;p&gt;\u73b0\u5728\u63cf\u8ff0\u4e0b\u4e3b\u8981\u8fc7\u7a0b&lt;br \/&gt;\n1. Download AOSP source code&lt;\/p&gt;\n&lt;p&gt;2. Compile dalvik vm on Ubuntu 11.10 X64&lt;\/p&gt;\n&lt;pre class=&quot;brush: bash; title: ; notranslate&quot; title=&quot;&quot;&gt;source build\/envsetup.sh\r\nlunch 2 # choose full_x86-eng, because we want to run it on X86 directly\r\nmake dalvikvm core dexopt ext framework android.policy services&lt;\/pre&gt;\n&lt;p&gt;3. Compile Java code and package it to dex.&lt;\/p&gt;\n&lt;p&gt;4. Run &#038; enjoy it.&lt;\/p&gt;\n&lt;pre class=&quot;brush: bash; title: ; notranslate&quot; title=&quot;&quot;&gt;guohai@KNIGHT:~\/dev\/src\/android\/git\/aosp$ .\/rund -cp Foo.jar Foo\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/ext.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/framework.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/android.policy.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/services.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: source file mod time mismatch (4244043d vs 425baf6a)\r\nHello, Dalvik!&lt;\/pre&gt;\n&lt;p&gt;\u4e00\u4e9b\u5bf9\u6211\u6709\u4e9b\u5e2e\u52a9\u7684\u8d44\u6599&lt;br \/&gt;\nhttp:\/\/stackoverflow.com\/questions\/6146983\/helloworld-cannot-run-under-dalvikvm&lt;br \/&gt;\nhttp:\/\/stackoverflow.com\/questions\/11773506\/how-to-launch-jar-with-exec-app-process-on-android-ics&lt;br \/&gt;\nhttp:\/\/blog.csdn.net\/johnnynuaa\/article\/details\/6543425&lt;\/p&gt;\n&lt;p&gt;\u9644\u4e0a\u81ea\u5df1\u65e0\u6cd5\u8fd0\u884c\u7684\u542f\u52a8\u811a\u672c&lt;\/p&gt;\n&lt;pre class=&quot;brush: bash; title: ; notranslate&quot; title=&quot;&quot;&gt;#!\/bin\/sh\r\n\r\n# base directory, at top of source tree; replace with absolute path\r\nbase=`pwd`\r\n\r\n# configure root dir of interesting stuff\r\nroot=$base\/out\/target\/product\/generic_x86\/system\r\nexport ANDROID_ROOT=$root #\u4e3a\u4ec0\u4e48\u8fd9\u91cc\u4e0d\u80fd\u6307\u5230target\u7684\u8def\u5f84\uff1f\r\n\r\nexport LD_LIBRARY_PATH=$root\/lib:$LD_LIBRARY_PATH\r\n\r\n# configure bootclasspath\r\nbootpath=$root\/framework\r\nexport BOOTCLASSPATH=$bootpath\/core.jar:$bootpath\/ext.jar:$bootpath\/framework.jar:$bootpath\/android.policy.jar:$bootpath\/services.jar\r\n\r\n# this is where we create the dalvik-cache directory; make sure it exists\r\nexport ANDROID_DATA=\/tmp\/dalvik_$USER\r\nmkdir -p $ANDROID_DATA\/dalvik-cache\r\n\r\nexec $base\/out\/host\/linux-x86\/bin\/dalvikvm -Xdexopt:none $@\r\n&lt;\/pre&gt;\n<\/div><div class=\"gfmr-markdown-rendered\"><p><a href=\"http:\/\/guoh.ai\/lifelog\/2011\/05\/compile-openjdk-by-yourself\/\" target=\"_blank\">\u5f88\u65e9\u4ee5\u524d<\/a>\u5c31\u60f3\u8fc7\u81ea\u5df1\u7f16\u8bd1\u4e00\u4e2aX86\u4e0a\u7684<a href=\"http:\/\/en.wikipedia.org\/wiki\/Dalvik_(software)\" target=\"_blank\">Dalvik<\/a>\u51fa\u6765\u73a9\u73a9\uff0c\u5c1d\u8bd5\u4e4b\u540e\u6ca1\u6709\u6210\u529f\uff0c\u5c31\u653e\u4e0b\u4e86\uff0c\u6700\u8fd1\u51e0\u4e2a\u6708\u6765\u53c8\u60f3\u8d77\u6765\u641e\u641e\uff0c\u6309\u7167\/PATH\/TO\/AOSP\/dalvik\/docs\/hello-world.html\u6765\u7f16\u8bd1dalvikvm\uff0c\u521b\u5efadex\u6863\u6848\uff0c\u8bbe\u7f6e\u5404\u79cd\u73af\u5883\u53d8\u91cf\u4e4b\u540e\uff0c\u8fd0\u884c\u51fa\u73b0\u9519\u8bef<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">E\/dalvikvm(10105): execv &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/bin\/dexopt&#039; failed: No such file or directory\r\nW\/dalvikvm(10102): DexOpt: --- END &#039;Foo.jar&#039; --- status=0x0100, process failed\r\nE\/dalvikvm(10102): Unable to extract+optimize DEX from &#039;Foo.jar&#039;\r\nDalvik VM unable to locate class &#039;Foo&#039;\r\nW\/dalvikvm(10102): threadid=1: thread exiting with uncaught exception (group=0xf5a1d9c8)\r\njava.lang.NoClassDefFoundError: Foo\r\n    at dalvik.system.NativeStart.main(Native Method)\r\nCaused by: java.lang.ClassNotFoundException: Didn&#039;t find class &quot;Foo&quot; on path: DexPathList&#x5B;&#x5B;zip file &quot;Foo.jar&quot;],nativeLibraryDirectories=&#x5B;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/lib]]\r\n    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)\r\n    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)\r\n    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)\r\n    ... 1 more<\/pre>\n<p>\u5728\u7f51\u7edc\u4e0a\u641c\u4e86\u5f88\u4e45\u6ca1\u6709\u51fa\u73b0\u8fc7\u8fd9\u79cd\u9519\u8bef\u73b0\u8c61\u7684\uff0c\u5b9e\u5728\u65e0\u8d56\u63d0\u4e86\u4e2a<a href=\"http:\/\/stackoverflow.com\/questions\/14951374\/dalvikubuntu-x64didnt-find-class-foo-on-path-dexpathlist\/\" target=\"_blank\">\u95ee\u9898<\/a><br \/>\n\u5728StackOverflow\u4e0a\uff0c\u4e00\u4e2a\u661f\u671f\u8fc7\u53bb\u4e86\uff0c\u8fd8\u662f\u65e0\u4eba\u95ee\u6d25<\/p>\n<p>\u6700\u7ec8\u8bf7\u6559\u4e86\u4e00\u4e2a\u505aDalvik\u76f8\u5173\u5de5\u4f5c\u7684\u540c\u4e8b\uff0c\u5728\u4ed6\u7684\u5e2e\u52a9\u4e4b\u4e0b\u89e3\u51b3\u4e86\u95ee\u9898<\/p>\n<p>\u539f\u6765\u662f\u6211\u7684ANDROID_ROOT\u5199\u7684\u6709\u95ee\u9898\uff0c\u53ef\u80fd\u662f\u6211\u6ca1\u6709\u7406\u89e3\u597d\/PATH\/TO\/AOSP\/dalvik\/docs\/hello-world.html\u7684\u610f\u601d\uff0c\u4e5f\u6216\u8005\u662f\u5b83\u7684\u5185\u5bb9\u6bd4\u8f83\u9648\u65e7\u3002<br \/>\n\u540e\u6765\u6539\u4e86\u5c31\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u4e86\uff0c\u6211\u6539\u8fc7\u7684rund\u8bf7\u53c2\u89c1<a href=\"https:\/\/gist.github.com\/guohai\/5048153\" target=\"_blank\">https:\/\/gist.github.com\/guohai\/5048153<\/a><\/p>\n<p>\u73b0\u5728\u63cf\u8ff0\u4e0b\u4e3b\u8981\u8fc7\u7a0b<br \/>\n1. Download AOSP source code<\/p>\n<p>2. Compile dalvik vm on Ubuntu 11.10 X64<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">source build\/envsetup.sh\r\nlunch 2 # choose full_x86-eng, because we want to run it on X86 directly\r\nmake dalvikvm core dexopt ext framework android.policy services<\/pre>\n<p>3. Compile Java code and package it to dex.<\/p>\n<p>4. Run &#038; enjoy it.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">guohai@KNIGHT:~\/dev\/src\/android\/git\/aosp$ .\/rund -cp Foo.jar Foo\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/ext.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/framework.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/android.policy.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: mismatch dep name: &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/core.odex&#039; vs. &#039;\/system\/framework\/core.odex&#039;\r\nE\/dalvikvm( 3473): \/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/framework\/services.jar odex has stale dependencies\r\nI\/dalvikvm( 3473): Zip is good, but no classes.dex inside, and no valid .odex file in the same directory\r\nI\/dalvikvm( 3473): DexOpt: source file mod time mismatch (4244043d vs 425baf6a)\r\nHello, Dalvik!<\/pre>\n<p>\u4e00\u4e9b\u5bf9\u6211\u6709\u4e9b\u5e2e\u52a9\u7684\u8d44\u6599<br \/>\nhttp:\/\/stackoverflow.com\/questions\/6146983\/helloworld-cannot-run-under-dalvikvm<br \/>\nhttp:\/\/stackoverflow.com\/questions\/11773506\/how-to-launch-jar-with-exec-app-process-on-android-ics<br \/>\nhttp:\/\/blog.csdn.net\/johnnynuaa\/article\/details\/6543425<\/p>\n<p>\u9644\u4e0a\u81ea\u5df1\u65e0\u6cd5\u8fd0\u884c\u7684\u542f\u52a8\u811a\u672c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">#!\/bin\/sh\r\n\r\n# base directory, at top of source tree; replace with absolute path\r\nbase=`pwd`\r\n\r\n# configure root dir of interesting stuff\r\nroot=$base\/out\/target\/product\/generic_x86\/system\r\nexport ANDROID_ROOT=$root #\u4e3a\u4ec0\u4e48\u8fd9\u91cc\u4e0d\u80fd\u6307\u5230target\u7684\u8def\u5f84\uff1f\r\n\r\nexport LD_LIBRARY_PATH=$root\/lib:$LD_LIBRARY_PATH\r\n\r\n# configure bootclasspath\r\nbootpath=$root\/framework\r\nexport BOOTCLASSPATH=$bootpath\/core.jar:$bootpath\/ext.jar:$bootpath\/framework.jar:$bootpath\/android.policy.jar:$bootpath\/services.jar\r\n\r\n# this is where we create the dalvik-cache directory; make sure it exists\r\nexport ANDROID_DATA=\/tmp\/dalvik_$USER\r\nmkdir -p $ANDROID_DATA\/dalvik-cache\r\n\r\nexec $base\/out\/host\/linux-x86\/bin\/dalvikvm -Xdexopt:none $@\r\n<\/pre>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>&lt;p&gt;&lt;a href=&quot;http:\/\/guoh.ai\/lifelog\/2011\/05\/compile-openjdk-by-yourself\/&quot; target=&quot;_blank&quot;&gt;\u5f88\u65e9\u4ee5\u524d&lt;\/a&gt;\u5c31\u60f3\u8fc7\u81ea\u5df1\u7f16\u8bd1\u4e00\u4e2aX86\u4e0a\u7684&lt;a href=&quot;http:\/\/en.wikipedia.org\/wiki\/Dalvik_(software)&quot; target=&quot;_blank&quot;&gt;Dalvik&lt;\/a&gt;\u51fa\u6765\u73a9\u73a9\uff0c\u5c1d\u8bd5\u4e4b\u540e\u6ca1\u6709\u6210\u529f\uff0c\u5c31\u653e\u4e0b\u4e86\uff0c\u6700\u8fd1\u51e0\u4e2a\u6708\u6765\u53c8\u60f3\u8d77\u6765\u641e\u641e\uff0c\u6309\u7167\/PATH\/TO\/AOSP\/dalvik\/docs\/hello-world.html\u6765\u7f16\u8bd1dalvikvm\uff0c\u521b\u5efadex\u6863\u6848\uff0c\u8bbe\u7f6e\u5404\u79cd\u73af\u5883\u53d8\u91cf\u4e4b\u540e\uff0c\u8fd0\u884c\u51fa\u73b0\u9519\u8bef&lt;\/p&gt; &lt;pre class=&quot;brush: bash; title: ; notranslate&quot; title=&quot;&quot;&gt;E\/dalvikvm(10105): execv &#039;\/home\/guohai\/dev\/src\/android\/git\/aosp\/out\/target\/product\/generic_x86\/system\/bin\/dexopt&#039; failed: No such file or directory W\/dalvikvm(10102): DexOpt: &#8212; END &#039;Foo.jar&#039; &#8212; status=0x0100, process failed E\/dalvikvm(10102): Unable to extract+optimize DEX from &#039;Foo.jar&#039; Dalvik VM unable to locate class &#039;Foo&#039; W\/dalvikvm(10102): threadid=1: thread exiting with uncaught exception (group=0xf5a1d9c8) java.lang.NoClassDefFoundError: Foo at dalvik.system.NativeStart.main(Native &hellip; <a href=\"https:\/\/guoh.ai\/lifelog\/2013\/02\/run-dalvik-on-x86\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Run Dalvik on X86<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gfmr_meta_descriptions":[],"_gfmr_multilingual_taxonomy_terms":[],"footnotes":""},"categories":[30,6],"tags":[],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-dalvik","category-linux"],"_links":{"self":[{"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":6,"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/posts\/523\/revisions\/607"}],"wp:attachment":[{"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guoh.ai\/lifelog\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}