[英]Unable to Run .java file in Android Studio 4.0.1, Edit Configuration appears
While trying to Run the application, "Edit Configuration" appears and this below window opens:在尝试运行应用程序时,会出现“编辑配置”并打开以下窗口:
How to proceed after this?这之后如何进行?
Pressing "Run" button does nothing.按“运行”按钮什么也不做。
Further on expanding the Templates drop-down, I am getting no-module in the Module box which is the only option available there.进一步扩展模板下拉菜单,我在模块框中得到了无模块,这是那里唯一可用的选项。
Its because you haven't created the main activity / First activiy (module)这是因为您还没有创建主要活动/第一个活动(模块)
Also try refactoring your modules and package name也尝试重构你的模块和包名
You will be promted to select an activity when starting a project, you might have missed it开始项目时会提示您选择一项活动,您可能错过了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.