FAILURE: Build failed with an exception.

0
When I try to run locally, it gives me error during clean deployment directory. Version 10.6.15   FAILURE: Build failed with an exception. * What went wrong:java.io.IOException: The system cannot find the file specified * Try:> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.> Get more help at https://help.gradle.org. * Exception is:org.gradle.api.UncheckedIOException: java.io.IOException: The system cannot find the file specified    at org.gradle.internal.FileUtils.canonicalize(FileUtils.java:204)    at org.gradle.initialization.layout.BuildLayoutFactory.layout(BuildLayoutFactory.java:96)    at org.gradle.initialization.layout.BuildLayoutFactory.getLayoutFor(BuildLayoutFactory.java:92)    at org.gradle.initialization.layout.BuildLayoutFactory.getLayoutFor(BuildLayoutFactory.java:50)    at org.gradle.initialization.layout.BuildLayoutFactory.getLayoutFor(BuildLayoutFactory.java:69)    at org.gradle.launcher.cli.converter.LayoutToPropertiesConverter.configureFromBuildDir(LayoutToPropertiesConverter.java:87)    at org.gradle.launcher.cli.converter.LayoutToPropertiesConverter.convert(LayoutToPropertiesConverter.java:65)    at org.gradle.launcher.cli.DefaultCommandLineActionFactory$WithLogging.execute(DefaultCommandLineActionFactory.java:341)    at org.gradle.launcher.Main.doAction(Main.java:35)    at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:50)    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.base/java.lang.reflect.Method.invoke(Method.java:566)    at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)    at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.base/java.lang.reflect.Method.invoke(Method.java:566)    at org.gradle.launcher.GradleMain.main(GradleMain.java:34)Caused by: java.io.IOException: The system cannot find the file specified    at java.base/java.io.WinNTFileSystem.canonicalize0(Native Method)    at java.base/java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:483)    at java.base/java.io.File.getCanonicalPath(File.java:626)    at java.base/java.io.File.getCanonicalFile(File.java:651)    at org.gradle.internal.FileUtils.canonicalize(FileUtils.java:202)    ... 20 more  
asked
1 answers
0

Hi 

Try reinstalling the studio pro once

answered