Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to find Platform SDK with path: platforms;android-33

I'm encountering an error while trying to build my Flutter project. The error message I'm receiving is:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Failed to find Platform SDK with path: platforms;android-33

* 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 16s
Running Gradle task 'assembleDebug'...                             19.0s
Exception: Gradle task assembleDebug failed with exit code 1

I have already tried updating my Flutter SDK and ensuring that the necessary Android SDK platform is installed. However, the issue persists. I'm not sure what else to try or how to resolve this error.

If anyone has encountered a similar issue or has any suggestions on how to resolve this error, I would greatly appreciate your assistance. Thank you!

like image 985
Vinh Pedro Avatar asked Dec 31 '25 15:12

Vinh Pedro


1 Answers

For me it was an error like Failed to find Platform SDK with path: platforms;android-32 and I solved it by following the below steps:

  • Open Android Studio.
  • Go to Settings > Language & Frameworks > Android SDK.
  • In the SDK manager, navigate to the Android SDK Platform section.
  • Find the entry for Android 12 (API level 32) and check the checkbox next to it.
  • Click Install to download and install the Android SDK version 32.

And Voila! it's fixed now!

like image 94
RITTIK Avatar answered Jan 02 '26 05:01

RITTIK



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!