<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Calvin's Tech Space

    成于堅忍,毀于浮躁

       :: 首頁 :: 聯系 :: 聚合  :: 管理
    To set up your Linux development environment, make sure you have the following: 

        * Required Packages: 
              o Git 1.5.4 or newer and the GNU Privacy Guard. 

              o JDK 5.0, update 12 or higher.  Java 6 is not supported, because of incompatibilities with @Override. 

              o flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.  

        $ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev 

        * You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc. 

        $ sudo apt-get install valgrind 



    I compiled Android sources yesterday on Ubuntu 9.10.
    Ubuntu 9.10 looks nice with its cute user interfaces.
    But compiling Android encounters some obstacles.
    A base line of compiling Android is instructions from www.android.com.
    http://source.android.com/download” is the exact address.

    What we need to address before starting to compile are listed below.

    1. PRODUCT_POLICY related errorAt the begining of the compile an error message shows up.
    frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone).
    To fix this open the file “build/tools/findleaves.sh” and change 89 line,
    #find “${@:0:$nargs}” $findargs -type f -name “$filename” -print |
    find “${@:1:$nargs-1}” $findargs -type f -name “$filename” -print |


    2. fprintf declaration errorThe compiling stops with several error messages.
    All of those error are same.

    frameworks/base/tools/aidl/AST.cpp:10: error: ‘fprintf’ was not declared in
    this scope

    This error is caused by the gcc 4.4. Ubuntu 9.10 comes with gcc 4.4.
    Gcc 4.4 has more strict rules than previous versions.
    To fix this error install gcc 4.3.

    • Install gcc-4.3 and g++-4.3

    sudo apt-get install gcc-4.3 g++-4.3

    • In the /usr/bin delete gcc and g++ which are soft links of gcc-4.4 and g++-4.4.
    • Link gcc-4.3 and g++-4.3 to gcc and g++ respectively.

    sudo ln -s gcc-4.3 gcc
    sudo ln -s g++-4.3 g++

                 If you have a problem getting gcc-4.3 package, refer to a post about changing packaging repository first.

    http://www.mobileadvice.com.au/2009/11/how-to-install-jdk5-on-ubuntu-9-10/


    3. Install JDK5This is posted in another post.
    http://www.mobileadvice.com.au/2009/11/how-to-install-jdk5-on-ubuntu-9-10/

    Enjou your Android!



    posted on 2010-06-29 21:28 calvin 閱讀(394) 評論(0)  編輯  收藏 所屬分類: Android
    主站蜘蛛池模板: 1a级毛片免费观看| 色片在线免费观看| 久久精品国产亚洲av水果派| 69国产精品视频免费| 亚洲人成网站在线在线观看| 亚洲欧洲日产国码一级毛片| 免费看搞黄视频网站| 91在线亚洲综合在线| 国产亚洲精品激情都市| 黄网站色在线视频免费观看| 阿v视频免费在线观看| 亚洲一区二区成人| 伊在人亚洲香蕉精品区麻豆| 18禁止看的免费污网站| 免费一区二区三区在线视频| 亚洲成色www久久网站夜月| 国产乱子伦精品免费无码专区| 亚洲人成色777777在线观看| 久久久久亚洲精品无码系列| 亚洲AV午夜成人影院老师机影院| 日本亚洲欧洲免费天堂午夜看片女人员| 亚洲综合激情另类专区| 亚洲欧洲在线观看| 亚洲熟女乱色一区二区三区| 九九精品国产亚洲AV日韩| 国产精品美女免费视频观看| 在线涩涩免费观看国产精品 | 在线观看亚洲成人| 欧洲精品码一区二区三区免费看| 精品亚洲A∨无码一区二区三区| 婷婷亚洲天堂影院| 一二三四在线播放免费观看中文版视频 | 国产精品亚洲а∨天堂2021 | 成人av免费电影| 84pao国产成视频免费播放| 高h视频在线免费观看| 亚洲精品123区在线观看| 亚洲人成网站在线播放影院在线| 丁香五月亚洲综合深深爱| 四虎永久免费影院在线| 扒开双腿猛进入爽爽免费视频|