Android Studio使用手冊

來源:互聯網
上載者:User

以下設定Android Studio和IntelliJ IDEA通用(因為Android Studio就是IDEA)

1.中文亂碼顯示解決:
Settings -> Editor -> Appearance -> 選擇Theme -> 然後勾選上下面的Override default fonts by:在Name中選擇一個支援中文字型的字型:比如微軟雅黑,serif, sansSerif等,並設定Size,一般為15就可以了,自己可以調,這個設定主要是IDE的功能表標題欄字型和樣式等,然後儲存即可。

2.顯示行號
Settings -> Editor -> Appearance -> Show line numbers勾選上

3.讓編輯視窗支援Ctr+滑鼠左鍵縮放修改字型大小
Settings -> Editor -> Mouse選項欄中勾選“Change font size(Zoom) with Ctrl+Mouse Wheel”

4.修改主題和字型 大小
Settings -> Editor -> Colors & Fonts -> Font -> 在“Scheme name”選擇一個主題樣式並另存新檔:xx,xx自己起名,font size自己可以設定如15,17等,下面的左欄是可選字型列表,右側為當前系統編輯器的字型,選擇一個字型,並修改字型大小,儲存即可。

5.檔案編碼
Settings -> File Encodings -> IDE Encoding / Project Encoding 可以自己選擇編碼GBK, GB2312或UTF8等,根據自己需要。

--------------------------------------------------------

相關參考連結:

 Getting Started with Android Development(IntelliJ IDEA官方文檔-用IDEA 開發Android)
http://confluence.jetbrains.com/display/IntelliJIDEA/Getting+Started+with+Android+Development

 

Getting Started with Android Studio | Android Developers
http://developer.android.com/sdk/installing/studio.html#download

 

Android Studio設定主題 和 不支援中文(改成如微軟雅黑,Serif, SansSerif等等都可)的問題解決方案

http://www.linuxidc.com/Linux/2013-05/84488p2.htm

 

初探Android Studio及遇到的一些問題和解決
http://www.linuxidc.com/Linux/2013-05/84899.htm

 ---------------------------------------------------------

Gradle用法:

:http://www.gradle.org/

下載後解壓到任意路徑,然後將gradle的bin目錄加入系統內容變數的path路徑

gradle -v命令驗證安裝

gradle -q 參數q讓Gradle不要列印錯誤之外的日誌)
gradle clean build

 

Google官方給出的Gradle用法(Gradle Plugin User Guide):

http://tools.android.com/tech-docs/new-build-system/user-guide

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.