I get this error when I want to run "flutter" project from my phone with "visual studio code".
how can i solve it?
PROBLEM
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':path_provider_android:parseDebugLocalResources'.
Could not resolve all files for configuration ':path_provider_android:androidApis'. Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for PlatformAttrTransform: C:\Users\Hp\AppData\Local\Android\sdk\platforms\android-31\android.jar. > C:\Users\Hp\AppData\Local\Android\sdk\platforms\android-31\android.jar
- 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