Created a new project in the android studio, but it is created with an error. Here is what the graidla console writes:
Executing tasks: [: app: generateDebugSources,: app: mockableAndroidJar,: app: prepareDebugUnitTestDependencies,: app: generateDebugAndroidTestSources] Configuration on demand is an incubating feature. Incremental java compilation is an incubating feature. : app: preBuild UP-TO-DATE : app: preDebugBuild UP-TO-DATE : app: checkDebugManifest : app: preReleaseBuild UP-TO-DATE : app: prepareComAndroidSupportAnimatedVectorDrawable2531Library FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ': app: prepareComAndroidSupportAnimatedVectorDrawable2531Library'. > Could not initialize class org.apache.tools.zip.ExtraFieldUtils * Try: Run with - stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 12.11 secs
For some reason, now such an error occurs when creating any new project. How to fix it?