`
cztu25cztu
  • 浏览: 10490 次
社区版块
存档分类
最新评论

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. 
  Building the code
  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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics