Not able to build the APK it shows below error, before 2 days, the same was properly build. but now it shows below error
UserError: FAILURE: Build failed with an exception.
* What went wrong: Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:releaseCompileClasspath'.
See log for full details.
Log Details
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:releaseCompileClasspath'.
> Could not resolve com.commit451:PhotoView:1.2.4.
Required by:
project :app
> Skipped due to earlier error
> Skipped due to earlier error
> Skipped due to earlier error
> Skipped due to earlier error
* 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 1m 41s
Command failed with exit code 1: /platforms/android/gradlew cdvBuildRelease -b /platforms/android/build.gradle
2022-10-31 15:12:48,148 - FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:releaseCompileClasspath'.
See log for full details.
2022-10-31 15:12:48,149 - Build failed 75e9d542-23f4-44e7-bbe8-837edc2a608a
2022-10-31 15:12:49,340 - Output: Package Current Wanted Latest Location Depended by
cordova-android 9.1.0 9.1.0 11.0.0 node_modules/cordova-android 75e9d542-23f4-44e7-bbe8-837edc2a608a
cordova-plugin-camera 5.0.3 5.0.3 6.0.0 node_modules/cordova-plugin-camera 75e9d542-23f4-44e7-bbe8-837edc2a608a
cordova-plugin-file 6.0.2 6.0.2 7.0.0 node_modules/cordova-plugin-file 75e9d542-23f4-44e7-bbe8-837edc2a608a
cordova-plugin-media 5.0.4 5.0.4 6.1.0 node_modules/cordova-plugin-media 75e9d542-23f4-44e7-bbe8-837edc2a608a
cordova-plugin-media-capture 3.0.3 3.0.3 4.0.0 node_modules/cordova-plugin-media-capture 75e9d542-23f4-44e7-bbe8-837edc2a608a
cordova.plugins.diagnostic 6.1.1 6.1.1 7.1.1 node_modules/cordova.plugins.diagnostic 75e9d542-23f4-44e7-bbe8-837edc2a608a