Unable to run the flutter code getting error
Failed to capture snapshot of input files for task 'javaPreCompileDebug' property 'compileClasspaths' during up-to-date check. > Error snapshotting jar [flutter.jar] Finished with error: Gradle build failed: 1
C:\Program Filesdoesn't work because Flutter needs write permission in its install directory.git clean -xfdgit pullflutter doctorin your Flutter install directory.