You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./gradlew --warning-mode all
> Configure project :app
The AbstractArchiveTask.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the destinationDirectory property instead. See https://docs.gradle.org/6.7/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:destinationDir for more details.
at FlutterPlugin$_addFlutterTasks_closure18$_closure37.doCall(/Users/plg/development/flutter-dev/packages/flutter_tools/gradle/flutter.gradle:793)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.archiveName property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveFileName property instead. See https://docs.gradle.org/6.7/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:archiveName for more details.
at FlutterPlugin$_addFlutterTasks_closure18$_closure37.doCall(/Users/plg/development/flutter-dev/packages/flutter_tools/gradle/flutter.gradle:794)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
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: [C:\renogies\reno1_pos\build\app\intermediates\flutter\debug]
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
DevangHelios commentedon Sep 24, 2021
I am facing the same issue.
sebastianhaberey commentedon Sep 26, 2021
Same here. It looks like fixing this could be a quick win, since the error message lists alternatives for the deprecated properties.
bartekpacia commentedon Jun 5, 2022
Bump
galih9 commentedon Aug 1, 2022
any update on this issue? Im facing the same issue
lanrehnics commentedon Sep 20, 2022
any update on this ??
BurykinNikolay commentedon Sep 29, 2022
same
padyukovai commentedon Sep 29, 2022
I have the same issue, please fix it!
bartekpacia commentedon Jan 5, 2023
See also #112858
bartekpacia commentedon Mar 27, 2023
This was fixed in #112858
todosrc commentedon Apr 10, 2023
I have the same issue
my environment :
Flutter 3.7.10
classpath 'com.android.tools.build:gradle:7.3.1'
distributionUrl=https://services.gradle.org/distributions/gradle-8.0.2-all.zip
todosrc commentedon Apr 10, 2023
Launching lib\main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 912
What went wrong:
A problem occurred evaluating root project 'android'.
bartekpacia commentedon Apr 10, 2023
The fix is already on master. This issue can be closed.
github-actions commentedon Apr 28, 2023
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.