M1 chip download and install Android Studio [nanny level graphic tutorial]

Download and install steps

(1) By default, you have already installed JDK (if not, you can go to the JDK download address to install JDK first, of course, you can also download it internally), first enter the official website Android Studio , click download, and then select the appropriate chip, that is Mac with Apple chip.

image-20221020115316147

image-20221020115339767

(2) Drag the app in and install it.

image-20221020120727108

(3) After the installation is complete, open Android Studio and select Do not import settings.

image-20221020120914728

(4) Since the SDK is not installed, this prompt will appear, click CancelCancel first.

image-20221020121414598

(5) clickNext

image-20221020121504681

(6) Select StandardSettings and continue clicking Next.

image-20221020121619464

(7) Choose your favorite theme interface, I like it here Darcula, after you choose it, you can go in and modify it, so you can choose whatever you want.

image-20221020121731572

(8) CONTINUE Next.

image-20221020121925668

(9) This is to ask you to agree to install some components. After clicking both Accept, you can click Finish. Of course, you can read the introduction inside.

image-20221020122704065

(10) Waiting for downloading.

image-20221020122744239

(11) In the middle of the process, I don’t know if my network was disconnected or what happened. The download failed, and then I clicked to Retrydownload again.

image-20221020125418929

(12) When the download is complete, click Finish.

image-20221020130118280

Start Android Studio

(1) Open Android Studio and click to New Projectcreate a new project.

image-20221020135407131

(2) There will be some new project types for you to choose. You can choose this by yourself. I usually choose it when I am doing a new project Empty Activity, and then click Next.

image-20221020135651853

(3) Then fill in the information here and click Finish.

image-20221020140035560

(4) The SDK is being installed here.

image-20221020141007563

(5) After the installation is complete, clickFinish

image-20221020141133220

(6) Then we enter the project, and some configuration files are being downloaded in the lower right corner, and we need to wait for a while.

image-20221020141157817

(7) I think the download is still a bit slow, of course it also depends on the speed of the network. After downloading these configuration files, the status bar on the top will change, and it will be gray when it is not downloaded.

image-20221020143215229

(8) Click the Run button to run the current program.

image-20221020144032137

(9) SUCCESSFUL RUN.

image-20221020144155521

So far, all have been downloaded and installed successfully.


Android Studio configures local JDK

(1) Click Android Studioin the tab barPreferences

image-20221020141906516

(2) Click the picture below to enter Gradle.

image-20221020142011900

(3) It can be seen that the default JDK of Android Studio is used now.

image-20221020142136076

(4) Select the existing JDK locally. Of course, you can click Download JDKto download the required JDK version, because sometimes the required JDK version will be different.

image-20221020142247405

Guess you like

Origin blog.csdn.net/weixin_44786971/article/details/127427304