I installed android studio and now when I try to run the first application an error occurred:
"Failed to find Build Tools revision 30.0.2"
What should I do ?
I installed android studio and now when I try to run the first application an error occurred:
"Failed to find Build Tools revision 30.0.2"
What should I do ?
I have faced a similar problem like below:
Failed to find Build Tools revision 30.0.3
My Environment
I am using Ubuntu 22.04.2 LTS and my SDK location is in a different directory.
Root Cause
The wrong sdk.dir is defined in local.properties by default.
Also SDK path is not set into Project Settings(File>Project Structure)
Solution
Go to Project Settings(File>Project Structure) and add your SDK path like below.
After adding the SDK path, you will find the proper sdk.dir is defined in local.properties like below: