{"id":4582,"date":"2021-09-02T09:24:38","date_gmt":"2021-09-02T01:24:38","guid":{"rendered":"http:\/\/122.152.205.50\/wordpress\/?p=4582"},"modified":"2021-09-02T09:24:38","modified_gmt":"2021-09-02T01:24:38","slug":"%e5%9c%a8ubuntu18-04%e4%b8%8aandroid%e6%ba%90%e7%a0%81%e4%b8%8b%e8%bd%bd%e5%ae%9e%e8%b7%b5","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582","title":{"rendered":"\u5728Ubuntu18.04\u4e0aAndroid\u6e90\u7801\u4e0b\u8f7d\u5b9e\u8df5"},"content":{"rendered":"<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/mlq8087\/article\/details\/79443048\">https:\/\/blog.csdn.net\/mlq8087\/article\/details\/79443048<\/a><br \/>\n(Ubuntu\u5b89\u88c5\u5230\u6e90\u7801\u4e0b\u8f7d\u7f16\u8bd1\u4e00\u6761\u9f99)<\/p>\n<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=4582\/#%E5%88%9B%E5%BB%BAUbuntu%E8%99%9A%E6%8B%9F%E6%9C%BA\" title=\"\u521b\u5efaUbuntu\u865a\u62df\u673a\">\u521b\u5efaUbuntu\u865a\u62df\u673a<\/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=4582\/#%E4%B8%8B%E8%BD%BD\" title=\"\u4e0b\u8f7d\">\u4e0b\u8f7d<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-1\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E5%A6%82%E4%BD%95%E5%8F%AA%E4%B8%8B%E8%BD%BDAOSP%E4%B8%AD%E6%8C%87%E5%AE%9A%E9%83%A8%E5%88%86%E7%9A%84%E4%BB%A3%E7%A0%81\" title=\"\u5982\u4f55\u53ea\u4e0b\u8f7dAOSP\u4e2d\u6307\u5b9a\u90e8\u5206\u7684\u4ee3\u7801\">\u5982\u4f55\u53ea\u4e0b\u8f7dAOSP\u4e2d\u6307\u5b9a\u90e8\u5206\u7684\u4ee3\u7801<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-1\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E5%A4%A7%E8%87%B4%E7%9A%84%E6%AD%A5%E9%AA%A4%E6%88%91%E6%80%BB%E7%BB%93%E5%A6%82%E4%B8%8B%EF%BC%9A\" title=\"\u5927\u81f4\u7684\u6b65\u9aa4\u6211\u603b\u7ed3\u5982\u4e0b\uff1a\">\u5927\u81f4\u7684\u6b65\u9aa4\u6211\u603b\u7ed3\u5982\u4e0b\uff1a<\/a><ul class=\"ez-toc-list-level-2\"><li class=\"ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#1%E4%B8%8B%E8%BD%BDrepo%E5%B9%B6%E9%85%8D%E7%BD%AE\" title=\"1)\u4e0b\u8f7drepo\u5e76\u914d\u7f6e\">1)\u4e0b\u8f7drepo\u5e76\u914d\u7f6e<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#2%EF%BC%89%E9%85%8D%E7%BD%AErepo%E7%9A%84%E9%95%9C%E5%83%8F%E4%B8%BA%E6%B8%85%E5%8D%8E%E5%A4%A7%E5%AD%A6%E7%9A%84%E9%95%9C%E5%83%8F\" title=\"2\uff09\u914d\u7f6erepo\u7684\u955c\u50cf\u4e3a\u6e05\u534e\u5927\u5b66\u7684\u955c\u50cf\">2\uff09\u914d\u7f6erepo\u7684\u955c\u50cf\u4e3a\u6e05\u534e\u5927\u5b66\u7684\u955c\u50cf<\/a><\/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=4582\/#3%EF%BC%89%E4%B8%8B%E8%BD%BD%E4%B8%AD%E6%96%AD\" title=\"3\uff09\u4e0b\u8f7d\u4e2d\u65ad\">3\uff09\u4e0b\u8f7d\u4e2d\u65ad<\/a><ul class=\"ez-toc-list-level-4\"><li class=\"ez-toc-heading-level-4\"><ul class=\"ez-toc-list-level-4\"><li class=\"ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E9%94%99%E8%AF%AF1%EF%BC%9Aerror_RPC_failed_curl_7_GnuTLS_recv_error_-54_Error_in_the_pull_function\" title=\"\u9519\u8bef1\uff1aerror: RPC failed; curl 7 GnuTLS recv error (-54): Error in the pull function.\">\u9519\u8bef1\uff1aerror: RPC failed; curl 7 GnuTLS recv error (-54): Error in the pull function.<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E9%94%99%E8%AF%AF2%EF%BC%9A%E5%8D%A1%E4%BD%8F%E4%B8%8D%E5%8A%A8%E4%BA%86\" title=\"\u9519\u8bef2\uff1a\u5361\u4f4f\u4e0d\u52a8\u4e86\">\u9519\u8bef2\uff1a\u5361\u4f4f\u4e0d\u52a8\u4e86<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E9%94%99%E8%AF%AF3%EF%BC%9A%E6%8E%A5%E7%9D%80%EF%BC%8C%E5%8F%88%E5%8D%A1%E4%BD%8F%E4%BA%86%E3%80%82\" title=\"\u9519\u8bef3\uff1a\u63a5\u7740\uff0c\u53c8\u5361\u4f4f\u4e86\u3002\">\u9519\u8bef3\uff1a\u63a5\u7740\uff0c\u53c8\u5361\u4f4f\u4e86\u3002<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E9%94%99%E8%AF%AF4%EF%BC%9A%E6%8E%A5%E7%9D%80%EF%BC%8C%E6%8A%A5404%E9%94%99%E8%AF%AF%E3%80%82\" title=\"\u9519\u8bef4\uff1a\u63a5\u7740\uff0c\u62a5404\u9519\u8bef\u3002\">\u9519\u8bef4\uff1a\u63a5\u7740\uff0c\u62a5404\u9519\u8bef\u3002<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#%E9%94%99%E8%AF%AF5%EF%BC%9A%E5%8D%A1%E5%9C%A8%E6%9F%90%E4%B8%AA%E5%9C%B0%E6%96%B9%E4%B8%80%E7%9B%B4%E4%B8%8D%E5%8A%A8\" title=\"\u9519\u8bef5\uff1a\u5361\u5728\u67d0\u4e2a\u5730\u65b9\u4e00\u76f4\u4e0d\u52a8\">\u9519\u8bef5\uff1a\u5361\u5728\u67d0\u4e2a\u5730\u65b9\u4e00\u76f4\u4e0d\u52a8<\/a><\/li><\/ul><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#4%EF%BC%89%E4%B8%8B%E8%BD%BD%E5%AE%8C%E6%88%90%E7%9A%84%E6%A0%87%E8%AE%B0\" title=\"4\uff09\u4e0b\u8f7d\u5b8c\u6210\u7684\u6807\u8bb0\">4\uff09\u4e0b\u8f7d\u5b8c\u6210\u7684\u6807\u8bb0<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=4582\/#5%EF%BC%89%E5%A6%82%E4%BD%95%E5%8F%AA%E4%B8%8B%E8%BD%BD%E6%8C%87%E5%AE%9A%E7%9B%AE%E5%BD%95%E7%9A%84%E6%BA%90%E7%A0%81\" title=\"5\uff09\u5982\u4f55\u53ea\u4e0b\u8f7d\u6307\u5b9a\u76ee\u5f55\u7684\u6e90\u7801\">5\uff09\u5982\u4f55\u53ea\u4e0b\u8f7d\u6307\u5b9a\u76ee\u5f55\u7684\u6e90\u7801<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E5%88%9B%E5%BB%BAUbuntu%E8%99%9A%E6%8B%9F%E6%9C%BA\"><\/span>\u521b\u5efaUbuntu\u865a\u62df\u673a<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u672c\u6765\u672c\u535a\u5ba2\u6ca1\u6709\u8fd9\u4e2a\u6bb5\u843d\u7684\uff0c\u4f46\u662f\u7531\u4e8e\u540e\u9762\u4e00\u7cfb\u5217\u4e0b\u8f7d\u95ee\u9898\uff0c\u6211\u7279\u5730\u5728\u8fd9\u91cc\u5f3a\u8c03\u4e00\u4e0b\u5751\u3002<br \/>\n1\uff09\u5b9a\u4e49\u78c1\u76d8\u5bb9\u91cf\uff0c\u5c3d\u53ef\u80fd\u5927\u4e00\u4e9b\uff0c100G\u662f\u4e0d\u591f\u7684\u3002\u5728\u4e0b\u8f7d4.4\u6e90\u7801\u7684\u65f6\u5019\uff0c\u5c31\u7a81\u7136\u63d0\u793a\u78c1\u76d8\u7a7a\u95f4\u4e0d\u8db3\u3002<br \/>\n     \u600e\u4e48\u6269\u5bb9\uff1a<br \/>\n     <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/jingyan.baidu.com\/article\/86fae34604bdd53c49121a26.html\">https:\/\/jingyan.baidu.com\/article\/86fae34604bdd53c49121a26.html<\/a><br \/>\n      \u4e0a\u9762\u8fd9\u4e2a\u662f\u547d\u4ee4\u6765\u5206\u533a\u6269\u5bb9\uff0c\u63a8\u8350\u4e00\u6b3e\u53ef\u89c6\u5316\u5206\u533a\u795e\u5668Gparted<br \/>\n     <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/Meteor_s\/article\/details\/85068524\">https:\/\/blog.csdn.net\/Meteor_s\/article\/details\/85068524<\/a><br \/>\n     <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/u010164190\/article\/details\/90639809\">https:\/\/blog.csdn.net\/u010164190\/article\/details\/90639809<\/a><br \/>\n     <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/PY0312\/article\/details\/95877261\">https:\/\/blog.csdn.net\/PY0312\/article\/details\/95877261<\/a><br \/>\n     \u9a8c\u8bc1\u662f\u5426\u6269\u5bb9\u6210\u529f\uff0c\u7ec8\u7aef\u8f93\u5165 df -h\u6307\u4ee4\u3002<br \/>\n      <img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-00a92743d18152d3.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n      sda1\u7531\u539f\u6765\u7684100G\u6269\u5c55\u5230300G\u4e86\uff0c\u4f46\u662fDisk\u5e94\u7528\u663e\u793a\u5e76\u6ca1\u6709\u53d8\uff0c\u548b\u56de\u4e8b\uff1f<br \/>\n     <img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-43f06da53ffbc345.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n      \u5bf9\u4e8e\u65b0\u624b\uff0c\u5f3a\u70c8\u5efa\u8bae\u521d\u6b21\u521b\u5efa\u865a\u62df\u673a\u65f6\uff0c\u78c1\u76d8\u5bb9\u91cf\u5c3d\u91cf\u5efa\u7684\u5927\u4e00\u4e9b\uff0c\u81f3\u5c11\u6765\u4e2a150G\u5427\u3002<\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E4%B8%8B%E8%BD%BD\"><\/span>\u4e0b\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>\u6211\u57fa\u672c\u662f\u6309\u7167\u4e0b\u9762\u7684\u535a\u5ba2\u6765\u5b9e\u73b0\u4e86android\u6e90\u7801\u4e0b\u8f7d\uff1a<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/Yoryky\/article\/details\/81813717\">\u535a\u5ba21<\/a>   \uff08\u6211\u662f\u4e3b\u8981\u53c2\u7167\u8fd9\u4e2a\u6765\u641e\u7684\uff09<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/xx326664162\/article\/details\/86354616\">\u535a\u5ba22<\/a><br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/oHeHeHou\/article\/details\/78885927\">\u535a\u5ba23<\/a> \uff08\u4e2a\u4eba\u5efa\u8bae\uff0c\u535a\u5ba21\u548c\u535a\u5ba23\u7ed3\u5408\u7740\u770b\u3002\u5f88\u7b80\u6d01\u7684\u535a\u5ba2\uff0crepo init\u7684\u65b9\u5f0f\u548c\u535a\u5ba21\u7684\u4e0d\u4e00\u6837\uff0c\u6ca1\u6cd5\u67e5\u770b\u5206\u652f\u3002\u67e5\u770b\u5206\u652f\u7684\u65f6\u5019\u60f3\u8981\u9000\u51fa\uff0c\u8f93\u5165q\u5373\u53ef\u3002\uff09<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.jianshu.com\/p\/02509496abcb\">https:\/\/www.jianshu.com\/p\/02509496abcb<\/a><\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E5%A6%82%E4%BD%95%E5%8F%AA%E4%B8%8B%E8%BD%BDAOSP%E4%B8%AD%E6%8C%87%E5%AE%9A%E9%83%A8%E5%88%86%E7%9A%84%E4%BB%A3%E7%A0%81\"><\/span>\u5982\u4f55\u53ea\u4e0b\u8f7dAOSP\u4e2d\u6307\u5b9a\u90e8\u5206\u7684\u4ee3\u7801<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.jianshu.com\/p\/3922ec229077\">https:\/\/www.jianshu.com\/p\/3922ec229077<\/a><\/p>\n<p>\u5728\u770b\u4e0a\u9762\u7684\u535a\u5ba2\u4e4b\u524d\uff0c\u5fc5\u987b\u8981\u4f1a\u7684\u6280\u80fd\uff1agit\uff0crepo\uff0clinux\u3002<br \/>\n* repo (\u591a\u4e2agit\u5e93\u7684\u7ba1\u7406)<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/u013171283\/article\/details\/80895125\">https:\/\/blog.csdn.net\/u013171283\/article\/details\/80895125<\/a><br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/hellofeiya\/article\/details\/8560321\">https:\/\/blog.csdn.net\/hellofeiya\/article\/details\/8560321<\/a><\/p>\n<h1><span class=\"ez-toc-section\" id=\"%E5%A4%A7%E8%87%B4%E7%9A%84%E6%AD%A5%E9%AA%A4%E6%88%91%E6%80%BB%E7%BB%93%E5%A6%82%E4%B8%8B%EF%BC%9A\"><\/span>\u5927\u81f4\u7684\u6b65\u9aa4\u6211\u603b\u7ed3\u5982\u4e0b\uff1a<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"1%E4%B8%8B%E8%BD%BDrepo%E5%B9%B6%E9%85%8D%E7%BD%AE\"><\/span>1)\u4e0b\u8f7drepo\u5e76\u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre><code>\u535a\u5ba21\u91c7\u7528\u7684git\u4e0b\u8f7d\uff0c\u6240\u4ee5\u8981\u914d\u7f6egit\u73af\u5883.(\u63a8\u8350)  \uff08\u8fd9\u91cc\u6211\u8981\u7ea0\u6b63\u4e00\u4e0b\uff0c\u5176\u5b9erepo\u76f4\u63a5\u7528apt install \u5c31\u80fd\u5b89\u88c5\uff0c\u6ca1\u6709\u5fc5\u8981\u50cf\u6587\u7ae0\u91cc\u641e\u7684\u90a3\u4e48\u590d\u6742\u3002\uff09\n\u535a\u5ba22\u91c7\u7528\u7684curl\u4e0b\u8f7d\uff0c\u4f30\u8ba1\u662f\u53c2\u7167\u7740\u6e05\u534e\u5927\u5b66\u7684\u6559\u7a0b\uff1a[https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/git-repo\/](https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/git-repo\/)\n<\/code><\/pre>\n<p>\u6709\u53ef\u80fdrepo\u6307\u4ee4\u6267\u884c\u4e0d\u4e86\uff0c\u63d0\u793a\u201c\/usr\/bin\/env: \"python\": \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55\u201d\uff0c\u5c31\u662fpython\u6ca1\u6709\u5b89\u88c5<br \/>\n<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.jianshu.com\/p\/02509496abcb\">https:\/\/www.jianshu.com\/p\/02509496abcb<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"2%EF%BC%89%E9%85%8D%E7%BD%AErepo%E7%9A%84%E9%95%9C%E5%83%8F%E4%B8%BA%E6%B8%85%E5%8D%8E%E5%A4%A7%E5%AD%A6%E7%9A%84%E9%95%9C%E5%83%8F\"><\/span>2\uff09\u914d\u7f6erepo\u7684\u955c\u50cf\u4e3a\u6e05\u534e\u5927\u5b66\u7684\u955c\u50cf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre><code>\u5b98\u65b9\u7684\u6e90\u7801\u5728google\u670d\u52a1\u5668\u4e0a\uff0c\u76f4\u63a5\u4e0b\u662f\u4e0b\u4e0d\u4e86\u7684\uff0c\u9664\u975e\u7ffb\u5899\u3002\u6700\u597d\u7684\u529e\u6cd5\u5c31\u662f\u914d\u7f6e\u6e05\u534e\u5927\u5b66\u7684\n\u955c\u50cf\u3002\n\u5c31\u662f\u4fee\u6539~\/git-repo\/repo\u6587\u4ef6\u7684REPO_URL\u5730\u5740\uff0c\u4e0a\u9762\u535a\u5ba21\u4e2d\u5df2\u7ecf\u8bf4\u660e\u4e86\u3002\n\u8fd8\u6709\u5f88\u91cd\u8981\u7684\u4e00\u6b65\uff1a[https:\/\/blog.csdn.net\/zy13608089849\/article\/details\/84767864](https:\/\/blog.csdn.net\/zy13608089849\/article\/details\/84767864)\uff0c\u6e05\u534e\u5927\u5b66\u955c\u50cf\u7f51\u7ad9\u4e5f\u63d0\u5230\u4e86\u8fd9\u4e2a\u95ee\u9898\u5982\u4f55\u89e3\u51b3\uff1a[https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/AOSP\/](https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/AOSP\/)\uff0c\u5c31\u662f\u4e0a\u9762\u7684REPO_URL\u5730\u5740\u8981\u540c\u6b65\u5230.bashrc\u8fd9\u4e2a\u6587\u4ef6\u91cc\u3002\n<\/code><\/pre>\n<p>\u7136\u540e\u5c31\u53c2\u7167\u535a\u5ba21\u4e0b\u8f7d\u6e90\u7801\u5373\u53ef\u4e86\u3002<br \/>\n<strong>\u6ce8\u610f\u9ed8\u8ba4linux\u662f\u4e0d\u663e\u793a\u9690\u85cf\u7684\u6587\u4ef6\uff0c\u800crepo\u4e0b\u8f7d\u7684.repo\u9ed8\u8ba4\u5c31\u662f\u9690\u85cf\u7684\uff0c\u9700\u8981\u663e\u793a\u624d\u80fd\u770b\u5230\u4e0b\u8f7d\u7684\u6e90\u7801\u3002<\/strong><br \/>\n<img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-8c80f67b52fe95c8.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"3%EF%BC%89%E4%B8%8B%E8%BD%BD%E4%B8%AD%E6%96%AD\"><\/span>3\uff09\u4e0b\u8f7d\u4e2d\u65ad<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h4><span class=\"ez-toc-section\" id=\"%E9%94%99%E8%AF%AF1%EF%BC%9Aerror_RPC_failed_curl_7_GnuTLS_recv_error_-54_Error_in_the_pull_function\"><\/span>\u9519\u8bef1\uff1aerror: RPC failed; curl 7 GnuTLS recv error (-54): Error in the pull function.<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<pre><code> fatal: The remote end hung up unexpectedly\n \u767e\u5ea6\u4e86\u4e0b\u89e3\u51b3\u529e\u6cd5\uff1a[http:\/\/www.pianshen.com\/article\/4397334526\/](http:\/\/www.pianshen.com\/article\/4397334526\/)\uff0c\u90fd\u662f\u8bf4\u5c06git\u7684\u7f13\u5b58\u53d8\u5927\n<\/code><\/pre>\n<p>git config --global http.postBuffer 2000000000<br \/>\n     \u6709\u4e2a\u725b\u4eba\u8fd8\u5199\u4e86\u4e2a\u4e2d\u65ad\u7ee7\u7eed\u4e0b\u8f7d\u7684\u811a\u672c<a class=\"wp-editor-md-post-content-link\" href=\"http:\/\/www.voidcn.com\/article\/p-vnwowtir-ea.html\">http:\/\/www.voidcn.com\/article\/p-vnwowtir-ea.html<\/a>\uff0c\u4e2d\u65ad\u4e0b\u8f7d\u5c31\u4e0d\u7528\u4eba\u5de5\u8f93\u5165repo sync\u6307\u4ee4\u4e86\u3002<\/p>\n<pre><code class=\"line-numbers\">echo \u201c======= start repo sync =======\u201d\n\nrepo sync -j4\n\nwhile [ $? == 1 ]; do\n\n\u00a0 \u00a0 echo \u201c====== sync failed! re-sync again =====\u201d\n\n\u00a0 \u00a0 sleep 3\n\n\u00a0 \u00a0 repo sync -j4\n\ndone\n<\/code><\/pre>\n<p>\u4f46\u662f\u4e0a\u9762\u8fd9\u4e2a\u811a\u672c\uff0c\u6700\u540e\u7684\u68c0\u51fa\u5173\u5934\u4f1a\u62a5\u4e00\u4e2a\u9519\u8bef\uff1a<br \/>\n\u201c[: XXXX: unexpected operator\u201d<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E9%94%99%E8%AF%AF2%EF%BC%9A%E5%8D%A1%E4%BD%8F%E4%B8%8D%E5%8A%A8%E4%BA%86\"><\/span>\u9519\u8bef2\uff1a\u5361\u4f4f\u4e0d\u52a8\u4e86<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-6276a519351e5b1d.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"\u5361\u4f4f\u4e0d\u52a8\u4e86\" \/><br \/>\n\u7b49\u4e86\u4e00\u4e2a\u665a\u4e0a\u7b2c\u4e8c\u5929\u4e0a\u73ed\u663e\u793a<br \/>\n<img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-9a7fcc05baf3ee00.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n\u6309\u7167<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/qq_21508727\/article\/details\/89413590\">https:\/\/blog.csdn.net\/qq_21508727\/article\/details\/89413590<\/a>\u5904\u7406\u4e86\u8fd9\u4e2a\u9519\u8bef\u91cd\u65b0repo sync\u540e\u5361\u5728\u4e0b\u9762\u53c8\u4e0d\u52a8\u4e86<\/p>\n<p><img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-5c781ba07263e976.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><\/p>\n<p>\u7b49\u4e86\u5927\u8001\u534a\u5929\u63d0\u793a<br \/>\n<img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-9f8c764d323672c0.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><\/p>\n<p>\u6253\u65ad\u6267\u884c repo sync j4\u6307\u4ee4<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E9%94%99%E8%AF%AF3%EF%BC%9A%E6%8E%A5%E7%9D%80%EF%BC%8C%E5%8F%88%E5%8D%A1%E4%BD%8F%E4%BA%86%E3%80%82\"><\/span>\u9519\u8bef3\uff1a\u63a5\u7740\uff0c\u53c8\u5361\u4f4f\u4e86\u3002<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-6217b4df4c85e3d7.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n\u627e\u5230platform\/external\/mockwebserver\u8fd9\u4e2a\u6587\u4ef6\u5939\uff0c\u5220\u9664\u3002<br \/>\n\u6253\u65ad\u6267\u884c repo sync j4\u6307\u4ee4<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E9%94%99%E8%AF%AF4%EF%BC%9A%E6%8E%A5%E7%9D%80%EF%BC%8C%E6%8A%A5404%E9%94%99%E8%AF%AF%E3%80%82\"><\/span>\u9519\u8bef4\uff1a\u63a5\u7740\uff0c\u62a5404\u9519\u8bef\u3002<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-7777172235f64121.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n\u767e\u5ea6\u7684\u8bf4\u6cd5\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/YuDBL\/article\/details\/86143963\">https:\/\/blog.csdn.net\/YuDBL\/article\/details\/86143963<\/a>\uff0c\u65e0\u89c6\u5ffd\u7565\u5373\u53ef\u3002<br \/>\n\u6700\u540e\u53c8\u7ee7\u7eed\u6267\u884crepo sync j8\u6307\u4ee4\uff0c\u53c8\u56de\u5230\u4e86\u9519\u8bef3.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E9%94%99%E8%AF%AF5%EF%BC%9A%E5%8D%A1%E5%9C%A8%E6%9F%90%E4%B8%AA%E5%9C%B0%E6%96%B9%E4%B8%80%E7%9B%B4%E4%B8%8D%E5%8A%A8\"><\/span>\u9519\u8bef5\uff1a\u5361\u5728\u67d0\u4e2a\u5730\u65b9\u4e00\u76f4\u4e0d\u52a8<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-68e94a734e359f5e.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n\u4e0a\u9762\u4e00\u76f4\u5361\u5728apps\/Car\/Media\u4e0d\u52a8\uff0c\u7b49\u4e86\u597d\u51e0\u4e2a\u5c0f\u65f6\u624d\u51fa\u73b0\u4e0b\u9762\u90a3\u53e5\u8bdd\u3002<br \/>\nerror: RPC failed; curl 6 GnuTLS recv error (-54): Error in the pull function.<br \/>\nfatal: The remote end hung up unexpectedly<br \/>\n\u7f51\u4e0a\u63d0\u4f9b\u4e86\u4e2a\u89e3\u51b3\u529e\u6cd5\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blog.csdn.net\/ai2000ai\/article\/details\/80708079\">https:\/\/blog.csdn.net\/ai2000ai\/article\/details\/80708079<\/a>\uff0c\u4f46\u662f\u5bf9\u4e8e\u6211\u5e76\u6ca1\u6709\u4ec0\u4e48\u9e1f\u7528\uff0c\u6211\u6700\u7ec8\u662f\u53bb\u4e0b\u8f7d4.4\u7684\u6e90\u7801\u624d\u4e0b\u8f7d\u6210\u529f\uff0c8.0\u7684\u6839\u672c\u5c31\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u3002\u6240\u4ee5\u4f60\u5361\u5728\u67d0\u4e2a\u5730\u65b9\u8d70\u6295\u65e0\u8def\u7684\u65f6\u5019\uff0c\u8bd5\u4e0b\u6362\u4e2a\u7248\u672c\u7684\u6e90\u7801\u518d\u4e0b\u8f7d\u3002<\/p>\n<p><strong>\u5361\u4f4f\u4e0d\u52a8\uff0c\u4e5f\u4e0d\u63d0\u793a\u4efb\u4f55\u9519\u8bef<\/strong>\uff0c\u8fd9\u771f\u662f\u6e90\u7801\u4e0b\u8f7d\u8fc7\u7a0b\u4e2d\u6700\u8ba9\u4eba\u63ea\u5fc3\u7684\u95ee\u9898\uff0c\u52a0\u4e86\u4e2aQQ\u7fa4\u6709\u5927\u4f6c\u63d0\u51fa\u89e3\u51b3\u529e\u6cd5\u5982\u4e0b\uff1a<br \/>\n\u8c03\u6574TCP\/IP\u5806\u6808\u7684\u8bbe\u7f6e\u548c\u4f7f\u7528\u975e\u5e76\u884c\u547d\u4ee4\u53ef\u4ee5\u6539\u5584\u8fd9\u79cd\u60c5\u51b5\u3002\u9700\u8981root\u8bbf\u95ee\u6743\u9650\u4fee\u6539TCP\u8bbe\u7f6e\uff1a<\/p>\n<pre><code class=\"line-numbers\">$ sudo sysctl -w net.ipv4.tcp_window_scaling=0\n\n$ repo sync -j4\n<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4%EF%BC%89%E4%B8%8B%E8%BD%BD%E5%AE%8C%E6%88%90%E7%9A%84%E6%A0%87%E8%AE%B0\"><\/span>4\uff09\u4e0b\u8f7d\u5b8c\u6210\u7684\u6807\u8bb0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"http:\/\/blog.sina.com.cn\/s\/blog_6e9011f90100nv5d.html\">http:\/\/blog.sina.com.cn\/s\/blog_6e9011f90100nv5d.html<\/a><\/p>\n<p>\u5728\u4e0a\u9762\u7684\u9519\u8bef3\uff0cabort\u4e4b\u540e<br \/>\n<img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-ef8a0d0064fcb3cc.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><br \/>\n\u63d0\u793aFetching projects:100%\uff0c\u4f46\u8fd9\u5e76\u4e0d\u4ee3\u8868\u6240\u6709\u7684\u6e90\u7801\u90fd\u4e0b\u8f7d\u5b8c\u6bd5\u3002<\/p>\n<p>\u771f\u6b63\u7684\u4e0b\u8f7d\u6210\u529f\u5e94\u8be5\u662f\u4e0b\u9762\u7684\uff0c\u51fa\u73b0\u201cSyncing work tree: 100% (407\/407), done\u201d\u5c31\u8868\u660e\u6e90\u7801\u4e0b\u8f7d\u5b8c\u6bd5\u3002<br \/>\n  <img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-0e58cc56e6180ba3.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"5%EF%BC%89%E5%A6%82%E4%BD%95%E5%8F%AA%E4%B8%8B%E8%BD%BD%E6%8C%87%E5%AE%9A%E7%9B%AE%E5%BD%95%E7%9A%84%E6%BA%90%E7%A0%81\"><\/span>5\uff09\u5982\u4f55\u53ea\u4e0b\u8f7d\u6307\u5b9a\u76ee\u5f55\u7684\u6e90\u7801<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"http:\/\/bcoder.com\/others\/sync-part-of-code-when-using-repo-sync\">http:\/\/bcoder.com\/others\/sync-part-of-code-when-using-repo-sync<\/a><br \/>\n repo sync     platform\/\u52a0\u4e0a\u60f3\u8981\u540c\u6b65\u7684\u76ee\u5f55system\/core\/include<br \/>\n\u6267\u884c<\/p>\n<pre><code class=\"line-numbers\">repo sync platform\/system\/core\/include\n<\/code><\/pre>\n<p>\u6ce8\u610f\u8fd8\u6709\u4e00\u6b65\uff0crepo\u7684manifest.xml\u6587\u4ef6\u4e5f\u5f97\u76f8\u5e94\u914d\u7f6e\u4e00\u4e0b\uff0c\u5426\u5219\u4f1a\u62a5\u9519\u5982\u4e0b\uff1a<br \/>\nerror: project platform\/system\/core\/include not found<br \/>\n<img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-1b9ca15348d5de9c.png?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"image.png\" \/><\/p>\n<p>\u4f46\u662f\u597d\u50cf\u53ea\u80fd\u66f4\u65b0manifest.xml\u6587\u4ef6\u4e2d\u5df2\u6709\u7684\u6a21\u5757\uff08\u591a\u4e00\u7ea7\u6216\u8005\u5c11\u4e00\u7ea7\u76ee\u5f55\u90fd\u4e0d\u884c\uff09\uff0c\u6dfb\u52a0\u81ea\u5df1\u7684\u6a21\u5757\u62a5\u9519\uff1a<\/p>\n<button class=\"simplefavorite-button\" data-postid=\"4582\" 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>https:\/\/blog.csdn.net\/mlq8087\/article\/details\/7944 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[204],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4582"}],"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=4582"}],"version-history":[{"count":1,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4582\/revisions"}],"predecessor-version":[{"id":4583,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4582\/revisions\/4583"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4582"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}