Ibotta / gradle-aspectj-pipeline-plugin

A Gradle plugin for Android projects which performs AspectJ weaving using Android's bytcode manipulation pipeline.
Apache License 2.0
75 stars 15 forks source link

about code cache. #22

Closed forgetman closed 2 years ago

forgetman commented 2 years ago

is there have some cached things in plugin or somewhere? i have change my packgae name, but discover the weave file is duplicate the old package code into 'preWeave' and 'postWeave' like the image.

image

i have tried delete build folder, reopen android stuio, import project again, the result are same. please help me, thx.

forgetman commented 2 years ago

my gradle version is 7.2-bin, studio version is 2020.2.1 chipmunk, build gradle is 7.1.3

eschlenz commented 2 years ago

What happens when you run ./gradlew clean assembleDebug --no-build-cache? Does that resolve it?

eschlenz commented 2 years ago

@forgetman Any updates? I'm looking to resolve this issue if possible. I'll just close it out if I don't hear back within a few days. Thanks.

forgetman commented 2 years ago

Sorry, I've changed all my Java code to Kotlin while I'm waiting for you, and the problem is gone. The scene is gone now. I can't carry out this order of yours

forgetman commented 2 years ago

I can try your command if the problem happens again. Thank you very much.