Installed latest ionic 5.4 and some cordova plugins while running build in android studio getting this error, also tried removing and adding android build, please help, thanks
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-
Where:
Script ‘C:\Users\khush\OneDrive\Desktop\medical\platforms\android\CordovaLib\cordova.gradle’ line: 112 -
What went wrong:
A problem occurred evaluating project ‘:app’.
Unable to determine Android SDK directory.
- 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.
==============================================================================
2: Task failed with an exception.
- What went wrong:
A problem occurred configuring project ‘:app’.
compileSdkVersion is not specified. Please add it to build.gradle
-
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 14s
1 post - 1 participant