suatbuyukboz adlı üyeden alıntı: mesajı görüntüle
Paketlerin arasında wakelock_windows isimli bir paket var hocam, bu paket kullanımdan kaldırılmış onu kaldırın projeden, bağlı olduğu yerleri de kaldırın sonrasında tekrar flutter build apk yazın
PS B:\Applications> flutter build apk

Upgrading build.gradle

FAILURE: Build failed with an exception.

* Where:
Script 'B:\flutter\packages\flutter_tools\gradle\app_plugin_loader.gradle' line: 9

* What went wrong:
A problem occurred evaluating script.
> You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is not possible anymore. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BU�LD FAILED in 721ms
Running Gradle task 'assembleRelease'...                         1.406ms
Gradle task assembleRelease failed with exit code 1
hocam böyle hata veriyor