Android Studio 3.3卡在项目设置中:从缓存读取 [英] Android Studio 3.3 Stuck at Project Setup:reading from cache

查看:293
本文介绍了Android Studio 3.3卡在项目设置中:从缓存读取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用NDK创建了模块库.更新了Android Studio 3.3之后,在卡在构建项目上的Studio上打开项目

I have create module library with NDK. After updating Android Studio 3.3, open project on studio stuck on build project

项目设置:正在从缓存中读取...

Project Setup:reading from cache...

每次在工作室工作后需要无效并重新启动" android studio.

Every time needs to "Invalidate and Restart" android studio then after studio working.

我尝试删除 .gradle 文件夹,但仍然遇到此问题.

I have try to delete .gradle folder but still facing this issue.

我该如何解决Studio 3.3的这种不良行为?

How can I solved this misbehavior of studio 3.3?

推荐答案

我没有足够的声誉来发表评论,所以我将其发布为答案.

I don't have enough reputation to comment so I'll post this as an answer.

  • 之后,您无效并重新启动,您是否尝试过构建->清理项目,然后重新构建然后再次同步?

  • After you Invalidate and Restart have you tried Build->Clean Project and rebuilding then syncing again?

您是否尝试过重新启动计算机以打开可能阻止清除缓存的任何进程?

Have you tried restarting your computer to turn of any processes that may keep caches from clearing?

您是否也尝试过升级gradle版本(在gradle-wrapper.properties内部)?

Have you tried upgrading your gradle version as well (inside your gradle-wrapper.properties)?

您是否在文件->设置->构建,执行,部署-> Gradle 中检查了gradle路径是否正确?

Have you checked if your gradle path is correct at File -> Settings -> Build, Execution, Deployment -> Gradle?

您是否尝试过定位gradlew并执行gradlew cleanBuildCache?

Have you tried locating your gradlew and doing a gradlew cleanBuildCache?

您是否尝试过删除C:\Users\{Your Username}\.gradle\caches文件夹?

Have you tried removing the C:\Users\{Your Username}\.gradle\caches folder?

您是否尝试过完全禁用缓存构建(会减慢构建速度,因此不建议这样做)?为此,您必须转到gradle.properties文件并设置android.enableBuildCache=false

Have you tried disabling cache building altogether (will slow down your build and is not recommended)? To do this you have to go to your gradle.properties file and set android.enableBuildCache=false

这篇关于Android Studio 3.3卡在项目设置中:从缓存读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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