1. 程式人生 > >Android studio 初始設定

Android studio 初始設定

1.compiler 勾選 Make project automatically(only works while not running/debugging) 自動編譯

2.設定File Encodings 中的編碼 IED ENcoding,Project Encoding,Default encoding for properties files 改為UTF-8

3.Gradle 中 勾選 offline work 加快編譯速度

4.設定Tasks 中的Connection timeout 這個是設定連線超時時間

5 在 Appearance 勾選 Override default fonts by(not recommended)這個防止程式碼中出現(口口口)
設定字型 Override default fonts by(not recommended) name 設定為Simplified Arabic Size設定為16 這不能改變程式碼字型大小

6.Editor>General 勾選 Show quick doc on mouse move Delay設定顯示程式碼的提示資訊

7.設定Font中的字型 字型最好懸著Consolas

8.設定Code Completion 設定Auto_insert when only one choice on選著為None 模糊匹配 不區分大小寫

9.設定Auto Import勾選Add unambiguous imports on the fly 勾選後自動導包 警告:優點大於缺點

最好設定一下Appearance 中勾選一下 可以把程式碼分割的更加清楚

設定File and Cide Templates 中的Includes 穿件類時自動寫入標頭檔案