0

I'm getting following error when im trying to import a cordova project. enter image description here But i have build tools 19.1, 20 and higher.

I have latest cordova version 5.1.1 please refer the below image. enter image description here

This is my SDK manager. enter image description here

I have checked lot of stackoverflow questions. But no use

Any help appreciated.

Dino
  • 806
  • 1
  • 8
  • 22

2 Answers2

1

The Android Build Tools are part of the official Android SDK. You can install them by clicking Tools -> Android -> SDK Manager, then find and check the required build tools and click "Install X packages...".

Check if you have that specific version (19.1.0) since there are 5 19.x versions.

adnan_e
  • 1,764
  • 2
  • 16
  • 25
  • i have installed all build tools given in SDK manager.. Yes i have 19.1.0 and other latest build tools – Dino Jul 21 '15 at 10:23
  • Is your project SDK pointing to Android Studios SDK? (right click on your project in AS, properties, SDK Location, you'll see the directory of the currently used SDK, open that directory, then the tools subdir, there will be android.bat, launch it with "android sdk", that will open the SDK manager for that SDK, it should be the same as before unless you have 2 SDKs installed. – adnan_e Jul 21 '15 at 10:29
  • I have only 1 android SDK. I have updated my question with sdk manager screenshot – Dino Jul 22 '15 at 09:49
0

This was the problem with my SDK Bundle.I have re-downloaded the whole sdk package and my error gone.

Dino
  • 806
  • 1
  • 8
  • 22