Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:\Users\Leon\Homecontrol\hc_app\cordova\app> npm run android
- > homecontrol-app@ android C:\Users\Leon\Homecontrol\hc_app\cordova\app
- > node ./scripts/gitInfo.js && ionic cordova run android
- Replacing variable "gitInfo" with new value "develop-2018.12-145-gb393e42ea70fbbd" in "./environment-variables/development.ts"
- Replacing variable "appVersionInfo" with new value "2018.12" in "./environment-variables/development.ts"
- Replacing variable "gitInfo" with new value "develop-2018.12-145-gb393e42ea70fbbd" in "./environment-variables/production.ts"
- Replacing variable "appVersionInfo" with new value "2018.12" in "./environment-variables/production.ts"
- Rewriting value of imgStrings from ./src/utils/utils.ts
- √ Creating .\www directory for you - done!
- > cordova platform add android --save
- npm
- WARN invalid config loglevel="notice"
- Adding android project...
- Creating Cordova project for the Android platform:
- Path: platforms\android
- Package: no.homecontrol.wattle
- Name: Wattle
- Activity: MainActivity
- Android target: android-27
- Android project created with cordova-android@7.1.4
- Android Studio project detected
- Android Studio project detected
- config file *-Info.plist requested for changes not found at C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\*-Info.plist, ignoring
- Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Leon\Homecontrol\hc_app\cordova\app\hooks\after_prepare\010_add_platform_class.js C:\Users\Leon\Homecontrol\hc_app\cordova\app
- Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Leon\Homecontrol\hc_app\cordova\app\hooks\after_prepare\copy_android_resources.js C:\Users\Leon\Homecontrol\hc_app\cordova\app
- Copied all android assets.
- Discovered plugin "cordova-plugin-chrome-apps-sockets-udp" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-chrome-apps-sockets-udp@1.3.0" via npm
- Installing "cordova-plugin-chrome-apps-sockets-udp" for android
- Fetching plugin "cordova-plugin-chrome-apps-common@1" via npm
- Installing "cordova-plugin-chrome-apps-common" for android
- Saved plugin info for "cordova-plugin-chrome-apps-sockets-udp" to config.xml
- Discovered plugin "cordova-plugin-crosswalk-webview" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-crosswalk-webview@2.4.0" via npm
- Installing "cordova-plugin-crosswalk-webview" for android
- Subproject Path: CordovaLib
- Subproject Path: app
- After much discussion and analysis of the market, we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20.
- So the minSdkVersion of Cordova project is configured to 16 by default.
- Saved plugin info for "cordova-plugin-crosswalk-webview" to config.xml
- Discovered plugin "cordova-plugin-device" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-device@1.1.5" via npm
- Installing "cordova-plugin-device" for android
- Saved plugin info for "cordova-plugin-device" to config.xml
- Discovered plugin "cordova-plugin-file" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-file@4.3.2" via npm
- Installing "cordova-plugin-file" for android
- Fetching plugin "cordova-plugin-compat" via npm
- Installing "cordova-plugin-compat" for android
- Plugin doesn't support this project's cordova-android version. cordova-android: 7.1.4, failed version requirement:
- <6.3.0
- Skipping 'cordova-plugin-compat' for android
- The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.
- If this is a new application no changes are required.
- If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:
- "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"
- to config.xml in order for the application to find previously stored files.
- Saved plugin info for "cordova-plugin-file" to config.xml
- Discovered plugin "cordova-plugin-nativestorage" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-nativestorage@2.2.0" via npm
- Installing "cordova-plugin-nativestorage" for android
- Saved plugin info for "cordova-plugin-nativestorage" to config.xml
- Discovered plugin "cordova-plugin-network-information" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-network-information@1.3.1" via npm
- Installing "cordova-plugin-network-information" for android
- Saved plugin info for "cordova-plugin-network-information" to config.xml
- Discovered plugin "cordova-plugin-screen-orientation" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-screen-orientation@2.0.0" via npm
- Installing "cordova-plugin-screen-orientation" for android
- Fetching plugin "https://github.com/vstirbu/PromisesPlugin.git" via git clone
- Repository "https://github.com/vstirbu/PromisesPlugin.git" checked out to git ref "master".
- Installing "es6-promise-plugin" for android
- Saved plugin info for "cordova-plugin-screen-orientation" to config.xml
- Discovered plugin "cordova-plugin-shake" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-shake@0.5.4" via npm
- Installing "cordova-plugin-shake" for android
- Fetching plugin "cordova-plugin-device-motion" via npm
- Installing "cordova-plugin-device-motion" for android
- [DEPRECATED] - cordova-plugin-device-motion
- With the W3C Device Motion and Orientation API now being supported on iOS, Android and Windows devices, this plugin is not needed any more. Read more about the API at https://www.w3.org/TR/2016/CR-orientation-event-20160818/
- Saved plugin info for "cordova-plugin-shake" to config.xml
- Discovered plugin "cordova-plugin-splashscreen" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-splashscreen@4.1.0" via npm
- Installing "cordova-plugin-splashscreen" for android
- Saved plugin info for "cordova-plugin-splashscreen" to config.xml
- Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-statusbar@2.3.0" via npm
- Installing "cordova-plugin-statusbar" for android
- Saved plugin info for "cordova-plugin-statusbar" to config.xml
- Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-whitelist@1.3.0" via npm
- Installing "cordova-plugin-whitelist" for android
- This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
- Saved plugin info for "cordova-plugin-whitelist" to config.xml
- Discovered plugin "cordova-save-image-gallery" in config.xml. Adding it to the project
- Fetching plugin "cordova-save-image-gallery@0.0.26" via npm
- Installing "cordova-save-image-gallery" for android
- Saved plugin info for "cordova-save-image-gallery" to config.xml
- Discovered plugin "ionic-plugin-keyboard" in config.xml. Adding it to the project
- Fetching plugin "ionic-plugin-keyboard@2.2.1" via npm
- Installing "ionic-plugin-keyboard" for android
- Saved plugin info for "ionic-plugin-keyboard" to config.xml
- Discovered plugin "cordova-plugin-firebase" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-firebase@2.0.5" via npm
- Installing "cordova-plugin-firebase" for android
- Subproject Path: CordovaLib
- Subproject Path: app
- Saved plugin info for "cordova-plugin-firebase" to config.xml
- Discovered plugin "com.amitsinha.backashome" in config.xml. Adding it to the project
- Fetching plugin "https://github.com/amitsinha559/cordova-plugin-back-as-home.git" via git clone
- Repository "https://github.com/amitsinha559/cordova-plugin-back-as-home.git" checked out to git ref "master".
- Installing "com.amitsinha.backashome" for android
- Saved plugin info for "com.amitsinha.backashome" to config.xml
- Discovered plugin "cordova-plugin-camera" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-camera@2.3.1" via npm
- Installing "cordova-plugin-camera" for android
- Installing "cordova-plugin-compat" for android
- Plugin doesn't support this project's cordova-android version. cordova-android: 7.1.4, failed version requirement:
- <6.3.0
- Skipping 'cordova-plugin-compat' for android
- Subproject Path: CordovaLib
- Subproject Path: app
- Saved plugin info for "cordova-plugin-camera" to config.xml
- Discovered plugin "cordova-plugin-file-transfer" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-file-transfer@1.6.2" via npm
- Installing "cordova-plugin-file-transfer" for android
- Dependent plugin "cordova-plugin-file" already installed on android.
- Saved plugin info for "cordova-plugin-file-transfer" to config.xml
- Discovered plugin "cordova.plugins.diagnostic" in config.xml. Adding it to the project
- Fetching plugin "cordova.plugins.diagnostic@3.6.5" via npm
- Installing "cordova.plugins.diagnostic" for android
- Subproject Path: CordovaLib
- Subproject Path: app
- Saved plugin info for "cordova.plugins.diagnostic" to config.xml
- Discovered plugin "cordova-plugin-ble-central" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-ble-central@1.1.4" via npm
- Installing "cordova-plugin-ble-central" for android
- Installing "cordova-plugin-compat" for android
- Plugin doesn't support this project's cordova-android version. cordova-android: 7.1.4, failed version requirement:
- <6.3.0
- Skipping 'cordova-plugin-compat' for android
- Saved plugin info for "cordova-plugin-ble-central" to config.xml
- Discovered plugin "cordova-android-support-gradle-release" in config.xml. Adding it to the project
- Fetching plugin "cordova-android-support-gradle-release@2.0.1" via npm
- Installing "cordova-android-support-gradle-release" for android
- Subproject Path: CordovaLib
- Subproject Path: app
- cordova-android-support-gradle-release: Android platform: V7+
- cordova-android-support-gradle-release: Wrote custom version '27.+' to C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\app\build.gradle
- cordova-android-support-gradle-release: Wrote custom version '27.+' to C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\cordova-android-support-gradle-release\wattle-cordova-android-support-gradle-release.gradle
- Saved plugin info for "cordova-android-support-gradle-release" to config.xml
- Discovered plugin "cordova-plugin-geolocation" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-geolocation@2.4.1" via npm
- Installing "cordova-plugin-geolocation" for android
- Installing "cordova-plugin-compat" for android
- Plugin doesn't support this project's cordova-android version. cordova-android: 7.1.4, failed version requirement:
- <6.3.0
- Skipping 'cordova-plugin-compat' for android
- Saved plugin info for "cordova-plugin-geolocation" to config.xml
- Discovered plugin "cordova-plugin-advanced-websocket" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-advanced-websocket@1.1.4" via npm
- Installing "cordova-plugin-advanced-websocket" for android
- Subproject Path: CordovaLib
- Subproject Path: app
- Saved plugin info for "cordova-plugin-advanced-websocket" to config.xml
- Discovered plugin "cordova-photo-library" in config.xml. Adding it to the project
- Fetching plugin "cordova-photo-library@1.1.5" via npm
- Installing "cordova-photo-library" for android
- Saved plugin info for "cordova-photo-library" to config.xml
- Discovered plugin "cordova-plugin-native-logs" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-native-logs@1.0.5" via npm
- Installing "cordova-plugin-native-logs" for android
- Saved plugin info for "cordova-plugin-native-logs" to config.xml
- Discovered plugin "cordova-plugin-headercolor" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-headercolor@1.0" via npm
- Installing "cordova-plugin-headercolor" for android
- Saved plugin info for "cordova-plugin-headercolor" to config.xml
- Discovered plugin "cordova-plugin-gallery-refresh" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-gallery-refresh@1.0.61" via npm
- Installing "cordova-plugin-gallery-refresh" for android
- Saved plugin info for "cordova-plugin-gallery-refresh" to config.xml
- Discovered plugin "cordova-plugin-insomnia" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-insomnia@4.3.0" via npm
- Installing "cordova-plugin-insomnia" for android
- Saved plugin info for "cordova-plugin-insomnia" to config.xml
- Discovered plugin "cordova-plugin-ionic-webview" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-ionic-webview@1.2.1" via npm
- Installing "cordova-plugin-ionic-webview" for android
- Saved plugin info for "cordova-plugin-ionic-webview" to config.xml
- Discovered plugin "cordova-plugin-advanced-http" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-advanced-http@1.10.2" via npm
- Installing "cordova-plugin-advanced-http" for android
- Dependent plugin "cordova-plugin-file" already installed on android.
- Subproject Path: CordovaLib
- Subproject Path: app
- Saved plugin info for "cordova-plugin-advanced-http" to config.xml
- Discovered plugin "cordova-plugin-android-permissions" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-android-permissions@1.0.0" via npm
- Installing "cordova-plugin-android-permissions" for android
- Saved plugin info for "cordova-plugin-android-permissions" to config.xml
- Discovered plugin "cordova-plugin-enable-multidex" in config.xml. Adding it to the project
- Fetching plugin "cordova-plugin-enable-multidex@0.1.3" via npm
- Installing "cordova-plugin-enable-multidex" for android
- Subproject Path: CordovaLib
- Subproject Path: app
- Saved plugin info for "cordova-plugin-enable-multidex" to config.xml
- --save flag or autosave detected
- Saving android@~7.1.4 into config.xml file ...
- firebase move completed
- Running app-scripts build: --platform android --target cordova
- [15:37:37] build dev started ...
- [15:37:37] clean started ...
- [15:37:37] clean finished in 2 ms
- [15:37:37] copy started ...
- [15:37:37] transpile started ...
- [15:37:44] transpile finished in 7.13 s
- [15:37:44] preprocess started ...
- [15:37:44] deeplinks started ...
- [15:37:45] deeplinks finished in 1.12 s
- [15:37:45] preprocess finished in 1.12 s
- [15:37:45] webpack started ...
- [15:37:48] copy finished in 10.68 s
- [15:38:12] webpack finished in 26.91 s
- [15:38:12] sass started ...
- [15:38:15] sass finished in 2.52 s
- [15:38:15] postprocess started ...
- [15:38:15] removed unused font files
- [15:38:15] postprocess finished in 12 ms
- [15:38:15] lint started ...
- [15:38:15] build dev finished in 37.84 s
- > cordova run android
- [before_run_firebase_fix] copying C:\Users\Leon\Homecontrol\hc_app\cordova\app\scripts\build-extras.gradle to C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\build-extras.gradle
- [15:38:16] lint finished in 993 ms
- Android Studio project detected
- config file *-Info.plist requested for changes not found at C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\*-Info.plist, ignoring
- Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Leon\Homecontrol\hc_app\cordova\app\hooks\after_prepare\010_add_platform_class.js C:\Users\Leon\Homecontrol\hc_app\cordova\app
- Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Leon\Homecontrol\hc_app\cordova\app\hooks\after_prepare\copy_android_resources.js C:\Users\Leon\Homecontrol\hc_app\cordova\app
- Copied all android assets.
- cordova-android-support-gradle-release: Android platform: V7+
- cordova-android-support-gradle-release: Wrote custom version '27.+' to C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\app\build.gradle
- cordova-android-support-gradle-release: Wrote custom version '27.+' to C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\cordova-android-support-gradle-release\wattle-cordova-android-support-gradle-release.gradle
- Preparing Firebase on Android
- ANDROID_HOME=C:\Users\Leon\AppData\Local\Android\Sdk
- JAVA_HOME=C:\Program Files\Java\jdk1.8.0_191
- studio
- :wrapper
- BUILD SUCCESSFUL in 1s
- 1 actionable task: 1 executed
- Subproject Path: CordovaLib
- Subproject Path: app
- publishNonDefault is deprecated and has no effect anymore. All variants are now published.
- null
- Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
- +-----------------------------------------------------------------
- | cordova-android-support-gradle-release: 27.+
- +-----------------------------------------------------------------
- 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_dzmiyahu1i4zw1xkd9f9czhs0.run(C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\app\build.gradle:152)
- org.xwalk:xwalk_core_library:23.53.589.4
- registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
- registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
- :CordovaLib:preBuild
- UP-TO-DATE
- :CordovaLib:preDebugBuild UP-TO-DATE
- :CordovaLib:compileDebugAidl
- :CordovaLib:compileDebugRenderscript
- :CordovaLib:checkDebugManifest
- :CordovaLib:generateDebugBuildConfig
- :CordovaLib:prepareLintJar
- :CordovaLib:generateDebugResValues
- :CordovaLib:generateDebugResources
- :CordovaLib:packageDebugResources
- :CordovaLib:platformAttrExtractor
- :CordovaLib:processDebugManifest
- :CordovaLib:javaPreCompileDebug
- :CordovaLib:processDebugJavaRes
- NO-SOURCE
- :app:preBuild UP-TO-DATE
- :app:preDebugBuild
- :app:compileDebugAidl
- :CordovaLib:packageDebugRenderscript NO-SOURCE
- :app:compileDebugRenderscript
- :app:checkDebugManifest
- :app:generateDebugBuildConfig
- :app:prepareLintJar
- :CordovaLib:mergeDebugShaders
- :CordovaLib:compileDebugShaders
- :CordovaLib:generateDebugAssets
- :CordovaLib:mergeDebugAssets
- :app:mergeDebugShaders
- :app:compileDebugShaders
- :app:generateDebugAssets
- :app:mergeDebugAssets
- :app:createXwalkCommandLineFileDebug
- :app:processDebugGoogleServices
- Parsing json file: C:\Users\Leon\Homecontrol\hc_app\cordova\app\platforms\android\app\google-services.json
- :app:createDebugCompatibleScreenManifests
- :app:processDebugManifest
- :app:fabricGenerateResourcesDebug
- :app:generateDebugResValues
- :app:generateDebugResources
- :app:mergeDebugResources
- :app:splitsDiscoveryTaskDebug
- :app:compileDebugNdk NO-SOURCE
- :CordovaLib:compileDebugNdk
- NO-SOURCE
- :CordovaLib:mergeDebugJniLibFolders
- :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug
- :CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug
- :app:mergeDebugJniLibFolders
- :app:processDebugJavaRes NO-SOURCE
- :app:validateSigningDebug
- :CordovaLib:processDebugResources
- :CordovaLib:generateDebugSources
- :CordovaLib:compileDebugJavaWithJavac
- Note: Some input files use or override a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
- :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
- :app:processDebugResources
- :app:generateDebugSources
- :app:javaPreCompileDebug
- :app:compileDebugJavaWithJavac
- Note: Some input files use or override a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
- Note: Some input files use unchecked or unsafe operations.
- Note: Recompile with -Xlint:unchecked for details.
- :app:compileDebugSources
- :app:transformClassesWithStackFramesFixerForDebug
- :app:transformClassesWithDesugarForDebug
- :app:transformClassesWithDexBuilderForDebug
- :app:transformClassesWithMultidexlistForDebug
- :app:transformDexArchiveWithDexMergerForDebug
- Dex: Error converting bytecode to dex:
- FAILED
- 46 actionable tasks: 46 executed
- Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- UNEXPECTED TOP-LEVEL EXCEPTION:
- com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)
- at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)
- at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)
- at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
- at com.android.dx.merge.DexMerger.merge(DexMerger.java:198)
- at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61)
- at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36)
- at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
- at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.
- > com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- * 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 58s
- Error: cmd: Command failed with exit code 1 Error output:
- Note: Some input files use or override a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
- Note: Some input files use or override a deprecated API.
- Note: Recompile with -Xlint:deprecation for details.
- Note: Some input files use unchecked or unsafe operations.
- Note: Recompile with -Xlint:unchecked for details.
- Dex: Error converting bytecode to dex:
- Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- UNEXPECTED TOP-LEVEL EXCEPTION:
- com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661)
- at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616)
- at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598)
- at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
- at com.android.dx.merge.DexMerger.merge(DexMerger.java:198)
- at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61)
- at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36)
- at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
- at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.
- > com.android.build.api.transform.TransformException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;
- * 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 58s
- [ERROR] An error occurred while running cordova run android (exit code 1).
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! homecontrol-app@ android: `node ./scripts/gitInfo.js && ionic cordova run android`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the homecontrol-app@ android script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\Leon\AppData\Roaming\npm-cache\_logs\2018-12-21T14_39_20_950Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement