关于android 4.2源码 download及compile问题!
2013-01-27 11:09
423 查看
关于android 4.2源码 download及compile问题!Download总是出错,解决方法如下:1. 通过认证下载: -https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=413937457453.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/gerritcodereview&redirect_uri=https://www.googlesource.com/new-password&state=android
repo init -u https://android.googlesource.com/a/platform/manifest[/code]repo init -u https://android.googlesource.com/a/platform/manifest -b android-4.2.1_r12. More rarely, Linux clients experience connectivity issues, getting stuck in the middle of downloads (typically during "Receiving objects"). It has been reported that tweaking the settings of the TCP/IP stackand using non-parallel commands can improve the situation. You need root access to modify the TCP setting:$ sudo sysctl -w net.ipv4.tcp_window_scaling=0 $ repo sync -j13. 关于网络:You can resolve them with thenslookupcommand, which will give you one numerical IP address for each of those (typically in the "Address" part of the output).$ nslookup googlesource.com$ nslookup android.googlesource.comYou can then hard-code them locally by editing/etc/hosts, and adding two lines in that file, of the form:aaa.bbb.ccc.ddd googlesource.comeee.fff.ggg.hhh android.googlesource.com74.125.237.1 dl-ssl.google.com173.194.72.82 googlesource.com74.125.31.82 android.googlesource.com4. 编译时注意java的jdk的安装:# ./jdk-6u38-linux-x64.bin
相关文章推荐
- 关于博客更新及Android记事本源码问题
- 解决下载Android源码时遇到的问题 DownloadError: android.googlesource.com:
- Android关于buildToolVersion与CompileSdkVersion的区别 点击打开链接StackOverFlow中对这个问题进行了详细的讨论:http://stackoverfl
- 关于android屏幕适配的问题(drawable-xxxxxxxx,dp,sp,px等等),偶尔看到了android源码,关于dpi的区分的值
- 关于同步android源码Exited sync due to fetch errors的问题
- 关于android源码中的APP编译时引用隐藏的API出现的问题
- 关于编译Android源码,报 I386问题 out/host/linux-x86/obj/lib/libGLES_CM_translator.so
- Android 关于 CountDownTimer onTick() 倒计时不准确问题源码分析
- 关于下载xbmc后打开Android 源码时的一个思考问题?兼各平台安装xbmc 的中文显示
- 关于蓝牙设备之间共享网络的问题(android4.2)
- 解决用虚拟机或者公司网络下载android源码,遇到DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out>的问题
- 关于Android多项目依赖在Eclipse中无法关联源代码的问题解决 (android dependencies 源码)
- 关于同步android源码Exited sync due to fetch errors的问题
- 关于android官方提供的BluetoothChat源码连接不上蓝牙适配器的问题
- 关于android源码4.3 CTS测试的问题
- Android 关于Scrollview和listview嵌套以及下拉刷新问题(附源码)
- 关于 D:\BaiduYunDownload\android-ndk-r10d\ndk-build.cmd问题的解决方案
- 关于android源码中的APP编译时引用隐藏的API出现的问题
- 关于android源码文件操作,无权限问题
- 关于Android资源文件中出现百分号的问题