android 4.4 sourcesource code 有的发我

Android-App-Source-Code 资料为安卓学习很好的 代码,有 参考价值
238万源代码下载-
&文件名称: Android-App-Source-Code
& & & & &&]
&&所属分类:
&&开发工具: Java
&&文件大小: 893 KB
&&上传时间:
&&下载次数: 20
&&提 供 者:
&详细说明:资料为安卓学习很好的安卓代码,有很好的参考价值-Android App Source Code
文件列表(点击判断是否您需要的文件,如果是垃圾请在下面评价投诉):
&&好用的Android应用程序源代码&&...........................\TodayDate&&...........................\.........\.classpath&&...........................\.........\.project&&...........................\.........\AndroidManifest.xml&&...........................\.........\default.properties&&...........................\.........\src&&...........................\.........\...\com&&...........................\.........\...\...\yarin&&...........................\.........\...\...\.....\android&&...........................\.........\...\...\.....\.......\TodayDate&&...........................\.........\...\...\.....\.......\.........\TodayDate.java&&...........................\.........\...\...\.....\.......\.........\TodayDateSmall.java&&...........................\.........\res&&...........................\.........\...\xml&&...........................\.........\...\...\widget.xml&&...........................\.........\...\...\widget_small.xml&&...........................\.........\...\values&&...........................\.........\...\......\strings.xml&&...........................\.........\...\layout&&...........................\.........\...\......\widget_layout.xml&&...........................\.........\...\......\widget_layout_small.xml&&...........................\.........\...\drawable&&...........................\.........\...\........\bg.9.png&&...........................\.........\...\........\bg2.9.png&&...........................\.........\...\........\bgblack.png&&...........................\.........\...\........\bgblacksmall.png&&...........................\.........\...\........\icon.png&&...........................\.........\gen&&...........................\.........\...\com&&...........................\.........\...\...\yarin&&...........................\.........\...\...\.....\android&&...........................\.........\...\...\.....\.......\TodayDate&&...........................\.........\...\...\.....\.......\.........\R.java&&...........................\.........\bin&&...........................\.........\...\classes.dex&&...........................\.........\...\resources.ap_&&...........................\.........\...\TodayDate.apk&&...........................\.........\...\com&&...........................\.........\...\...\yarin&&...........................\.........\...\...\.....\android&&...........................\.........\...\...\.....\.......\TodayDate&&...........................\.........\...\...\.....\.......\.........\R$attr.class&&...........................\.........\...\...\.....\.......\.........\R$drawable.class&&...........................\.........\...\...\.....\.......\.........\R$id.class&&...........................\.........\...\...\.....\.......\.........\R$layout.class&&...........................\.........\...\...\.....\.......\.........\R$string.class&&...........................\.........\...\...\.....\.......\.........\R$xml.class&&...........................\.........\...\...\.....\.......\.........\R.class&&...........................\.........\...\...\.....\.......\.........\TodayDate.class&&...........................\.........\...\...\.....\.......\.........\TodayDateSmall.class&&...........................\.........\assets&&...........................\RingProfile&&...........................\...........\.classpath&&...........................\...........\.project&&...........................\...........\AndroidManifest.xml&&...........................\...........\default.properties&&...........................\...........\src&&...........................\...........\...\com&&...........................\...........\...\...\yarin&&...........................\...........\...\...\.....\android&&...........................\...........\...\...\.....\.......\RingProfile&&...........................\...........\...\...\.....\.......\...........\RingBroadcastReceiver.java&&...........................\...........\...\...\.....\.......\...........\RingProfile.java&&...........................\...........\res&&...........................\...........\...\values&&...........................\...........\...\......\strings.xml&&...........................\...........\...\layout&&...........................\...........\...\......\main.xml&&...........................\...........\...\drawable&&...........................\...........\...\........\addprofile.png&&...........................\...........\...\........\bg.jpg&&...........................\...........\...\........\down.png&&...........................\...........\...\........\icon.png&&...........................\...........\...\........\mute.png&&...........................\...........\...\........\timeprofile.png&&...........................\...........\...\........\up.png&&...........................\...........\...\........\vibrate.png&&...........................\...........\gen&&...........................\...........\...\com&&...........................\...........\...\...\yarin&&...........................\...........\...\...\.....\android&&...........................\...........\...\...\.....\.......\RingProfile&&...........................\...........\...\...\.....\.......\...........\R.java&&...........................\...........\bin&&...........................\...........\...\classes.dex&&...........................\...........\...\resources.ap_&&...........................\...........\...\RingProfile.apk&&...........................\...........\...\com&&...........................\...........\...\...\yarin&&...........................\...........\...\...\.....\android&&...........................\...........\...\...\.....\.......\RingProfile&&...........................\...........\...\...\.....\.......\...........\R$attr.class&&...........................\...........\...\...\.....\.......\...........\R$drawable.class&&...........................\...........\...\...\.....\.......\...........\R$id.class&&...........................\...........\...\...\.....\.......\...........\R$layout.class&&...........................\...........\...\...\.....\.......\...........\R$string.class&&...........................\...........\...\...\.....\.......\...........\R.class&&...........................\...........\...\...\.....\.......\...........\RingBroadcastReceiver.class&&...........................\...........\...\...\.....\.......\...........\RingProfile$1.class
&近期下载过的用户:
&相关搜索:
&输入关键字,在本站238万海量源码库中尽情搜索:
&[] - android 日历 农历算法
实用于公历 1901 年至 2100 年之间的 200 年
&[] - Android Socket通信,在两个模拟器之间通信,一个做为客户端,一个做为服务器。
&[] - android GPS googlemap source code
&[] - android 2.2 源码, eclipse关联之后就能用
&[] - 此包是开源中国的安卓客户端源代码,提供对安卓感兴趣的人分享和学习
&[] - android应用开发详解 里面对开发安卓应用介绍的很详细
&[] - android 开发实例
1、 图片浏览器(Picture Viewer)
2 、文件浏览器(File Browser)
3 、通讯录(Contact)
4 、任务管理器(Task Manager)
5 、音乐播放器(Rock Player)
6 、天气预报(Android W
&[] - This is an Android app written in C# in Xamarin IDE. It is supposed to be smart controlling app for a display brightness. Not finished yet, as android2416人阅读
/source/initializing.html
http://lbrant./151
如果对Linux比较熟悉的人,可以看官方的步骤:&
像我这样用惯了Windows的人,对Linux还是玩不来的,很简单的操作对我来说跟刚学电脑一样,本文主要讲在Windows下下载Android源码的方法,在网上找了很长时间,也费了不少周折,最后实践成功,将相关步骤整理如下,以供读者参考。
这里要用到,简而言之,Cygwin是一个在windows平台上运行的Linux模拟环境。
首先下载一个安装向导文件,运行后出现安装引导:
点击【下一步】:
这里有三个选项,如果你只是用来下载Android源码,只安装相关的几个包,建议选择“Install from Internet”,如果你要安装很多包,建议“Download Without Installing”,下载完成后,再次运行时选择“Install from Local Directory”进行安装,因为要安装的文件大(几个G),往往在下载过程中会因网络相关的问题中断,就比较闹心了。
继续点击【下一步】:
选择安装目录,点击【下一步】:
这里选择下载的安装文件存放的目录,点击【下一步】:
选择“直接下载”,点击【下一步】:
这里选择下载站点,国内选择163就可以了,点击【下一步】:
这里比较重要,要选择安装的包,(Default,Install,Uninstall),只选择需要的包安装,要不然要下载很长很长时间。
把下面这几个装上就可以了。
Net -& curl;Devel -& git* (git, git-completion, git-gui, gitk);Libs -& libreadline7(可能以后还会有8,9等新版本), libiconv2;Editors -& vim;Python -& python。
接下来就等待安装完成了,完成后启动Cygwin,接下来要创建一个文件夹存放repo脚本及源码,路径不能带有中文,文件夹名称也能有空格,我这里放到C:\Users\Brant\Documents\workspace\Android_Source_Code下面,启动Cygwin后,切换到上面的目录:
按照下面的命令,一条条执行:
cd c://进入C盘cd Users/Brant/Documents/workspace/Android_Source_Codemkdir bin //创建bin文件夹PATH=/cygdrive/c/Users/Brant/Documents/workspace/Android_Source_Code/bin:$PATH//这里设置Path,跟Windows下的环境变量意思一样,要不然找不到repo命令。curl https://dl-/dl/googlesource/git-repo/repo & /cygdrive/c/Users/Brant/Documents/workspace/Android_Source_Code/bin/repo,//这个是将Repo脚本文件下载到bin文件夹下。chmod a+x repo //让repo有执行权限为了方便区分版本,我在Android_Source_Code下面创建了个android-4.0.1_r1文件夹,下面要下载这个版本。进入到创建的 android-4.0.1_r1文件夹中repo init -u /platform/manifest -b android-4.0.1_r1 &//此处下载branch为4.0.1_r1版本,如果你要下载master,执行repo init -u /platform/manifest。最后执行 repo sync进行同步。
这里要下载几个G的东西,接下来就慢慢等待了。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1426409次
积分:17718
积分:17718
排名:第215名
原创:186篇
转载:905篇
译文:11篇
评论:356条
新浪微博: Android人: QQ群:
(10)(4)(15)(21)(23)(27)(44)(29)(7)(16)(7)(1)(2)(15)(12)(27)(21)(39)(9)(9)(5)(15)(11)(13)(18)(26)(31)(26)(24)(36)(55)(106)(136)(38)(40)(30)(45)(10)(9)(7)(6)(3)(12)(11)(5)(10)(5)(2)(1)(4)(1)(10)(6)(1)(3)(6)(5)(1)(38)(3)(12)(2)(4)(10)(4)(1)(1)
() () () () ()Android source code[ 源代码]下载,问题和解决办法
My environments: Ubuntu 11.04
Android source code: Android-4.1.1.1_r4
How to download the Android source code?
&& Referenced from:/source/downloading.html
&& But maybe you will get many error as below, you just need the constancy or re do the &repo sync& command!!
&& =========Get error:===========================
fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/abi/cpp.git'&
fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/abi/cpp.git'&
error: Cannot fetch platform/abi/cpp&
warn: --force-broken, continuing to sync&
&Fetching projects:&& 3% (7/228)& fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/cts.git'&
fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/cts.git'&
error: Cann ot fetch platform/cts&
warn: --force-broken, continuing to sync&
error: The requested URL returned error: 403 while accessing /platform/development/info/refs&
fatal: HTTP request failed&
error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing /platform/& development/info/refs&
fatal: HTTP request failed&
error: Cannot fetch platform/development&
warn: --force-broken, continuing to sync&
&& ========Sovle above problem:============================
cxl@cxl-ThinkPad-E420:~/android_source/.repo/projects/abi$ rm -f -r cpp.git&
cxl@cxl-ThinkPad-E420:~/android_source/.repo/projects/rm -f -r cts.git&
&& ========Finish download the source code=================
cxl@cxl-ThinkPad-E420:~/android_source$ repo sync&
&* [new tag]&&&&&&&& android-4.1.1_r4 -& android-4.1.1_r4&
remote: Counting objects: 1, done&
remote: Finding sources: 100% (1/1)&
remote: Total 1 (delta 0), reused 1 (delta 0)&
Unpacking objects: 100% (1/1), done.&
From /platform/packages/apps/BasicSmsReceiver&
&* [new tag]&&&&&&&& android-4.1.1_r4 -& android-4.1.1_r4&
remote: Counting objects: 65, done&
remote: Finding sources: 100% (40/40)&
remote: Getting sizes: 100% (40/40)&
remote: Compressing objects: 100% (15/15)&
remote: Total 40 (delta 21), reused 36 (delta 21)&
Unpacking objects: 100% (40/40), done.&
From /platform/sdk&
&& 9d34dab..0920b8e& master&&&& -& aosp/master&
Fetching projects: 100% (294/294), done.&&&
info: A new version of repo is available&
project .repo/repo/&
Updating e8f75fa..5e7127d&
Fast-forward&
&docs/manifest-format.txt |&& 13 ++++-&
&git_command.py&&&&&&&&&& |&&& 2 +-&
&manifest_xml.py&&&&&&&&& |&& 19 ++++--&
&project.py&&&&&&&&&&&&&& |& 148 +++++++++++++---------------------------------&
&subcmds/overview.py&&&&& |&& 80 +++++++++++++++++++++++++&
&subcmds/sync.py&&&&&&&&& |&&& 6 +-&
&subcmds/upload.py&&&&&&& |&&& 5 +-&
&7 files changed, 157 insertions(+), 116 deletions(-)&
&create mode 100644 subcmds/overview.py&
info: Restarting repo with latest version&
Fetching projects: 100% (294/294), done.&&&
Checking out files: 100% (), done.ut files:& 36% ()&&&&
Checking out files: 100% (), done.out files:& 26% ()&&&&
Checking out files: 100% (), done. out files:&& 8% (755/8843)&&&&
Checking out files: 100% (), done.ut files:& 40% ()&&&&
Checking out files: 100% (), done.ut files:&& 8% ()&&&&
Checking out files: 100% (624/624), done.&
Checking out files: 100% (974/974), done.ng out files:&& 1% (12/974)&&&&
Checking out files: 100% (667/667), done.ng out files:& 15% (104/667)&&&&
Checking out files: 100% (370/370), done.ng out files:&& 8% (30/370)&&&&
Checking out files: 100% (), done. out files:& 29% (720/2407)&&&&
Checking out files: 100% (), done. out files:&& 1% (27/2412)&&&&
Checking out files: 100% (974/974), done.&
Checking out files: 100% (), done.ut files:& 32% ()&&&&
Checking out files: 100% (81/81), done.&
Checking out files: 100% (441/441), done.ng out files:& 46% (205/441)&&&&
Checking out files: 100% (), done.&
Syncing work tree: 100% (294/294), done.&&&
-----------------------------------------------------Below is another solution, but it is not fix my problem,my be you can try it-----------------------------------------------------------
The error:
[plain] view plaincopyprint?
Exception in thread Thread-119:&
Traceback (most recent call last):&
& File &/usr/lib/python2.7/threading.py&, line 552, in __bootstrap_inner&
&&& self.run()&
File &/usr/lib/python2.7/threading.py&, line 505, in run&
&&& self.__target(*self.__args, **self.__kwargs)&
& File &/home/cxl/android_source/.repo/repo/subcmds/sync.py&, line 200, in _FetchHelper&
&&& clone_bundle=not opt.no_clone_bundle)&
& File &/home/cxl/android_source/.repo/repo/project.py&, line 968, in Sync_NetworkHalf&
&&& and self._ApplyCloneBundle(initial=is_new, quiet=quiet):&
& File &/home/cxl/android_source/.repo/repo/project.py&, line 1526, in _ApplyCloneBundle&
&&& exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)&
& File &/home/cxl/android_source/.repo/repo/project.py&, line 1590, in _FetchBundle&
&&& raise DownloadError('%s: %s ' % (req.get_host(), str(e)))&
DownloadError: : &urlopen error [Errno 8] _ssl.c:503: EOF occurred in violation of protocol&&&
error: RPC result=56, HTTP code = 200B&&&&
fatal: The remote end hung up unexpectedly&
fatal: early EOF&
fatal: index-pack failed&
warning: https unexpectedly said: '0000'&
error: Cannot fetch platform/external/qemu&
===========solution:==========================
(/source/downloading.html)有段说明,如果认真执行就可解决。&
1. 浏览器登录/new-password,并用gmail帐号登录;&
2. 点击网页上的&允许访问&,得到类似:&
1. machine
login git-&userName&. password &password&&&
2. machine android- login git-&userName&. password &password&&&
3. 把上面那段信息(&userName&和&password&用自己得到的真实信息)追加到~/.netrc文件结尾;&
4. 下载地址的URI更改为/a/platform/manifest(中间加上了&/a&)。&
然后按照官网描述的正常步骤操作,即可拉下Android源码。&
官方的说法是:因为访问基本是匿名的,为了防止连接过多,对同一IP地址的连接数做了一定的限制。看来是用gmail帐号进行认证。&
这样的话,在公司网络内或者用虚拟机的话,会经常遇到这问题。&
&作者:iamcxl369
您对本文章有什么意见或着疑问吗?请到您的关注和建议是我们前行的参考和动力&&
您的浏览器不支持嵌入式框架,或者当前配置为不显示嵌入式框架。> Android source code[ 源代码]上载,有关问题和解决方法
Android source code[ 源代码]上载,有关问题和解决方法
shiwie890 & &
发布时间: & &
浏览:113 & &
回复:0 & &
悬赏:0.0希赛币
Android source code[ 源代码]下载,问题和解决办法
  My environments: Ubuntu 11.04
  Android source code: Android-4.1.1.1_r4
  How to download the Android source code
& &Referenced from:
& &But maybe you will get many error as below, you just need the constancy or re do the &repo sync& command!!
& &=========Get error:===========================
& &  fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/abi/cpp.git'
fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/abi/cpp.git'
error: Cannot fetch platform/abi/cpp
warn: --force-broken, continuing to sync
Fetching projects:
3% (7/228)
fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/cts.git'
fatal: Not a git repository: '/home/yourname/android_source/.repo/projects/cts.git'
error: Cann ot fetch platform/cts
warn: --force-broken, continuing to sync
error: The requested URL returned error: 403 while accessing error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing
error: Cannot fetch platform/development
warn: --force-broken, continuing to sync
& &========Sovle above problem:============================
& &  cxl@cxl-ThinkPad-E420:~/android_source/.repo/projects/abi$ rm -f -r cpp.git
cxl@cxl-ThinkPad-E420:~/android_source/.repo/projects/rm -f -r cts.git
  ========Finish download the source code=================&
  cxl@cxl-ThinkPad-E420:~/android_source$ repo sync
* [new tag]
android-4.1.1_r4 -& android-4.1.1_r4
remote: Counting objects: 1, done
remote: Finding sources: 100% (1/1)
remote: Total 1 (delta 0), reused 1 (delta 0)
Unpacking objects: 100% (1/1), done.
From * [new tag]
android-4.1.1_r4 -& android-4.1.1_r4
remote: Counting objects: 65, done
remote: Finding sources: 100% (40/40)
remote: Getting sizes: 100% (40/40)
remote: Compressing objects: 100% (15/15)
remote: Total 40 (delta 21), reused 36 (delta 21)
Unpacking objects: 100% (40/40), done.
F aosp/master
Fetching projects: 100% (294/294), done.
info: A new version of repo is available
project .repo/repo/
Updating e8f75fa..5e7127d
Fast-forward
docs/manifest-format.txt |
git_command.py
manifest_xml.py
project.py
148 +++++++++++++---------------------------------
subcmds/overview.py
80 +++++++++++++++++++++++++
subcmds/sync.py
subcmds/upload.py
7 files changed, 157 insertions(+), 116 deletions(-)
create mode 100644 subcmds/overview.py
info: Restarting repo with latest version
Fetching projects: 100% (294/294), done.
Checking out files: 100% (), done.ut files:
Checking out files: 100% (), done.out files:
Checking out files: 100% (), done. out files:
8% (755/8843)
Checking out files: 100% (), done.ut files:
Checking out files: 100% (), done.ut files:
Checking out files: 100% (624/624), done.
Checking out files: 100% (974/974), done.ng out files:
1% (12/974)
Checking out files: 100% (667/667), done.ng out files:
15% (104/667)
Checking out files: 100% (370/370), done.ng out files:
8% (30/370)
Checking out files: 100% (), done. out files:
29% (720/2407)
Checking out files: 100% (), done. out files:
1% (27/2412)
Checking out files: 100% (974/974), done.
Checking out files: 100% (), done.ut files:
Checking out files: 100% (81/81), done.
Checking out files: 100% (441/441), done.ng out files:
46% (205/441)
Checking out files: 100% (), done.
Syncing work tree: 100% (294/294), done.
  -----------------------------------------------------Below is another solution, but it is not fix my problem,my be you can try it-----------------------
  The error:
  Exception in thread Thread-119:
Traceback (most recent call last):
File &/usr/lib/python2.7/threading.py&, line 552, in __bootstrap_inner
self.run()
File &/usr/lib/python2.7/threading.py&, line 505, in run
self.__target(*self.__args, **self.__kwargs)
File &/home/cxl/android_source/.repo/repo/subcmds/sync.py&, line 200, in _FetchHelper
clone_bundle=not opt.no_clone_bundle)
File &/home/cxl/android_source/.repo/repo/project.py&, line 968, in Sync_NetworkHalf
and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
File &/home/cxl/android_source/.repo/repo/project.py&, line 1526, in _ApplyCloneBundle
exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
File &/home/cxl/android_source/.repo/repo/project.py&, line 1590, in _FetchBundle
raise DownloadError('%s: %s ' % (req.get_host(), str(e)))
DownloadError: androi: &urlopen error [Errno 8] _ssl.c:503: EOF occurred in violation of protocol&
error: RPC result=56, HTTP code = 200B
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
warning: https unexpectedly said: '0000'
error: Cannot fetch platform/external/qemu
===========solution:==========================
  ()有段说明,如果认真执行就可解决。
1. 浏览器登录,并用gmail帐号登录;
2. 点击网页上的“允许访问”,得到类似:
1. machine androi login git-&userName&gt password &password&
2. machine android-revie login git-&userName&gt password &password&
3. 把上面那段信息(&userName&和&password&用自己得到的真实信息)追加到~/.netrc文件结尾;
4. 下载地址的URI更改为(中间加上了“/a”)。
然后按照官网描述的正常步骤操作,即可拉下Android源码。
官方的说法是:因为访问基本是匿名的,为了防止连接过多,对同一IP地址的连接数做了一定的限制。看来是用gmail帐号进行认证。
这样的话,在公司网络内或者用虚拟机下载的话,会经常遇到这问题。
&这一步骤必须把之前的.repo删除掉才行.
本问题标题:
本问题地址:
温馨提示:本问题已经关闭,不能解答。
暂无合适的专家
&&&&&&&&&&&&&&&
希赛网 版权所有 & &&&&湘教QS2-164&&增值电信业务经营许可证湘B2-

我要回帖

更多关于 android source 下载 的文章

 

随机推荐