android studio“运行”按钮不出现
我的Android Studio停止显示“运行”按钮(在没有问题的情况下显示该项目之前)。我尝试了几种解决方案,例如:“无效的缓存”,“与Gradle文件的同步项目”和“尝试使用快捷方式Shift + F10运行”,但都无法使用。
选定的模块是正确的。
我的Android Studio版本
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+0-b60-7590822 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true, debugger.watches.in.variables=false
Non-Bundled Plugins: com.wakatime.intellij.plugin (13.1.14), org.jetbrains.kotlin (211-1.6.20-release-275-AS7442.40), com.developerphil.adbidea (1.6.4), org.intellij.plugins.markdown (211.7142.37)
My android studio stopped showing the "run" button (before it showed this project without problems). I've tried several solutions like: "invalidate caches", "sync project with gradle files" and "try run using shortcut shift + F10", but none of it worked.
The selected module is correct.
My Android Studio Version
Android Studio Bumblebee | 2021.1.1 Patch 2
Build #AI-211.7628.21.2111.8193401, built on February 17, 2022
Runtime version: 11.0.11+0-b60-7590822 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true, debugger.watches.in.variables=false
Non-Bundled Plugins: com.wakatime.intellij.plugin (13.1.14), org.jetbrains.kotlin (211-1.6.20-release-275-AS7442.40), com.developerphil.adbidea (1.6.4), org.intellij.plugins.markdown (211.7142.37)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我设法解决这个问题如下:
I managed to solve this problem as follows:
由于 IntelliJ 产品的可定制性非常高,因此您可能删除了
Run
按钮。前往
Android Studio >首选项>外观&行为>菜单和工具栏
搜索
工具栏运行操作/运行/调试
如果您没有看到
运行
,您可以通过恢复操作
进行恢复希望,它会有所帮助。
As IntelliJ products are very highly customizable, it is possible that you deleted the
Run
button.Go to
Android Studio > Preferences > Appearance & Behaviour > Menus and Toolbars
Search for
Toolbar Run Actions / Run/Debug
If you do not see
Run
, you may restore byRestore Actions
Hope, it helps.
在Android Studio海豚中
转到塔巴尔 - >文件 - >维修IDE。
看警告并点击维修索引。这是为我解决的。
In Android Studio Dolphin
Go to TabBar -> File -> Repair IDE.
Look warning and click repair index.This was solved for me.
关闭Android Studio,DELETE .IDEA文件夹,重新启动为。
Close Android Studio, delete .idea folder, restart AS.