I\'ve always programmed Android with Eclipse and decided to start migrating to Android Studio. I decided to use the same SDK I already had for Eclipse, then:
This is what helped me: Adding specific android platform
What should be done is the following... In my case it was cordova
but the same is relevant for ionic
, phonegap
and other frameworks like these:
cordova platform list
. You'll see something like this:remove the android platform: cordova platform remove android
.
then add the specific android platform: cordova platform add android@5.0.0
.
Good luck! :)