Could not resolve all files for configuration ':app:androidJdkImage in flutter app

Hello trying debuging app in my real device when i try run code i am getting this error in fluter

Launching lib/main.dart on RMX2020 in debug mode...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':app:androidJdkImage'.
   > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for JdkImageTransform: /Users/apple/Library/Android/sdk/platforms/android-31/core-for-system-modules.jar.
         > jlink executable /Applications/Android does not exist.

* 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


Exception: Gradle task assembleDebug failed with exit code 1

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum