cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Whiteley (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-12661) The android emulator will not execute
Date Mon, 08 May 2017 22:55:04 GMT

     [ https://issues.apache.org/jira/browse/CB-12661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phillip Whiteley closed CB-12661.
---------------------------------
    Resolution: Fixed

fixed in CB-12767.
Thanks

> The android emulator will not execute
> -------------------------------------
>
>                 Key: CB-12661
>                 URL: https://issues.apache.org/jira/browse/CB-12661
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli, cordova-windows
>         Environment: WIndow 10 Home
> Cordova 6.5.0
>            Reporter: Phillip Whiteley
>
> This exact setup (Except for Android Studio Updates) worked Jan 2017 and for years before.
I have seen many posts on this.
> Hi,
> The bug is that the emulator cannot be started - will deploy to phone.
> Steps:
> Create a simple app .
> cordova create hello com.ex.hello HelloWorld
> cd hello
> cordova platform add android@6.2.1 (Or gradle won't work.) 
> cordova run android
> ---------------------------------------------------------------
> BUG
> -------
> ANDROID_HOME=E:\2016\Android\android-sdk
> JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92
> Subproject Path: CordovaLib
> Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use
--status for details
> The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed
in Gradle 5.0. Please use Task.doLast(Action) instead.
>         at build_bkix3ywyblbgnflxvkopif3zs.run(C:\Users\phil\Desktop\newAPP\platforms\android\build.gradle:137)
> Observed package id 'build-tools;23.0.1' in inconsistent location 'E:\2016\Android\android-sdk\build-tools\build-tools-23.0.1'
(Expected 'E:\2016\Android\android-sdk\build-tools\23.0.1')
> Observed package id 'build-tools;23.0.1' in inconsistent location 'E:\2016\Android\android-sdk\build-tools\build-tools-23.0.1'
(Expected 'E:\2016\Android\android-sdk\build-tools\23.0.1')
> The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to
be removed in Gradle 4.0.
> Incremental java compilation is an incubating feature.
> The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed
in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
> :preBuild UP-TO-DATE
> >> Everything up -to-date here..... pcw
> :cdvBuildDebug UP-TO-DATE
> BUILD SUCCESSFUL
> Total time: 23.227 secs
> Built the following apk(s):
>         C:/Users/phil/Desktop/newAPP/platforms/android/build/outputs/apk/android-debug.apk
> ANDROID_HOME=E:\2016\Android\android-sdk
> JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92
> No target specified and no devices found, deploying to emulator
> Error: Cannot read property 'replace' of undefined   <<<----------------
> ---------------------------------------------------------------------------------------



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