Step 1: Download JDK
Step 2: Click on Install
Click on Next
Click on Next
Installing……
Click on Close
Now set Environment Variable for Java
Use the following steps
Copy Path
Mine is:
C:\Program Files\Java\jdk-20\bin
Click on Environment Variable
Choose Path under System variable
Click on Edit
Add new
Paste the Path
Click on OK
Now Click on New Under System Variable
Set the following details
JAVA_HOME
Path without bin
C:\Program Files\Java\jdk-20
Now open cmd
Check java activation
Now install Android
Open android setup
Click on Next
Do not import setting
Downloading all components