cocos2dx編譯安卓版本號碼查看C++錯誤

來源:互聯網
上載者:User

標籤:doc   cat   orm   profile   ack   data-   users   min   c++   

首先,在Mac以下相關軟體路徑,開啟“終端”,然後輸入  pico .bash_profile  斷行符號

export COCOS2DX_ROOT=/Users/bpmacmini01/Documents/cocos2d-2.1rc0-x-2.1.2/export NDK_ROOT=/Users/bpmacmini01/Documents/AndroidDevelop/ndk-r9dexport ANDROID_NDK_ROOT=/Users/bpmacmini01/Documents/AndroidDevelop/ndk-r9dexport ANDROID_SDK_ROOT=/Applications/adt/sdkexport PATH=$ANDROID_NDK_ROOT:$PATHexport PATH=$ANDROID_SDK_ROOT:$PATH

基本路徑就是上面的了。這裡進行這個操作。僅僅是想讓你看下我的配置路徑。然後,在終端中輸入sdk 的路徑

cd /Applications/adt/sdk/platform-tools 

之後。僅僅用輸入
./adb logcat | ndk-stack -sym ./obj/local/armeabi

當執行安卓應用時,假設是c++的錯誤。就會在終端中提示錯誤的檔案及行數,方便c++調試。

cocos2dx編譯安卓版本號碼查看C++錯誤

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.