What is this error?

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:transformClassesWithDexBuilderForDebug’.

com.android.build.api.transform.TransformException: java.lang.IllegalStateException: Dex archives: setting .DEX extension only for .CLASS files

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 51s
at ChildProcess.whenDone (C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:14300) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:14300) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What is your ionic info output?
What is the full output you are getting?

this is full output error . am try to run this cooman “ionic cordova build android”

No it is not. Post everything from running the command until you get back control in your console.
Please also answer my other question.

ionic cordova plugin remove onesignal-cordova-plugin

cordova plugin remove onesignal-cordova-plugin --save
Uninstalling onesignal-cordova-plugin from android
Android Studio project detected
Subproject Path: CordovaLib
Subproject Path: app
Removing “onesignal-cordova-plugin”
Removing plugin onesignal-cordova-plugin from config.xml file…
Removing onesignal-cordova-plugin from package.json
PS C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice> ionic cordova plugin add onesignal-cordova-plugin
cordova plugin add onesignal-cordova-plugin --save
Installing “onesignal-cordova-plugin” for android
Android Studio project detected
Subproject Path: CordovaLib
Subproject Path: app
Adding onesignal-cordova-plugin to package.json
Saved plugin info for “onesignal-cordova-plugin” to config.xml
PS C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice> npm install --save @ionic-native/onesignal
npm WARN wp-api-angular@3.0.0-beta8 requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN wp-api-angular@3.0.0-beta8 requires a peer of @angular/http@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/common@4.4.7 requires a peer of @angular/core@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/compiler@4.4.7 requires a peer of @angular/core@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser@4.4.7 requires a peer of @angular/core@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser-dynamic@4.4.7 requires a peer of @angular/core@4.4.7 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/onesignal@4.14.0 requires a peer of @ionic-native/core@^4.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
PS C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice> ionic cordova build android> ionic-app-scripts build --target cordova --platform android
[21:06:00] ionic-app-scripts 3.2.0
[21:06:00] build dev started …
[21:06:00] clean started …
[21:06:00] clean finished in 7 ms
[21:06:00] copy started …
[21:06:01] deeplinks started …
[21:06:01] deeplinks finished in 48 ms
[21:06:01] transpile started …
[21:06:10] transpile finished in 9.17 s
[21:06:10] preprocess started …
[21:06:10] preprocess finished in 2 ms
[21:06:10] webpack started …
[21:06:10] copy finished in 9.98 s
[21:06:18] webpack finished in 7.70 s
[21:06:18] sass started …
[21:06:22] sass finished in 3.97 s
[21:06:22] postprocess started …
[21:06:22] postprocess finished in 13 ms
[21:06:22] lint started …
[21:06:22] build dev finished in 21.55 s
[21:06:28] lint finished in 6.47 s
cordova build android
Android Studio project detected
ANDROID_HOME=C:\Users\Harith\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\java\jdk1.8.0_151
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
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_d6r0ilt6xscvdnuk6my77b6t9.run(C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\build.gradle:144)Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ instead.
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild
:app:compileDebugAidl
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources
:app:generateDebugSources
:app:javaPreCompileDebug
Note: C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\src\main\java\com\plugin\gcm\OneSignalPush.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileDebugJavaWithJavac
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:transformClassesWithStackFramesFixerForDebug
:app:transformClassesWithDesugarForDebug
:app:transformClassesWithDexBuilderForDebug
:app:transformDexArchiveWithExternalLibsDexMergerForDebug
:app:transformDexArchiveWithDexMergerForDebug
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForDebug
:app:processDebugJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForDebug
:app:validateSigningDebug
:app:packageDebug
:app:assembleDebug
:app:cdvBuildDebug
PS C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice> ionic cordova build android
ionic-app-scripts build --target cordova --platform android
[21:20:09] ionic-app-scripts 3.2.0
[21:20:09] build dev started …
[21:20:09] clean started …
[21:20:09] clean finished in 34 ms
[21:20:09] copy started …
[21:20:09] deeplinks started …
[21:20:09] deeplinks finished in 81 ms
[21:20:09] transpile started …
[21:20:17] transpile finished in 7.91 s
[21:20:17] preprocess started …
[21:20:17] preprocess finished in 1 ms
[21:20:17] webpack started …
[21:20:17] copy finished in 8.44 s
[21:20:24] webpack finished in 6.74 s
[21:20:24] sass started …
[21:20:26] sass finished in 2.36 s
[21:20:26] postprocess started …
[21:20:26] postprocess finished in 12 ms
[21:20:26] lint started …
[21:20:26] build dev finished in 17.43 s
[21:20:33] lint finished in 7.05 s
cordova build android
Android Studio project detected
ANDROID_HOME=C:\Users\Harith\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\java\jdk1.8.0_151
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
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_d6r0ilt6xscvdnuk6my77b6t9.run(C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\build.gradle:144)Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ instead.
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:javaPreCompileDebug UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:transformClassesWithStackFramesFixerForDebug UP-TO-DATE
:app:transformClassesWithDesugarForDebug UP-TO-DATE
:app:transformClassesWithDexBuilderForDebug UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
:app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:app:processDebugJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:app:validateSigningDebug
PS C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice> ionic cordova run android
ionic-app-scripts build --target cordova --platform android
[21:25:22] ionic-app-scripts 3.2.0
[21:25:22] build dev started …
[21:25:22] clean started …
[21:25:22] clean finished in 10 ms
[21:25:22] copy started …
[21:25:22] deeplinks started …
[21:25:22] deeplinks finished in 100 ms
[21:25:22] transpile started …
[21:25:30] transpile finished in 8.10 s
[21:25:30] preprocess started …
[21:25:30] preprocess finished in 1 ms
[21:25:30] webpack started …
[21:25:31] copy finished in 8.80 s
[21:25:38] webpack finished in 8.13 s
[21:25:38] sass started …
[21:25:41] sass finished in 2.52 s
[21:25:41] postprocess started …
[21:25:41] postprocess finished in 14 ms
[21:25:41] lint started …
[21:25:41] build dev finished in 19.20 s
[21:25:47] lint finished in 6.41 s
cordova run android
Android Studio project detected
ANDROID_HOME=C:\Users\Harith\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\java\jdk1.8.0_151
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
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_d6r0ilt6xscvdnuk6my77b6t9.run(C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\build.gradle:144)Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ instead.
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:javaPreCompileDebug UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:transformClassesWithStackFramesFixerForDebug UP-TO-DATE
:app:transformClassesWithDesugarForDebug UP-TO-DATE
:app:transformClassesWithDexBuilderForDebug UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
:app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:app:processDebugJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:app:validateSigningDebug
:app:packageDebug UP-TO-DATE
:app:assembleDebug UP-TO-DATE
:app:cdvBuildDebug UP-TO-DATE

BUILD SUCCESSFUL in 11s
46 actionable tasks: 1 executed, 45 up-to-date
Built the following apk(s):
C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\build\outputs\apk\debug\app-debug.apk
ANDROID_HOME=C:\Users\Harith\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\java\jdk1.8.0_151
(node:14904) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
‘adb’ is not recognized as an internal or external command,
operable program or batch file.
at ChildProcess.whenDone (C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
PS C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice> ionic cordova run android

ionic-app-scripts build --target cordova --platform android
[21:26:50] ionic-app-scripts 3.2.0
[21:26:50] build dev started …
[21:26:50] clean started …[21:26:50] clean finished in 20 ms
[21:26:50] copy started …[21:26:51] deeplinks started …
[21:26:51] deeplinks finished in 106 ms
[21:26:51] transpile started …
[21:26:59] transpile finished in 7.78 s
[21:26:59] preprocess started …
[21:26:59] preprocess finished in 1 ms
[21:26:59] webpack started …
[21:26:59] copy finished in 8.35 s
[21:27:05] webpack finished in 6.94 s
[21:27:05] sass started …
[21:27:08] sass finished in 2.45 s
[21:27:08] postprocess started …
[21:27:08] postprocess finished in 13 ms
[21:27:08] lint started …
[21:27:08] build dev finished in 17.62 s
[21:27:16] lint finished in 7.58 s
cordova run android
Android Studio project detected
ANDROID_HOME=C:\Users\Harith\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\java\jdk1.8.0_151
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
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_d6r0ilt6xscvdnuk6my77b6t9.run(C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\build.gradle:144)Configuration ‘compile’ in project ‘:app’ is deprecated. Use ‘implementation’ instead.
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:platformAttrExtractor UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:javaPreCompileDebug UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:splitsDiscoveryTaskDebug UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:javaPreCompileDebug UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:transformClassesWithStackFramesFixerForDebug UP-TO-DATE
:app:transformClassesWithDesugarForDebug UP-TO-DATE
:app:transformClassesWithDexBuilderForDebug UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
:app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
:app:processDebugJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:app:validateSigningDebug
:app:packageDebug UP-TO-DATE
:app:assembleDebug UP-TO-DATE
:app:cdvBuildDebug UP-TO-DATE

BUILD SUCCESSFUL in 11s
46 actionable tasks: 1 executed, 45 up-to-date
Built the following apk(s):
C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\app\build\outputs\apk\debug\app-debug.apk
ANDROID_HOME=C:\Users\Harith\AppData\Local\Android\sdk1
JAVA_HOME=C:\Program Files\java\jdk1.8.0_151
(node:6456) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
‘adb’ is not recognized as an internal or external command,
operable program or batch file.
at ChildProcess.whenDone (C:\Users\Harith\Desktop\Angularprojects\ionic service\myservice\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:6456) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6456) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Ok, one very last time, then I will just ignore you:
What is your ionic info output?

what do you mean ionic info output ??

Run ionic info in your project directory in the command line. Post the output here.