Android Studio 不显示新的活动选项 [英] Android Studio doesn't show new Activity option
问题描述
我的 android studio 响应不佳.它不显示新的活动选项.即使它也不显示其他选项.我清理并重建项目.甚至我也多次重启 Android Studio.请帮我解决这个问题.
My android studio doesn't responding well. It does not show new Activity option. Even it does not display other option too . I Cleaned and rebuild the project . Even I restart Android studio several times too . Please Help me to solve this issue.
推荐答案
我遇到了同样的问题并尝试了很多我在网上找到的东西,但没有任何效果.然后我开始尝试一些随机的东西,当我运行文件 - > 同步项目与 Gradle 文件"时,它开始为我工作.我现在可以按预期创建活动,例如右键单击 -> 新建 -> 活动 -> 等
I ran into this same issue and tried numerous things that I found online but nothing worked. Then I just started trying out random things and when I ran "File -> Sync Project with Gradle files" it started working for me. I can now create Activities as expected, e.g. right-click -> New -> Activity -> etc.
这篇关于Android Studio 不显示新的活动选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!