Skip to content

error gradle running flutter app for first time #38690

Description

@israakd

im trying to run my first flutter app and stucked at this error

Launching lib\main.dart on SM A510F in debug mode...
Initializing gradle...
Finished with error: ProcessException: Process "C:\Users\DELL\Desktop\flutter_app1\android\gradlew.bat" exited abnormally:
Exception in thread "main" java.lang.RuntimeException: Timeout of 120000 reached waiting for exclusive access to file: C:\Users\DELL\.gradle\wrapper\dists\gradle-4.10.2-all\9fahxiiecdb76a5g3aw9oi8rv\gradle-4.10.2-all.zip
	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:61)
	at org.gradle.wrapper.Install.createDist(Install.java:48)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
  Command: C:\Users\DELL\Desktop\flutter_app1\android\gradlew.bat -v

some notes: platform sdk 28 is unzipped in sdk/platforms/android-28, but the zip file had a folder named in it android-9. idk!

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions