简体   繁体   中英

react-native run-android freezes on deleting Gradle directory

I'm trying to run a React Native app:

react-native run-android

however when I do so I get these messages:

info Starting JS server...

info Installing the app...

Deleting directory C:\\Users\\edkol\\.gradle\\wrapper\\dists\\gradle-5.4.1-all\\3221gyojl5jsh0helicew7rwx\\gradle-5.4.1

and the app never runs, even if I have an emulator open prior to running the command.

How do I get the app to run?

Thanks! :)

All I do with this problem is WAIT as first it deletes that folder then it decompressed it. This Process takes some time. You can see the Progress by visiting that directory then check Properties (It Continues ADDING volume in it) [IT takes up-to 5 minutes]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM