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

查看:39
本文介绍了运行按钮在 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天全站免登陆