简体   繁体   中英

Unable to launch emulator in Android Studio (error: Loading Devices)

I have a new PC and cloned my Android git repo to my device.

When I open my Android projects that are cloned from Git, I'm unable to launch the emulator. It shows "Add Configuration..." and "Loading Devices...".

在此处输入图像描述

However, when I created a new project from scratch on my new machine, the buttons work fine

在此处输入图像描述

I suppose it has something to do with my configuration files in the projects from Git, but I'm not sure what it is.

I don't have Flutter installed. I also noticed there's a missing module.

None of these worked:

Realized settings.gradle was missing because of.gitignore when cloning to the new device. After commenting out the exclusion in.gitignore and recloning the repo, it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM