I updated AndroidStudio to Ladybug | 2024.2.1 Patch 2, and since then I cannot build my project containing ai_barcode because of the following error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':ai_barcode'.
> Failed to notify project evaluation listener.
> Cannot invoke method substring() on null object
> compileSdkVersion is not specified. Please add it to build.gradle
* 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 13s
Despite the error, I actually have compileSdkVersion stated in my app/build.gradle:
I updated AndroidStudio to Ladybug | 2024.2.1 Patch 2, and since then I cannot build my project containing ai_barcode because of the following error:
Despite the error, I actually have compileSdkVersion stated in my app/build.gradle:
Here's my flutter doctor: