トップ 一覧 ping 検索 ヘルプ RSS ログイン

Android Studioの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!!!Android Studio

!!!キーボードショートカット
*https://developer.android.com/studio/intro/keyboard-shortcuts.html?hl=ja
*http://qiita.com/takke/items/5cbc629f7f65d6a49906

!IntelliJ IDEA 
*https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf

!!検索
,内容,ショートカット
,すべてを検索 (コードとメニューを含む),shiftキーを2回押す
,ファイルから文字列を検索,検索位置を指定して、shift+ctrl+f
!ファイル構造のポップアップを開く
*Ctrl + F12
!!編集
,内容,ショートカット
,エラーの解消,alt + enter
,メソッド移動,"alt + ↑,alt + ↓"
,メソッド一覧,ctrl + F12
!ソースの編集
,内容,ショートカット
,行の移動,shift + alt + up/down
,行の削除,ctrl + y
,,


!編集中のソースをツリーでハイライト
*Autoscroll from source
{{ref_image as_autoscroll_from_src.jpg}}
!画面を分割
*Window→Editor Tabs→Split(horizontal/Vertical)
!!ヘルプ
,内容,ショートカット
,メソッドのヘルプ,メソッドにカーソルを置いて、Ctrl+Q
,行またはブロックのエラーの修正方法を表示する,Alt+Enter
!!!デバッグ
!スクリーンキャプチャ
*Logcatのカメラアイコン
{{ref_image as_screen_capture.jpg}}
!ビルド キャッシュの削除
*https://developer.android.com/studio/build/build-cache?hl=ja
::Windows
 gradlew cleanBuildCache
::Mac/Linux
./gradlew cleanBuildCache
!!!設定

,設定内容,方法
,import文の自動整理,File-Settings-Editor-General-Auto Import-Optimize import on the fly
!設定画面
*File - Settings
!import文の自動整理
*File-Settings-Editor-General-Auto Import-Optimize import on the fly
!Debugのコンパイルオプション
*File - Settings - Build,Execution,Deployment - Debugger - Compiler : Command -line Options に、"--stacktrace"

!!!トラブル
!実機を認識しない
*File - Project Structure から プロジェクトSDKが設定されているか確認
{{ref_image android_studio_sdk.png}}