If you're not a Mac, or you don't see this address, you can download it from this address.
Http://dl.google.com/android/studio/android-studio-bundle-130.677228-mac.dmg
Download it and drag it to the Aplications to complete the installation.
After the installation is complete the icon is like this
Run will let you choose whether to import the previous
Extract the selected code as a variable
Command + Option + V
Extract the selected code in the method as a property (local to global, opposite to inline)
Command + Option + F
Extracting constants
Command + Option + C
Parameters extracted as methods
Command + Option + P
Version Control/Local History
Commit Project to VCS
Command + K
Update Project from VCS
Command
VSC By default F12 can see the definition (Go to definition), you can see the definition of the class or method;However, in a Mac environment, sometimes pressing F12 does not take effect, but the menu bar's Go option is started,A 2-aspect check is required at this time:1. VSC for the item is a folder, if you open the file is not within a folder, some properties may not take effect2. There is no plugin installed for the corresponding language, if you o
VS for Mac has a strange problem connecting to git and can't bind and commit existing solutions to GitHub.VS Version 7.3.3Problem recurrenceThink you have problems with the operation, the new project test, the new time did not check the "Use git" option,The new project default selects the root of the solution, but opens the version Control menu and discovers that Publish in version control ... Options are not available, such as, It's all grey except c
Sort and share shortcuts for original mac AndroidStudio and help studio quickly organize code
I have been using Android studio for six months. I have been switching from Windows to mac for a week. By checking some information and exploring for yourself, you can record some common shortcut keys and hesitate to change th
Mac Android Studio installation error
Internal error. Please https://code.google.com/p/android/issues
Java.lang.RuntimeException:java.lang.IllegalArgumentException:Argument for @NotNull parameter ' name ' of Com/android/ Tools/idea/welcome/platform.
Solution:
0: Open the command line and switch to the Android Studio directory
Cd/applications/android\ Studi
1, first configure the hosts and Permissions reference: http://blog.csdn.net/freewebsys/article/details/421247852, enter the installation interface3, select the installation directory this directory must have no SDK. Need to re-download a new one. Need to have enough disk spacesudo mkdir/library/androidsudo chmod 777 Android4, set the memory allocation size! Note that this is the Intel HAXM. The default is to use HAXM, fast.5, agree to the license agreement6. Start installation Note that Intel's
Try this to solve the difficulties of accessing Google servers in ChinaLaunch Android SDK Manager, open the main interface, select "tools", "options...", pop up the "Android SDK manager-settings" window;In the Android SDK manager-settings window, fill in port"and 80 in the"http proxy server"and"http proxy mirrors.neusoft.edu.cn input boxes, and select "force c2>https:// ... Sources to be fetched using/ http ..." check box. Click the "close" button to close the "Android SDK manager-settings" wind
Configure android studio on mac, androidstudio1, first configure hosts and permission reference: http://blog.csdn.net/freewebsys/article/details/421247852. Go to the installation page.3. if you select the installation directory, there must be no sdk. You need to download a new one. Sufficient disk space is requiredSudo mkdir/Library/AndroidSudo chmod 777 Android4. Set the memory allocation size! Note that t
Mac shortcut for Android Studio
Annotate the code (//) Cmd +/
Annotate the code (/**/) Cmd + Option +/
Format the code Cmd + Option + L
Clear invalid package reference Option + Control + O
Search for Cmd + F
Global Search class Name Cmd + O
Global search Option + Cmd + O; click Shift twice
Search + replace Cmd + R
Move Up/Down code Option + Shift + Up/Down
Delete row Cmd + Delete; Cmd + X
Copy ro
Plus/delete ---> Collapse, unwind code blocksCommand 1 ---> Hide, show Project Sidebaralt E (self-setting) ---> Positioning highlighting errorsalt command O ---> Find variables in a class by certain charactersalt F (self-setting) ---> Displays the current file structure, which is the method in the Display class (You can manually select an anonymous method).CTRL O ---> Ways to replicate a parent classalt command/[ ---> Jump to the beginning or end of curly braces when viewing code.alt command T
The most common shortcut keys for Android Studio (Mac version)
How to Set important shortcut keys:
Android Studio-> References-> Keymap1. expand and contract the Code:
Setting Method: Main menu-> Code-> Folding-> Expand/Collapse
2. Global Search:
Setting Method: Main menu-> Edit-> Find in Path
3. Global replacement (super practical ):
Setting Method: Main m
When a lot of people talk about this, they always just mark the code and don't say why.Keytool-list-keystore Debug.keystoreKeytool This is a tool in the Java JDK (this is also used for signature files)Open the Terminal in Android Studio , or you can open the system directly Get Debug.keystore 's SHA1 and MD5 Keytool-list-v-keystore ~/.android/Debug.keystore-alias Androiddebugkey-storepass Android-keypass Android To obtain other KeyStore , such
Class Javalaunchhelper is implemented in both/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/home/bin/ Java and/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/home/jre/lib/libinstrument.dylib. One of the both would be used. Which one is undefined Windows does not have this problem, some people say JDK problem, try Jdk7 and jdk8 have this problem, later found that the reason is and gradle the latest plug-in incompatible, changed to 1.5.0 after the resolution!Classpath ' com
The strange problem that Visual Studio 2017 for Mac is connecting Git, just Git
VS for Mac encountered a strange problem when connecting Git, and the existing solution could not be bound and submitted to GitHub.
VS version 7.3.3Recurrence
If you think there is a problem with your operations, create a project and test it. The "Use git" option is not checked dur
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.