{"id":255338,"date":"2015-11-16T11:14:44","date_gmt":"2015-11-16T03:14:44","guid":{"rendered":"http:\/\/blog.zhenglei.net\/?p=255338"},"modified":"2015-11-16T14:39:31","modified_gmt":"2015-11-16T06:39:31","slug":"build-android-kernel-sdk","status":"publish","type":"post","link":"https:\/\/blog.zhenglei.net\/?p=255338","title":{"rendered":"build android kernel &amp; sdk"},"content":{"rendered":"<p><strong># List branches of rep<\/strong><br \/>\ngit ls-remote file:\/\/\/mirror\/git\/aosp\/platform\/manifest<\/p>\n<p><strong># Checkout Local copy<\/strong><br \/>\nrepo init -u file:\/\/\/mirror\/git\/aosp\/platform\/manifest<br \/>\nrepo sync -j18<\/p>\n<p><strong># List branches of local copy<\/strong><br \/>\ngit &#8211;git-dir .repo\/manifests\/.git\/ branch -a<\/p>\n<p><strong># Change branch<\/strong><br \/>\nrepo init -b android-6.0.0_r5<br \/>\nrepo sync -j18<\/p>\n<p># install tools<br \/>\nsudo apt-get install git gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc<\/p>\n<p># Install Oracle jdk1.7.0.xx  into \/opt\/jdk1.7.0,  and export <\/p>\n","protected":false},"excerpt":{"rendered":"<p># List branches of rep git ls-remote fil &hellip; <a href=\"https:\/\/blog.zhenglei.net\/?p=255338\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-255338","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/255338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255338"}],"version-history":[{"count":4,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/255338\/revisions"}],"predecessor-version":[{"id":255344,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/255338\/revisions\/255344"}],"wp:attachment":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}