Get android source

  狗日的csdn,改个名字还要积分!!
  
  
  
  
  
  To set up your Linux development environment, make sure you have the following: The following packages: flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl. To make sure you have all these packages, run
  $ sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev
  You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc. To install it, run
  $ sudo apt-get install valgrind
  What is a manifest file? The Android source files are divided among a number of different repositories. A manifest file contains a mapping of where the files from these repositories will be placed within your working directory when you synchronize your files.
  To pull down files to your working directory from the repositories as specified in the default manifest, run
  $ repo sync
  For more about repo sync and other Repo commands, see Using Repo and Git.
  The Android source files will be located in your working directory under their project names.
  [b]Building the code [/b]
  To build the files, run make from within your working directory:
  $ cd ~/mydroid
  $ make
  If your build fails, complaining about a missing "run-java-tool", try setting the ANDROID_JAVA_HOME env var to $JAVA_HOME before making. E.g., $ export ANDROID_JAVA_HOME=$JAVA_HOME
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值