cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Aguilar (JIRA)" <>
Subject [jira] [Created] (CB-13593) Error emulating Android
Date Mon, 20 Nov 2017 07:56:00 GMT
Jose Aguilar created CB-13593:

             Summary: Error emulating Android
                 Key: CB-13593
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
    Affects Versions: cordova@7.1.0
         Environment: Cordova 7.1.0, cordova-android@6.3.0, Android SDK 26.0.2 (April 2017)
and Android Studio 3.0 on Ubuntu 16.04 TLS
            Reporter: Jose Aguilar
            Assignee: Joe Bowser
            Priority: Blocker

Error: Cannot read property 'replace' of undefined emulating Android.

The problem is on line 213 of the file {{<App path>/platforms/android/cordova/lib/emulator.js}}:

if (target) {

Solved by replacing:

if (target && target.match(/\(API\slevel\s/)) {

And in the package {{~/.npm/cordova-android/6.3.0/package.tgz}} in the file {{/package/bin/templates/cordova/lib/emulator.js}}


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message