prongbang/screen_protector

Android build fail

Closed this issue · 1 comments

When taking Android build getting the following error.

FAILURE: Build failed with an exception.

  • Where:
    Build file '/pub-cache/hosted/pub.dev/screen_protector-1.3.1/android/build.gradle' line: 29

  • What went wrong:
    A problem occurred evaluating project ':screen_protector'.

No signature of method: build_2oq11jo52f2v2qoejhsr1s8v3.android() is applicable for argument types: (build_2oq11jo52f2v2qoejhsr1s8v3$_run_closure2) values: [build_2oq11jo52f2v2qoejhsr1s8v3$_run_closure2@57c0058d]

  • 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

BUILD FAILED in 6s

updated gradle version to 7.5 and the issue was fixed.