I am new to flutter development basically I am an ios developer,
While I am working on a new project in a flutter doing for the profile update screen I have added a camera plugin for dependencies to get camera third-party to use both in ios android. So when it uses the ios application is running smoothly without showing an error but the android application showing some errors as follows
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assembleAarRelease' not found in root project 'camera'.
* Try:
Run gradlew tasks to get a list of available tasks. 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 1s
Exception: The plugin camera could not be built due to the issue above.
can anyone tell what is the solution for this issue?
compileSdkVersion in build.gradle it ma about compileSdkVersion. Should be updated 29 or higher or If you set 'org.gradle.configureondemand=true' in 'gradle.properties',please change to false.