Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.5.0
-
None
-
MAC OS X 10.11.6 (El Capitan)
-
Important
Description
Latest Cordova CLI 6.5.0 doesn't work with latest version of Android SDK installed from latest version of Android studio on MAC OS X 10.11.6 (El Capitan) - build #AI-162-37664568 Feb. 24, 2017
ANDROID_HOME, PATH, GRADLE_HOME environment variables are set correctly.
Setup:
. install latest Android studio from scratch from official *.dmg file - OK
. install latest Cordova through node/npm - OK
sudo npm install -g cordova - OK
. set environment variables: ANDROID_HOME, PATH, GRADLE_HOME - OK
. cordova create hello - OK
. cd hello - OK
. cordova platform add android - OK
. cordova requirements - KO (missing SDK and/or gradle wrapper error message...)
. cordova build android - KO
Couldn't get it to work. It looks like the latest Android SDK directory structure and executables breaks Cordova CLI.
Attachments
Issue Links
- depends upon
-
CB-12609 Cordova-Android Platform Release March 27, 2017
- Closed
- duplicates
-
CB-12524 add plugin failing because it cannot find tools/templates
- Closed
-
CB-12595 Android Studio Directory now contains version number, breaks gradle path finding.
- Closed
-
CB-12554 More versatile CLI scripts to handle changes in Android SDK Tools 25.3.1
- Closed
-
CB-12546 Latest Android SDK tools introduce bug w/ Android emulator
- Closed
-
CB-12559 Update cordova-android documentation with respect to new Android SDK Tools 25.3.1
- Closed