Set the maximum number of characters per line
Set the maximum number of characters per line. If this number is exceeded, the line will be broken directly.
File–>settings–>Editor–>Code Style-->Java–>Hard wrap at:
Line breaks is selected to indicate that the hiddenness maintains line breaks
Ensure right margin is not exceeded If selected, it means that the code will automatically wrap if it exceeds the standard line
Multi-line display Tabs
By default, a single row of Tabs is displayed:
Display Tabs in multiple rows:
Setting method:
File–>settings–>Editor–>General -->Editor Tabs–>去掉√
Android Studio configures local JDK
File–>settings–>Build,Execution,Deployment–>Build Tools–> Gradle–>Gradle JDK
Android Studio configures local Gradle
1. Download and decompress Gradle locally. (slightly)
2. Configure the Gradle environment in the system environment. (slightly)
3. Configure local Gradle in Android Studio
File–>settings–>Build,Execution,Deployment–>Build Tools–> Gradle–>Gradle user home