“使用Gradle文件同步项目"在哪里?Android Studio 3.5.3中选择哪个选项? [英] Where is the "Sync Project With Gradle Files" option in Android Studio 3.5.3?

查看:164
本文介绍了“使用Gradle文件同步项目"在哪里?Android Studio 3.5.3中选择哪个选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Android Studio的新手,但是找不到使用Gradle文件同步项目"

Android Studio 3.5.3版中的

选项.我目前正在使用Flutter开发应用程序.

我确实发现,在Android Studio的先前版本中(我不确定是哪个,对不起!),似乎可以通过以下方式找到使用Gradle文件同步项目"选项:点击文件>在工具栏上将项目与Gradle文件同步

.

(附有有关以前的使用Gradle文件同步项目"位置的图像)

文件

工具栏

但是,在我的Android Studio版本3.5.3的 File 或工具栏中都找不到它.没有这样的选择.

很抱歉,如果这个问题已经在其他地方得到回答,或者这个问题是重复的.(这也是我第一次发布堆栈溢出中的一个问题)如果有人可以,我将不胜感激帮帮我...谢谢你

解决方案

此图标未显示,因为您位于Flutter项目中.

如果直接在Android Studio上打开Flutter项目内的Android项目,则AVD Manager(设备管理器)旁边会出现一个图标,该图标看起来像个小精灵,箭头指向左下角角落.这是执行将项目与Gradle文件同步"操作的按钮.

第一次直接打开Android项目时,该图标可能要过一分钟才会变灰,因为Android Studio将同步所有文件,如您在底部栏中所见./p>

I'm new to Android Studio and I'm having trouble in finding the "Sync Project With Gradle Files"

option in Android Studio version 3.5.3. I'm currently developing applications with Flutter.

I did find out that in the previous version of Android Studio (I'm not sure which, sorry!), it seems that the "Sync Project With Gradle Files" option can be found by clicking File > Sync Project With Gradle Files OR at the toolbar.

(Attached are images regarding previous "Sync Project With Gradle Files" locations)

File

toolbar

However, I could not find it in my Android Studio version 3.5.3's File nor at the toolbar. There is no such option.

I am sorry if this question has already been answered else where or the question is a duplicated one. (This is also my first time posting a question in Stack Overflow) I would be very grateful if someone can help me with this...thank you in advance

解决方案

This icon is not showing up because you are inside your Flutter project.

If you open the Android project, that is inside your Flutter project, directly on Android Studio, an Icon will appear next to the AVD Manager (Device Manager) that looks like a little elefant with an arrow pointing diagonally to the bottom left corner. That is the button that does the action "Sync project with Gradle Files".

The first time you open the Android project directly it may take a minute for that icon to not be greyed out, as Android Studio will be syncing all the files, as you'll be able to see on the bottom bar.

这篇关于“使用Gradle文件同步项目"在哪里?Android Studio 3.5.3中选择哪个选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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