Hi there,
i am facing an issue related to app testing on genymotion emulator few days back everything was fine, but recently by updating i am facing this issue
as you can see build time is very slow and its really painful thing
before running this command i have update app-script
and here is the output of Ionic cordova run android command
C:\Users\Sahir\IMR>ionic cordova run android
Running app-scripts build: --address 0.0.0.0 --port 8100 --p 8100 --livereload-p
ort 35729 --r 35729 --iscordovaserve --nobrowser
[16:46:39] build dev started ...
[16:46:39] clean started ...
[16:46:39] clean finished in 105 ms
[16:46:39] copy started ...
[16:46:40] transpile started ...
[16:47:22] transpile finished in 41.91 s
[16:47:22] preprocess started ...
[16:47:22] deeplinks started ...
[16:47:23] deeplinks finished in 1.81 s
[16:47:23] preprocess finished in 1.82 s
[16:47:23] webpack started ...
[16:47:40] copy finished in 60.20 s
[16:48:43] webpack finished in 79.44 s
[16:48:43] sass started ...
[16:49:50] sass finished in 67.53 s
[16:49:50] postprocess started ...
[16:49:51] postprocess finished in 801 ms
[16:49:51] lint started ...
[16:49:53] build dev finished in 193.67 s
> ionic cordova prepare
> cordova prepare
v Running command - done!
> cordova run android
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
Subproject Path: CordovaLib
[16:53:41] tslint: C:/Users/Sahir/IMR/src/pages/share/share.ts, line: 39
'options' is declared but never used.
L38: startListening() {
L39: let options = {
L40: language: 'en-US'
[16:53:41] tslint: C:/Users/Sahir/IMR/src/pages/share/share.ts, line: 4
All imports are unused.
L3: import { SpeechRecognition } from '@ionic-native/speech-recognition'
;
L4: import { Observable } from 'rxjs/Observable';
L5: import { ChangeDetectorRef } from '@angular/core';
[16:53:41] tslint: C:/Users/Sahir/IMR/src/providers/firebase/firebase.ts, line
: 2
'FirebaseListObservable' is declared but never used.
L1: import { Injectable } from '@angular/core';
L2: import { AngularFireDatabase, FirebaseListObservable } from 'angular
fire2/database';
L3: import { Http } from '@angular/http';
[16:53:41] tslint: C:/Users/Sahir/IMR/src/providers/firebase/firebase.ts, line
: 3
All imports are unused.
L2: import { AngularFireDatabase, FirebaseListObservable } from 'angular
fire2/database';
L3: import { Http } from '@angular/http';
L4: import 'rxjs/add/operator/map';
[16:53:41] lint finished in 230.27 s
The Task.leftShift(Closure) method has been deprecated and is scheduled to be re
moved in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_d5ruaf5clmz90ejyby4v7jed1.run(C:\Users\Sahir\IMR\platforms\and
roid\build.gradle:137)
The JavaCompile.setDependencyCacheDir() method has been deprecated and is schedu
led 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() instea
d.
:preBuild
UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
UP-TO-DATE
:CordovaLib:compileDebugNdk
UP-TO-DATE
:CordovaLib:compileLint
UP-TO-DATE
:CordovaLib:copyDebugLint
UP-TO-DATE
:CordovaLib:mergeDebugShaders
UP-TO-DATE
:CordovaLib:compileDebugShaders
UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets
UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
UP-TO-DATE
:CordovaLib:packageDebugRenderscript
UP-TO-DATE
:CordovaLib:compileDebugRenderscript
UP-TO-DATE
:CordovaLib:generateDebugResValues
UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources
UP-TO-DATE
:CordovaLib:processDebugManifest
UP-TO-DATE
:CordovaLib:generateDebugBuildConfig
UP-TO-DATE
:CordovaLib:processDebugResources
UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:incrementalDebugJavaCompilationSafeguard
UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac
UP-TO-DATE
:CordovaLib:processDebugJavaRes
UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
UP-TO-DATE
:CordovaLib:mergeDebugJniLibFolders
UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
UP-TO-DATE
:CordovaLib:bundleDebug
UP-TO-DATE
:prepareOrgApacheCordovaCordovaLib623DebugLibrary
UP-TO-DATE
:prepareDebugDependencies
:compileDebugAidl
UP-TO-DATE
:compileDebugRenderscript
UP-TO-DATE
:generateDebugBuildConfig
UP-TO-DATE
:generateDebugResValues
UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources
UP-TO-DATE
:processDebugManifest
UP-TO-DATE
:processDebugResources
UP-TO-DATE
:generateDebugSources
UP-TO-DATE
:incrementalDebugJavaCompilationSafeguard
UP-TO-DATE
:compileDebugJavaWithJavac
UP-TO-DATE
:compileDebugNdk
UP-TO-DATE
:compileDebugSources UP-TO-DATE
:mergeDebugShaders
UP-TO-DATE
:compileDebugShaders
UP-TO-DATE
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets
UP-TO-DATE
:transformClassesWithDexForDebug
UP-TO-DATE
:mergeDebugJniLibFolders
UP-TO-DATE
:transformNative_libsWithMergeJniLibsForDebug
UP-TO-DATE
:processDebugJavaRes
UP-TO-DATE
:transformResourcesWithMergeJavaResForDebug
UP-TO-DATE
:validateSigningDebug
:packageDebug
UP-TO-DATE
:assembleDebug
UP-TO-DATE
:cdvBuildDebug
UP-TO-DATE
BUILD SUCCESSFUL
Total time: 3 mins 1.294 secs
Built the following apk(s):
C:/Users/Sahir/IMR/platforms/android/build/outputs/apk/android-debug.ap
k
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
No target specified, deploying to device '192.168.149.101:5555'.
Skipping build...
Built the following apk(s):
C:/Users/Sahir/IMR/platforms/android/build/outputs/apk/android-debug.ap
k
Using apk: C:/Users/Sahir/IMR/platforms/android/build/outputs/apk/android-debug
.apk
Package name: io.ionic.starter
LAUNCH SUCCESS