You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/30 16:56:42 UTC

[GitHub] [cordova-android] 75341704 commented on issue #670: [8.0.0] Android environment variables: ANDROID_HOME vs ANDROID_SDK_ROOT - cosmetic display issue

75341704 commented on issue #670: [8.0.0] Android environment variables: ANDROID_HOME vs ANDROID_SDK_ROOT - cosmetic display issue
URL: https://github.com/apache/cordova-android/issues/670#issuecomment-536652481
 
 
   hello any idea about this problem?
   
   I work under the macOS:
   
   cordova build cordova 
   ====
   Checking Java JDK and Android SDK versions
   ANDROID_SDK_ROOT=undefined (recommended setting)
   ANDROID_HOME=/Users/developer/Library/Android/sdk (DEPRECATED)
   Requirements check failed for JDK 8 ('1.8.*')! Detected version: 11.0.1
   Check your ANDROID_SDK_ROOT / JAVA_HOME / PATH environment variables.
   (base) wkdeMacBook-Pro:hfapp developer$ sudo cordova requirements
   ===
   
   The .bash_profile is as follows,
   export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
   export ANDROID_HOME=$HOME/Library/Android/sdk
   export JAVA_8_HOME="$(/usr/libexec/java_home -v 1.8)"
   export JAVA_11_HOME="$(/usr/libexec/java_home -v 11)"
   alias jdk8='export JAVA_HOME=$JAVA_8_HOME'
   alias jdk11='export JAVA_HOME=$JAVA_11_HOME'
   export JAVA_HOME=$JAVA_8_HOME
   export GRADLE_HOME=/Users/developer/code/gradle-5.6.2
   export PATH=${PATH}:${SWIG_HOME}/bin:${MY_BIN}:$ANDROID_SDK_ROOT/tools:$GRADLE_HOME/bin:$ANDROID_HOME/platform-tools
   
   And no matter how the environment is , the problem is stil right here.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org