Trouble Shoot When Download Android Souce Code from AOSP
2014-04-24 08:46
453 查看
1. Android Source Environment
Recently I want use Android Source Code to build my own ROM. I use the Ubuntu from official site, i.e. Ubuntu 12.04.4, and found too many errors. For example, a package from apt-get requires a dependency which is a older version. I resolve it by apt-get
install libc=1.0.1. But I realize there must be something wrong because there are too many errors. Finally I found that Ubuntu 12.04.4 is different from 12.04 in kernel, so many thing changed.
2. Install Ubuntu 12.04
To install Ubuntu 12.04 in my bake drive, i use a USB stick. After burn the ISO image many times, the USB stick just don't boot. First I think it's the USB port reason because i have met them before, which still don't work. Finally I found the reason
is that both UltraISO and Universal USB Install burn a unbootable USB stick. Then i use win32diskimager-v0.9-binary to burn, and work DONE.
3. Downloading AOSP
Takes great time to download because the network always off. Then I google and found that use a proxy can solve the problem. So I use my gae proxy, and all pass.
4.Downloading AOSP continues
Another thing is that the Down load would stuck at 99% every time. I check the doc and add this:
Android 4.4.2, In .repo, 77,787 items, totalling 15.4 GB
Recently I want use Android Source Code to build my own ROM. I use the Ubuntu from official site, i.e. Ubuntu 12.04.4, and found too many errors. For example, a package from apt-get requires a dependency which is a older version. I resolve it by apt-get
install libc=1.0.1. But I realize there must be something wrong because there are too many errors. Finally I found that Ubuntu 12.04.4 is different from 12.04 in kernel, so many thing changed.
2. Install Ubuntu 12.04
To install Ubuntu 12.04 in my bake drive, i use a USB stick. After burn the ISO image many times, the USB stick just don't boot. First I think it's the USB port reason because i have met them before, which still don't work. Finally I found the reason
is that both UltraISO and Universal USB Install burn a unbootable USB stick. Then i use win32diskimager-v0.9-binary to burn, and work DONE.
3. Downloading AOSP
Takes great time to download because the network always off. Then I google and found that use a proxy can solve the problem. So I use my gae proxy, and all pass.
4.Downloading AOSP continues
Another thing is that the Down load would stuck at 99% every time. I check the doc and add this:
$ sudo sysctl -w net.ipv4.tcp_window_scaling=0 $ repo sync -j1Then delete the broken projects from .repo/projects/. And the download is completed now.
Android 4.4.2, In .repo, 77,787 items, totalling 15.4 GB
相关文章推荐
- (OK) Building Android from AOSP source code
- Android sdk and souce code download & compile
- android source code download from tsinghua
- Android sdk and souce code download & compile
- How to call a android/native service from a native/android (java) code
- Smart Client Case Study Source Code Download from MSDN China
- Android kernel build from source code and from prebuilt
- The steps for download android source code
- Problems occurred when invoking code from plug-in: "org.eclipse.jface".
- 【Android笔记】引用第三方自定义控件出错:Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
- how to download the source tree for a specific Android code-line
- Problems occurred when invoking code from plug-in: "org.eclipse.jface".
- Download Android Source Code in Windows
- Code to download files from google drive to colab
- android LK(from codeaurora)
- ionic build android error when download gradle
- Android Project from Existing Code 生成 R 文件错误、失败等问题解决办法 - 持续更新
- Android souce code downloading and building
- Download the android source from china mirrors
- Download android source code occur "server certificate verification failed "