Explain in detail the problem of gradle error reporting in Android studio 3.0 (summary)
preface
After upgrading Android studio to 3.0 Canary 1, the previous normal project always reported errors. The error contents are as follows
This made me miserable. Manually downloading gradle and all kinds of clean had no effect at all. Du Niang of Keng father didn't give a good way
solve
I can't help it. Go over the wall to find Google dad and find the same problem on stack overflow. Gradle version 3.3 does not support fortask() method on buildactionexecutor, method:
Add gradle-wrapper.property
Change to
Clean it again. It's done. After compiling, it will become
The error has been solved. I still don't understand why this error occurred
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.