cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12546) Latest Android SDK tools introduce bug w/ Android emulator
Date Sat, 11 Mar 2017 12:37:04 GMT

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

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

Github user codecov-io commented on the issue:

    https://github.com/apache/cordova-android/pull/366
  
    # [Codecov](https://codecov.io/gh/apache/cordova-android/pull/366?src=pr&el=h1) Report
    > Merging [#366](https://codecov.io/gh/apache/cordova-android/pull/366?src=pr&el=desc)
into [master](https://codecov.io/gh/apache/cordova-android/commit/7d5afdebe1d3d1ecf1ca22473fbb798bc70f49ad?src=pr&el=desc)
will **decrease** coverage by `1.5%`.
    > The diff coverage is `12.28%`.
    
    
    ```diff
    @@            Coverage Diff             @@
    ##           master     #366      +/-   ##
    ==========================================
    - Coverage   35.58%   34.08%   -1.51%     
    ==========================================
      Files          12       13       +1     
      Lines        1037     1112      +75     
      Branches      173      188      +15     
    ==========================================
    + Hits          369      379      +10     
    - Misses        668      733      +65
    ```
    
    
    | [Impacted Files](https://codecov.io/gh/apache/cordova-android/pull/366?src=pr&el=tree)
| Coverage Δ | |
    |---|---|---|
    | [bin/templates/cordova/lib/emulator.js](https://codecov.io/gh/apache/cordova-android/compare/7d5afdebe1d3d1ecf1ca22473fbb798bc70f49ad...edb9b81eb7d4a7dc5f4fa61c3aec819d296a05e3?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9lbXVsYXRvci5qcw==)
| `13.25% <10.71%> (-0.64%)` | :x: |
    | [bin/templates/cordova/lib/android_sdk_version.js](https://codecov.io/gh/apache/cordova-android/compare/7d5afdebe1d3d1ecf1ca22473fbb798bc70f49ad...edb9b81eb7d4a7dc5f4fa61c3aec819d296a05e3?src=pr&el=tree#diff-YmluL3RlbXBsYXRlcy9jb3Jkb3ZhL2xpYi9hbmRyb2lkX3Nka192ZXJzaW9uLmpz)
| `18.51% <100%> (ø)` | |
    
    ------
    
    [Continue to review full report at Codecov](https://codecov.io/gh/apache/cordova-android/pull/366?src=pr&el=continue).
    > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
    > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
    > Powered by [Codecov](https://codecov.io/gh/apache/cordova-android/pull/366?src=pr&el=footer).
Last update [7d5afde...edb9b81](https://codecov.io/gh/apache/cordova-android/compare/7d5afdebe1d3d1ecf1ca22473fbb798bc70f49ad...edb9b81eb7d4a7dc5f4fa61c3aec819d296a05e3?el=footer&src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


> Latest Android SDK tools introduce bug w/ Android emulator
> ----------------------------------------------------------
>
>                 Key: CB-12546
>                 URL: https://issues.apache.org/jira/browse/CB-12546
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>
> For details: https://code.google.com/p/android/issues/detail?id=235461
> A workaround is to change the current working directory to the directory housing the
{{emulator}} binary. E.g.:
> {noformat}
> ~ via ⬢ v6.9.4
> ➔ which emulator
> /Users/maj/sdks/android/tools/emulator
> ~ via ⬢ v6.9.4
> ➔ emulator -avd nexus5-5.1
> [140736778830784]:ERROR:./android/qt/qt_setup.cpp:28:Qt library not found at ../emulator/lib64/qt/lib
> Could not launch '../emulator/qemu/darwin-x86_64/qemu-system-x86_64': No such file or
directory
> ~ via ⬢ v6.9.4
> ➔ cd ~/sdks/android/tools
> sdks/android/tools via ⬢ v6.9.4
> ➔ ./emulator -avd nexus5-5.1
> emulator: WARNING: encryption is off
> Hax is enabled
> Hax ram_size 0x80000000
> HAX is working and emulator runs in fast virt mode.
> {noformat}
> Potential fix: tweak the {{cordova run --emulator}} command to change the current working
directory to be the location of the emulator binary. That might be an easy fix, as cordova
uses the {{superspawn}} node module to kick off the {{emulator}} process. That module takes
an optional {{cwd}} parameter.
> Let's also check for the existence of {{android}} vs. {{sdkmanager}} to fix the listing
of images based on SDK version.



--
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


Mime
View raw message