I am creating a music player app..when I am trying to run app, the app was stopped and shows this error
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':on_audio_query:parseDebugLocalResources'.
Could not resolve all files for configuration ':on_audio_query: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\ACER\AppData\Local\Android\sdk\platforms\android-30\android.jar. C:\Users\ACER\AppData\Local\Android\sdk\platforms\android-30\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
BUILD FAILED in 15s Exception: Gradle task assembleDebug failed with exit code 1