Hi,
I have scaffolded the ionic2 sidemenu app, the default target framework is android 23 but I want to target android 19 so I changed the target framework in platforms/android/project.properties file and platforms/android/AndroidManifest.xml to target framework 19 - this is also what I have installed under my android sdk.
When I run ionic run android I get this error which I am unable to solve
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.
A problem occurred configuring project ‘:CordovaLib’.
failed to find target with hash string ‘android-23’ in: C:\Program Files (x 86)\Android\android-sdk
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.375 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.
A problem occurred configuring project ‘:CordovaLib’.
failed to find target with hash string ‘android-23’ in: C:\Program Files (x 86)\Android\android-sdk
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please assist