how to import cordova project to android studio?

Cordova import:SDK build tool revision is too low for project in android studio

  • I am trying to import cordova project into android studio.But i will get the following error while gradle build. Error:The SDK Build Tools revision (19.0.0) is too low for project ':..:..:..:..:Root5projects:KTDC:platforms:android'. Minimum required is 19.1.0 build.gradle in the project folder compileSdkVersion 19 buildToolsVersion "19.1.0" CordovaLib\build.gradle android { compileSdkVersion 19 buildToolsVersion "19.1.0" compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } I have referred many question but nothing works for me. Cordova version is 4.0.0 android studio version 1.2.2 Also installed the SDK build tools 19.1,21.1.2,22.0.1

  • Answer:

    Finally I found a solution.Actually that is the problem of Cordova version,I have updated my Cordova now everything works fine.

shammon at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

You can't do phonegap/cordova project using Android Studio. Use eclipse instead Android Studio.

Dato' Mohammad Nurdin

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.