Skip to content
Advertisement

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

Error:FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ‘:app’.

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

JavaScript

Advertisement

Answer

Step 1: Open Preferences or Settings in Android studio. Select Android SDK options and Install Android API 28 as selected below.

install

Step 2: There’s a problem with compileSdkVersion as you have to change it from ‘android-P’ to 28.

JavaScript

And Build project. That’s it.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement