Best way to clear out epoxy build cache?
See original GitHub issueMy models are build with annotations (not data binding or anything) and when I switch branches I sometimes will fall into a loop where for like 2+ hours I’m trying a combination of clearing cache, manually deleting folders, restart ide, etc because in one branch I defined one model that’s missing in another branch.
My current scenario is that I can’t build and I suspect it’s that my SuperCoolTitleEpoxyModel_
is being generated even though SuperCoolTitleEpoxyModel
doesn’t actually exist in this branch. No matter what I try SuperCoolTitleEpoxyModel_
keeps getting generated. Is there some secret dir that I can nuke to prevent this from happening again? This happens like once a week and just kills my day.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How To Clean Up Epoxy Resin - YouTube
Working with epoxy resin can be sticky. With a few simple steps, you can keep your tools, your work surface and yourself clean...
Read more >Server Caching - Caucho Resin
When pages created by database queries only change every 15 minutes, e.g. CNN or Wikipedia or Slashdot, Resin can cache the results and...
Read more >Learn how to remove epoxy quickly and safely - Loctite
Soak a clean, soft cloth with acetone and then gently rub it on the areas where epoxy needs to be removed. The wood/concrete...
Read more >Steel Coated Epoxy Floors Cache Valley, Utah - Facebook
When you get Steel Coated Epoxy Floors in your garage and decide to keep ... a lifetime of no cracking, no chipping, easy...
Read more >Remove all items from RecyclerView - Stack Overflow
Avoid deleting your items in a for loop and calling notifyDataSetChanged in every iteration. Instead just call the clear method in your list...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you could try
./gradlew --no-build-cache clean assembleDebug
@ColtonIdleI was also struggling with a model defined in a different branch being generated and causing an issue. I disabled the build cache from the project’s gradle.properties file:
android.enableBuildCache=false
. After a successful build I re-enabled and the issue did not return.I also found out that the latest gradle plugin no longer stores the build cache under
~/.android/build-cache
but now uses gradle caching. Maybe nuking the~/.gradle/caches/build-cache-#
folders may help.