When Android Studio imports the project, it encounters sdk location not found. The Android development import project cannot be run.

sdk location not found: The location of sdk cannot be found,

 Reference situation: The sdk path of the imported project may be different from the sdk path of your local machine, causing the sdk to fail to operate normally.

Solution: Find the path where the sdk is stored on the local machine, and then go to the local.properties directory to modify the path where you store the sdk to solve the problem.

eg:

 After modification, if the sdk is different in the subsequent imported project, AS will pop up a prompt box, just click OK and wait for loading.

eg:

More reference articles: (3 messages) Android Studio encountered sdk location not found_"Logged out" blog when importing the project-CSDN Blog

Android Studio encountered sdk location not found error when importing the project_sdk location not found. define a valid sdk locatio_Hfengxiang's blog-CSDN blog

Guess you like

Origin blog.csdn.net/zkf325/article/details/130977542