How to build android

原创 2011年01月11日 10:50:00

Android Framework的开发过程中,常常需要选择使用的编译源码命令。

正确的命令往往会让你事半功倍。

1. 完全编译

  $ cd ~/android-source-code/

      $ make

 

2. SDK编译

  $ cd ~/android-source-code/

  $ make sdk

 

3. 编译系统映像system.img

  $ make snod

 

4. 更新API

      $ make update-api

 

 

5. 模块编译之mm

  $ cd ~/android-source-code/

  $ . build/envsetup.sh                          //注: 是 [点] + [空格] + [build/envsetup.sh]

      这样你就可以在当前的Tirminal使用以下命令了

   m  /* makes from the top of the tree*/

         mm  /* builds all of the modules in the current directory*/

         mmm  /* builds all of the modules in the supplied directories*/

 

 

6. 模块编译之make

      $ make [module name]

                                           本文来自http://blog.csdn.net/luqiang454171826 ,引用必须注明出处!

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

How to build Android Windows SDK

0. Build sdk in Linux $ cd mydroid $ make PRODUCT-sdk-sdk 1. Install jdk in Windows to E:\Java...

How To Build CyanogenMod Android (oneplus/bacon) On Linux

本文主要是对已经repo sync完所有cm12源码后,对一加手机(oneplus/bacon)Rom编译工作,其他版本可以举一反三。 Nexus 7 (“grouper”)build参考

How to build and debug android source code

System: ubuntu 14.04 1. download source code out/host/linux-x86/bin/emulator -sysdir out/tar...

How to Build Android Applications Based on FFmpeg by An Example

This is a follow up post of the previous blog How to Build FFmpeg for Android.  You can read the p...

How to build Android adb for ARM .

Thanks to Google I’ve just found searching in many Forum threads the way to build adb on ARM arch. ...

How to Build and Run Android L 64-bit ARM in QEMU

As many others, I can't wait to put my hands on Android running on aarch64 (arm-v8) and as many othe...

How to build CP2K with Intel Compiler 12.1, OpenMPI-1.4.3 and Infiniband Support

http://hpc.xrqtc.com/index.php/articles-tutorials/192-how-to-build-cp2k-with-intel-compiler-121-open...
  • tengh
  • tengh
  • 2012-06-07 17:11
  • 1050
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)