简体   繁体   中英

Android Studio - Error running MainActivity: Unknown run configuration type AndroidRunConfigurationType

Everything was working fine a while ago, but then I started getting this error, which is really troubling:

两个木偶三个木偶四个木偶 I just reinstalled Android studio and still showing me this issue. Does anybody know what I can change to get a solid configuration back so I can run main activity? The configuration windows give me little to work with.

Thanks in advance for any pointers -T

Figured it out. There was a weird bug in the plugins section of preferences. Android support was unchecked and a couple of others simply needed to be toggled as they were red. Scary.

如果您的笔记本电脑是Mac,请检查SDK的路径是否正确设置;检查JDK问题; openJDK遇到计算机相关的问题

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