[ 
https://issues.apache.org/jira/browse/CB-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15992474#comment-15992474
 ] 

Jesse MacFadyen commented on CB-12605:
--------------------------------------

{code}
@ECHO OFF
for /f "tokens=2*" %%a in ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Android 
Studio" /v Path') do set "ASPath=%%~b"
ECHO %ASPath%
{code}

> `cordova requirements` call fails with cordova-android@master if there is no 
> `C:\Program Files\Android\` directory
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-12605
>                 URL: https://issues.apache.org/jira/browse/CB-12605
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Alexander Sorokin
>            Assignee: Jesse MacFadyen
>              Labels: found-by-ci, triaged
>
> `cordova requirements` call fails with cordova-android@master if there is no 
> `C:\Program Files\Android\` directory
> Example output.
> {noformat}
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed Google Inc.:Google 
> APIs:19,android-25,android-24,android-23,android-22,android-21,android-19
> Gradle: not installed 
> ENOENT: no such file or directory, scandir 'C:\Program Files\Android'
> Error: Some of requirements check failed
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to