You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jose Aguilar (JIRA)" <ji...@apache.org> on 2017/11/20 08:00:00 UTC
[jira] [Updated] (CB-13593) Error emulating Android
[ https://issues.apache.org/jira/browse/CB-13593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Aguilar updated CB-13593:
------------------------------
Environment: Cordova 7.1.0, cordova-android@6.3.0, Android SDK 26.0.2 (April 2017) and Android Studio 3.0 on Kubuntu 16.04 TLS 64bits (was: 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)
> Error emulating Android
> -----------------------
>
> Key: CB-13593
> URL: https://issues.apache.org/jira/browse/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 Kubuntu 16.04 TLS 64bits
> 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}}:
> {code:java}
> if (target) {
> {code}
> Solved by replacing:
> {code:java}
> if (target && target.match(/\(API\slevel\s/)) {
> {code}
> And in the package {{~/.npm/cordova-android/6.3.0/package.tgz}} in the file {{/package/bin/templates/cordova/lib/emulator.js}}
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org