2013年5月28日 星期二

關於 android envsetup.sh的使用注意事項

envsetup.sh用來協助設定android的編譯環境。使用該script一定要在android/目錄之下:

user:productXXX/android$  source build/envsetup.sh
( 列出類似以下訊息代表envsetup.sh執行成功,否則失敗)
including  device/magiclab/xxx/vendorsetup.sh
including  device/magiclab/yyy/vendorsetup.sh
  ...
user:productXXX/androidlunch
(如果不在android/目錄下執行lunch指令,在選擇編譯設定後,會出現"Couldn't locate the top of the tree. Try setting Top."錯誤)
        1.  full-eng
        2.  full_x86-eng
        ...

沒有留言:

張貼留言