在Android Studio中禁用了运行按钮 [英] Run Button is Disabled in Android Studio

查看:93
本文介绍了在Android Studio中禁用了运行按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法点击运行按钮.有人知道如何解决吗?

I can't click the run button. Does anyone know how to fix it?

推荐答案

单击菜单上的运行,然后单击编辑配置...,然后单击左侧的Android应用程序,然后单击+按钮.从弹出菜单中选择"Android应用程序".然后选择模块(通常是应用程序或类似的应用程序).然后单击应用",然后单击确定.

Click Run on the menu and then Edit Configurations... then click on Android Application on the left and click the + button. Choose Android Application from the pop-up menu. Then pick the module (its normally app or something like that). Then click apply and ok.

如果之后出现更多错误,请尝试在Android Studio中重新导入项目.

If you have more errors after that, try to re-import the project in Android Studio.

这篇关于在Android Studio中禁用了运行按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆