Project Setup:reading from cache

2019-12-30 16:23:56


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?

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

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

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

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

  • 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


  • 2020-05-06 22:23:15

    使用querySelector添加移除style和class

    document.querySelector(selector).style.styleName = 样式 使用这个方法可以对dom节点添加和移除style样式,其中的styleName可以为css样式的任何值,如:display、color

  • 2020-05-07 13:05:28

    JavaScript中批量设置Css样式

    setAttribute() 方法添加指定的属性,并为其赋指定的值。 如果这个指定的属性已存在,则仅设置/更改值

  • 2020-05-07 13:07:21

    scrollBox 跑马灯滚动js

    ​这个插件可以很好的实现跑马灯,以及轮播图等效果,scrollBox js

  • 2020-05-07 13:21:25

    JS中获取 DOM 元素的绝对位置实例详解

    在操作页面滚动和动画时经常会获取 DOM 元素的绝对位置,例如 本文 左侧的悬浮导航,当页面滚动到它以前会正常地渲染到文档流中,当页面滚动超过了它的位置,就会始终悬浮在左侧。