For a few days, when I export my project to create an APK I get this error
Error: Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=~~/androidSDK (recommended setting)
ANDROID_HOME=~~/androidSDK (DEPRECATED)
Using Android SDK: ~~/androidSDK
:wrapper
BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
* 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 1s
Command failed with exit code 1: ~~/gradlew cdvBuildDebug -b ~~/build.gradle
How can I solve this problem?