Not able to create Zip archive using gradle Task

Hi,
I’m working on creating a zip archive for native libs in my Android project
I’ve added the task in build.gradle(:app)
Ref: Working With Files
It seems like the task isn’t being executed. I don’t see the archive post building the project.
However if I run gradle -q taskName → I get the archive
Please help with this.

You provide too less information to be able to give any sensible advice.
The only thing I can tell you is, that a task if of course not magically executed just because you define it.
Gradle only does necessary work.
And if you didn’t somehow wire that task in, it will not be executed.

A post was split to a new topic: Could not create task ‘:zip’