You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/10 06:06:41 UTC

[jira] [Commented] (CB-12646) android command output message was change since Android SDK tool 26.0.0

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

ASF GitHub Bot commented on CB-12646:
-------------------------------------

GitHub user ymhuang0808 opened a pull request:

    https://github.com/apache/cordova-android/pull/374

    CB-12646: Fix the parsing `android` command ouput message

    ### Platforms affected
    
    Cordova Android 6.2.0 above
    
    ### What does this PR do?
    
    Add a regular express for parsing the output message from `android` command since [Android SDK tool 26.0.0](https://developer.android.com/studio/releases/sdk-tools.html)
    
    ### What testing has been done on this change?
    
    Add the testing case with output message from `android` command since Android SDK tool 26.0.0
    
    ### Checklist
    - [X] Issue: CB-12646
    - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [X] Added automated test coverage as appropriate for this change.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fliegen/cordova-android CB-12646-6.2.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/374.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #374
    
----
commit 693cccc69b4cb6978385be0b2366c6d0fdbb637b
Author: John Huang <ym...@fmbase.tw>
Date:   2017-04-10T05:55:34Z

    CB-12646: Add a regular express for parsing the output message from
    `android` command since Android SDK tool 26.0.0

----


> android command output message was change since Android SDK tool 26.0.0
> -----------------------------------------------------------------------
>
>                 Key: CB-12646
>                 URL: https://issues.apache.org/jira/browse/CB-12646
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>    Affects Versions: 6.2.0, 6.2.1
>         Environment: Android SDK tools 26.0.1
>            Reporter: John Huang
>
> The output message from `android` command since [Android SDK tool 26.0.0|https://developer.android.com/studio/releases/sdk-tools.html] was changed. 
> The message on 26.0.1:
> {code}
> *************************************************************************
> The "android" command is deprecated.
> For manual SDK, AVD, and project management, please use Android Studio.
> For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
> *************************************************************************
> Invalid or unsupported command ""
> Supported commands are:
> android list target
> android list avd
> android list device
> android create avd
> android move avd
> android delete avd
> android list sdk
> android update sdk
> {code}
> According to CB-12554, it is only changed the regular expression for parsing the message.



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

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