Android Studio 3.6.1 Gradle Version 5.6.4
Gradle Buid Error
Cannot create service of type TaskExecuter
using ProjectExecutionServices.createTaskExecuter()
as there is a problem with parameter #22 of type ReservedFileSystemLocationRegistry
.
Cannot create service of type ReservedFileSystemLocationRegistry using ProjectExecutionServices.createReservedFileLocationRegistry() as there is a problem with parameter #1 of type List<ReservedFileSystemLocation>.
had same issue, stopping Gradle using the command below fixed it for me:
gradle --stop
or if you are using wrapper, use:
./gradlew --stop
I simply had to restart my PC for this to get fixed. Unfortunately I didn't try this until after I tried most of the other solutions. 🙄
For anyone who has their project on their external drive
This worked for me
(MacOS Monterey)
I also had this when I tried building on my ExFAT formatted ssd on macos. Reformatting it using APFS solved it.
did u face this issue in react native,
For me the source of this error was wrong permissions within the project. A sudo chown -R <username> .
within the project's root fixed those issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With