
推荐:怎么将Android Studio项目填写(更新)到github作为远程仓库
我一直都在找这篇短文,今天总算搞明白。完美,纯收藏as导入github项目,私自转来, 出处 在写这篇短文之前首先我假设你
2019阿里云全部新品优惠券(新购或升级都可以使用,强烈推荐)
领取地址:
最终报错:
Clone failed

early EOF The remote end hung up unexpectedly index-pack failed RPC failed; result=18, HTTP code = 200
,
试下这一句,增加缓存
git config --global http.postBuffer 1048576000
The remote end hung up unexpectedly while git cloning
,

Solution for failed with error: RPC failed; result=18, HTTP code = 200
First Solution:
Try running the command below in the remote repository if error is fatal: index-pack failed
推荐:ADT、GitHub 导入项目到Android Studio
我目前使用的Android studio 版本: ADT 把项目导出到Studio的两种手段: 第一种:要点看图,从左往右as导入github项目,上到下 然后 next 之后完成。 到这儿就
git repack -a -f -d --window=250 --depth=250

Second Solution:
Also try the below ones from the remote repository location if the above one didn't work:
git gc --aggressive
git repack -a -f -d --window=250 --depth=250
Third Solution:
Try reducing the postBuffer size in the remote repository config. Follow the steps below

Go to remote git repository directory
Run the following command to reduce the size of postBuffer
git config http.postBuffer 24288000
you can check this value by doing "git config --get http.postBuffer"
Try cloning the repository now (back to where are you cloning)
If failed with error: RPC failed; result=18, HTTP code = 200 try again by incresing the postBuffer ever further in the config. go to step 1.
,
git clone xxxx不行吗?
推荐:Android studio 使用github上的android开源项目
一般github上面的开源项目就会生成一个library(就是工具源码,可随意命名的),我们就是想要用上面的东西。 以开源项目
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-119343-1.html
我都是喝可乐的