I'm trying to build appbundle using this flutter build appbundle command but getting the following error.
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':in_app_update'.
Could not load compiled classes for build file 'C:\Users\rehan\AppData\Local\Pub\Cache\hosted\pub.dev\in_app_update-4.2.3\android\build.gradle' from cache.
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':in_app_update' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':in_app_update' of type org.gradle.api.Project.
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 10s
Running Gradle task 'bundleRelease'... 10.9s
Gradle task bundleRelease failed with exit code 1
I'm trying to build appbundle using this
flutter build appbundle
command but getting the following error.FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring project ':in_app_update'.
Try:
BUILD FAILED in 10s Running Gradle task 'bundleRelease'... 10.9s Gradle task bundleRelease failed with exit code 1
gradle-wrapper.properties file:
android/build.gradle
android/app/build.gradle
android/settings.gradle