Android studio设置及自定义快捷键
-
快捷键(settings.jar)
Open settings Ctrl+Alt + S
Open project structure dialo Ctrl+ Alt + Shift + S
自动导包 Alt+enter
Find Usages ctrl + G
Jump to source ctrl+shift+e
Find in path ctrl +H
Find class ctrl + F3
Open file structure ctrl + F2
Open method hierarchy ctrl + Shift + H
Open call hierarchy ctrl + Alt + H
Extract ctrl + Shift + M
Generate ctrl + Alt + M
Surround with ctrl + Alt + T
-
AS编译apk指定名称
在defaultConfig同级下添加代码:
android.applicationVariants.all { variant -> variant.outputs.all { // 此处指定生成的apk文件名 outputFileName = "FindApp.apk" } }