- 浏览: 214656 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (196)
- android (153)
- sqlite (1)
- java (3)
- os (4)
- tools (4)
- ResolveInfo 转 packageinf 取信息 (1)
- multimedia (2)
- fastboot (1)
- create user in samba (0)
- android qcn (0)
- windows (0)
- net (2)
- linux (1)
- git (0)
- proguard (0)
- android cpu (1)
- android gts (1)
- MySql (1)
- c/c++ (0)
- network (1)
- python (3)
- AI (1)
- Ultroedit (1)
- HarmonyOS NEXT (0)
Initial Environment:
1. Installing the JDK
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
2.Installing required packages
on unbuntu 10.10
$ sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so
32-bit (experimental)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
libxml2-utils xsltproc
3. Downloading the Source Tree
$ mkdir ~/bin
$ PATH=~/bin:$PATH
Download the Repo script and ensure it is executable:
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u https://android.googlesource.com/platform/manifest
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 (Note that: there is 4.0 path, you can change it to a version what you want like 2.3.6_rl, 4.0 cannot be build in PC)
4. Building the System
1) set java path like this
JAVA_HOME=/home/jason/jdk1.6.0_21
PATH=$JAVA_HOME/bin:$PATH
export PATH
2). $ source build/envsetup.sh
3). $ lunch full-eng
4). make (Note: There is "make j4" in Google Doc, but if you use make j4 ,there will be quit and do not compile)
PS: Google Doc Details:http://source.android.com/source/initializing.html
1. Installing the JDK
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk
2.Installing required packages
on unbuntu 10.10
$ sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so
32-bit (experimental)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
libxml2-utils xsltproc
3. Downloading the Source Tree
$ mkdir ~/bin
$ PATH=~/bin:$PATH
Download the Repo script and ensure it is executable:
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u https://android.googlesource.com/platform/manifest
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1 (Note that: there is 4.0 path, you can change it to a version what you want like 2.3.6_rl, 4.0 cannot be build in PC)
4. Building the System
1) set java path like this
JAVA_HOME=/home/jason/jdk1.6.0_21
PATH=$JAVA_HOME/bin:$PATH
export PATH
2). $ source build/envsetup.sh
3). $ lunch full-eng
4). make (Note: There is "make j4" in Google Doc, but if you use make j4 ,there will be quit and do not compile)
PS: Google Doc Details:http://source.android.com/source/initializing.html
发表评论
-
Android SnappyDB
2018-05-15 11:23 958https://blog.csdn.net/qq_214305 ... -
使用UncaughtExceptionHandler保存全局异常(转)
2018-05-07 15:04 638From: https://blog.csdn.net/dre ... -
android udp
2018-04-10 19:47 598Android之Socket的基于UDP传输 接收方创建步骤: ... -
android DownloadManager
2018-04-10 12:52 592From: https://www.jianshu.com/p ... -
Snackbar 可以交互的Toast
2018-04-08 21:44 761Snackbar 是 Android design sup ... -
android 操作串口
2018-03-19 18:20 655http://blog.csdn.net/akunainian ... -
proguard对 android-support-v4.jar 的配置
2018-03-16 15:32 721-libraryjars libs/android-sup ... -
apk 多个dex
2018-03-16 10:05 1002android studio 配置应用生成多个dex ... -
ddmlib 解决android n file explorer 为空问题
2018-03-16 09:27 933百度云:http://pan.baidu.com/s/1sl4 ... -
android 代码混淆
2018-03-15 08:38 1049打开混淆开关 Android.mk ... -
menu item 显示icon
2018-03-07 09:32 681@Override public boolean onMenu ... -
ubuntu 脚本切换root用户,并执行其它脚本
2018-03-05 09:58 0#!/bin/bash expect -c" ... -
DrawerLayout 滑动侧边栏
2018-03-01 10:42 0// TODO -
jack-server 多用户编译问题
2018-02-27 10:44 14033),需要同时修改 $HOME/.jack-server/co ... -
更新eclipse 遇到两个问题 Oxygen.2 Release (4.7.2)
2018-02-26 14:28 12291. the file dx.jar was not load ... -
监听系统开关变化
2018-02-05 14:02 814// 转屏开关 /** * Content obse ... -
android 8.0 模块编译命令
2018-02-02 14:42 1172Invoke ". build/envsetup.s ... -
svn checkout 忽略某个文件夹
2018-01-26 11:14 1363android源码更新时, frameworks\compil ... -
eclipse jni
2018-01-19 16:10 494试过,可以运行 http://blog.csdn.net/sb ... -
opencv for android
2018-01-19 14:37 436http://blog.csdn.net/sbsujjbcy/ ...
相关推荐
compile('com.jayfeng:lesscode-core:2.1') Features 源码 备注 ActivityLess Activity相关辅助类:去标题,全屏,两次退出提示,优化Overdraw背景等 AdapterLess 打造通用的BaseAdapter,PagerAdapter,...
Codename One allows Java developers to write their app once and compile it to all mobile devices (iOS, Android etc.). It features a simulator, designer (visual theme/builder) and ports to multiple OS...
compile ' com.pddstudio:highlightjs-android:X.X.X ' } 将XXX替换为当前版本-可以在找到 将视图包含到布局中 将视图添加到您现有的布局文件。 < RelativeLayout xmlns : android = " ...
To compile this widget from source code you will need a functional Android development environment. The only dependency is the Android V4 App Compatibility library, which is included here as a stat
Wire™ This repository is ...If you compile the open source software that we make available from time to time to develop your own mobile, desktop or web application, and cause that application to con
I built and tested it with the Win32 target and switching the target to compile to Android and it just worked. Things that did not work out so well: I attempted to apply a ratio to my hard coded ...
2. **依赖管理**:了解如何声明和管理项目的外部库依赖,如`implementation`、`compile`(已弃用)、`testImplementation`等配置。 3. **多模块项目**:如果源码包含多个子模块,你会看到如何组织和管理多模块...
在Ubuntu上下载、编译和安装Android最新内核源代码是一项复杂但重要的任务,对于开发者而言,这能提供对系统底层更深入的理解和定制能力。本文将详细讲解这一过程。 首先,确保你已经按照前一篇文章的指导在Ubuntu...
If you are interested in ...has the complete source code in the book, lest this book get too large. If you wish to compile the samples, download the source code from the Apress web site (www.apress.com).
BottomSheetBehavior是从Google I / O 2018应用程序源代码中提取的一个android库。 安装: 通过JitPack(获取当前代码) 项目/ build.gradle allprojects { repositories { maven { url " ...
Samples with utility classes to compile java source code in memory After taking huge effort to look for example on the internet and found nothing work. I decided to create a very simple version. Not
一个实现多个列和可变大小元素的Android自定义ListView。 请注意,它目前处于预览状态。 从根本上讲,这意味着该API并不固定,您应该期待版本之间的变化。 样例应用程序: 在上试用示例应用程序 屏幕截图: 用法 ...
Purchase Todo.txt on Google Play, the Amazon Appstore, or download and compile the source code. This app is in active development and there are several known bugs and todo items. Using Todo.txt for ...
**编译时注解(Compile-Time Annotation):** 在编程领域,注解(Annotation)是一种元数据,它提供了关于程序的附加信息,但不直接影响程序的执行。编译时注解,顾名思义,是在编译阶段起作用的注解,它们用于指导...
使用sdk版本是Android 7.1.1,能在4.1至8.0的版本上成功执行以便减少翻录资料夹的麻烦,只留了主程序档和compile须知,有些比较复杂的介面布局档也会留下来 动画师 使用ObjectAnimator与ValueAnimator来控制一行文字...
EmotionAnalyzer-Android Highlight generator app by recognizing the reaction of users. The application captures the face of users who are watching videos and send it...Compile and run the source code in A
FlowLayout is an opensource Android library that alows developers to easily integrate flow layout into their app. FlowLayout is an layout that display its children in multiple rows depending on their ...
browse the source code of the sample application for a example of use. Including in your project Last version is 0.2 Just add the following statement in your build.gradle compile '...
KProgressHUD An implement of ProgressHUD...Source code You can download and import the kprogresshud folder as module to your project. Usage The usage of KProgressHUD is pretty straight forward. You c
Source code for the Android app MHGU Database. List of To-Dos can be found on our Trello Board Join our team on Slack. Request a slack invitation via You can also freely join our Discord. Building ...