[ +2 ms] FAILURE: Build failed with an exception.[ +4 ms] * Where:[ +1 ms] Script ‘C: UsershpOneDriveDocumentsflutter_windows_2.10.1-stableflutterpackagesflutter_toolsgradleflutter.gradle’ line: 912[ ] * What went wrong:[ ] A problem occurred evaluating root project ‘android’.[ ] > A problem occurred configuring project ‘:app’.[ ] > Could not create task ‘:app:packLibsflutterBuildDebug’.[ ] > No signature of method: org.gradle.api.tasks.bundling.Jar.destinationDir() is applicable for argument types: (File) values:[D:WORKmobilebuildappintermediatesflutterdebug]
We all should be able to use the latest build system, gradle 8.0 without any errors, sooner or later it will be required, please notice I didn’t provide the full result or the full log error of gradle,
Rahul Rohini is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.