Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The default interactive shell is now zsh.
- To update your account to use zsh, please run `chsh -s /bin/zsh`.
- For more details, please visit https://support.apple.com/kb/HT208050.
- Jeremias-MacBook-Pro-2:consigapp jeremias$ /bin/bash /Users/jeremias/Workspace/WorkNETINOVE/consigapp/deploy.sh
- [WARN] Detected locally installed Ionic CLI, but it's too old--using global CLI.
- > ionic-app-scripts build --prod --target cordova --platform android
- [21:37:24] ionic-app-scripts 1.3.0
- [21:37:24] build prod started ...
- [21:37:24] clean started ...
- [21:37:24] clean finished in 9 ms
- [21:37:24] copy started ...
- [21:37:24] ngc started ...
- [21:37:50] ngc finished in 26.01 s
- [21:37:50] preprocess started ...
- [21:37:50] deeplinks started ...
- [21:37:51] deeplinks finished in 895 ms
- [21:37:51] optimization started ...
- [21:37:53] copy finished in 29.22 s
- [21:38:00] optimization finished in 9.05 s
- [21:38:00] preprocess finished in 9.95 s
- [21:38:00] webpack started ...
- [21:38:07] webpack finished in 7.28 s
- [21:38:07] sass started ...
- [21:38:07] uglifyjs started ...
- [21:38:09] sass finished in 1.39 s
- [21:38:09] cleancss started ...
- [21:38:10] cleancss finished in 1.22 s
- WARN: Output exceeds 32000 characters
- WARN: Output exceeds 32000 characters
- WARN: Output exceeds 32000 characters
- WARN: Output exceeds 32000 characters
- WARN: Output exceeds 32000 characters
- WARN: Output exceeds 32000 characters
- WARN: Output exceeds 32000 characters
- [21:38:27] uglifyjs finished in 19.72 s
- [21:38:27] postprocess started ...
- [21:38:27] removed unused font files
- [21:38:27] postprocess finished in 95 ms
- [21:38:27] lint started ...
- [21:38:27] build prod finished in 63.10 s
- [21:38:31] tslint: src/providers/cards-service.ts, line: 78
- Unused variable: 'seller'
- L77: this.storage.get("seller").then(sellerStr => {
- L78: let seller = sellerStr;
- L79: let sql = `
- [21:38:31] tslint: src/providers/cable-service.ts, line: 35
- Unused property: 'charge_id'
- L34: private seller;
- L35: private charge_id;
- L36: app_version: any;
- [21:38:31] tslint: src/providers/cable-service.ts, line: 263
- Unused variable: 'err'
- L262: if(error.status != 0){
- L263: let err = JSON.parse(error._body);
- L264: }else{
- [21:38:31] tslint: src/pages/card-products-edit/card-products-edit.ts, line: 4
- Unused import: 'isUndefined'
- L3: import { CardProductsService } from '../../providers/card-products-service';
- L4: import { isUndefined } from 'ionic-angular/umd/util/util';
- [21:38:31] tslint: src/pages/card-products-edit/card-products-edit.ts, line: 230
- Unused variable: 'id'
- L229: let rowid = this.cardProduct.rowid;
- L230: let id = this.cardProduct.id;
- L231: this.cardProdService.save(this.cardProduct).then((result: any) => {
- [21:38:31] tslint: src/pages/card-products-edit/card-products-edit.ts, line: 235
- Unused variable: 'insercao'
- L234: // console.log.comented(result);
- L235: let insercao = true;
- L236: //if(result.rowsAffected){
- [21:38:31] tslint: src/pages/card-details-page/card-details-page.ts, line: 2
- Unused import: 'Modal'
- L1: import { Component, ViewChild } from '@angular/core';
- L2: vController, NavParams, Platform, Content, ModalController, Modal, PopoverController } from 'ionic-angular';
- L3: import { Storage } from '@ionic/storage';
- [21:38:31] tslint: src/pages/card-details-page/card-details-page.ts, line: 39
- Unused import: 'isUndefined'
- L38: import { FileOpener } from '@ionic-native/file-opener';
- L39: import { isUndefined } from 'ionic-angular/umd/util/util';
- [21:38:31] tslint: src/pages/config-page/config-page.ts, line: 8
- Unused import: 'FileEntry'
- L7: import { PrinterService } from '../../providers/printer-service';
- L8: import { File, FileEntry, FileError } from '@ionic-native/file';
- [21:38:31] tslint: src/pages/config-page/config-page.ts, line: 8
- Unused import: 'FileError'
- L7: import { PrinterService } from '../../providers/printer-service';
- L8: import { File, FileEntry, FileError } from '@ionic-native/file';
- [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 15
- Unused import: 'FileError'
- L14: import { Storage } from '@ionic/storage';
- L15: import { File, FileEntry, FileError, DirectoryEntry } from '@ionic-native/file';
- L16: import { AppVersion } from '@ionic-native/app-version';
- [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 15
- Unused import: 'DirectoryEntry'
- L14: import { Storage } from '@ionic/storage';
- L15: import { File, FileEntry, FileError, DirectoryEntry } from '@ionic-native/file';
- L16: import { AppVersion } from '@ionic-native/app-version';
- [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 53
- Unused property: '_callbackConfig'
- L52: private loading = null;
- L53: private _callbackConfig: Function;
- L54: private _showSyncSuccess: Function;
- [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 56
- Unused property: 'syncSubscription'
- L55: private _showSyncError: Function;
- L56: private syncSubscription;
- L57: private pendentes = [];
- [21:38:31] tslint: src/pages/cards-page/cards-page.ts, line: 105
- Unused method: 'assign'
- L105: private assign(c: any, destiny: Array<CardModel>){
- L106: let card: CardModel = new CardModel();
- [21:38:31] tslint: src/formatters/cep-formatter.ts, line: 29
- Unused variable: 'raw'
- L28: let val = this.control.value
- L29: let raw = val;
- L30: let formatted = this.mask(this.control.value)
- [21:38:31] tslint: src/formatters/currency-formatter.ts, line: 90
- Unused variable: 'result'
- L89: let n: string = parseInt(v.replace(/[^\d]/g ,'')).toString();
- L90: let result: string = "0,00";
- [21:38:31] tslint: src/app/sync/sync.component.ts, line: 2
- Unused import: 'SQLiteObject'
- L1: import { Component } from '@angular/core';
- L2: import { SQLite, SQLiteObject } from '@ionic-native/sqlite';
- L3: import { Events } from 'ionic-angular';
- [21:38:31] tslint: src/app/sync/sync.module.ts, line: 5
- Unused import: 'Events'
- L5: import { Events } from 'ionic-angular';
- L6: import { SyncComponent } from './sync.component';
- [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 1
- Unused import: 'Output'
- L1: import { Input, Output, EventEmitter } from '@angular/core';
- L2: import { Component } from '@angular/core';
- [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 1
- Unused import: 'EventEmitter'
- L1: import { Input, Output, EventEmitter } from '@angular/core';
- L2: import { Component } from '@angular/core';
- [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 3
- Unused import: 'FormBuilder'
- L2: import { Component } from '@angular/core';
- L3: import { FormBuilder, FormGroup, Validators } from '@angular/forms';
- [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 3
- Unused import: 'FormGroup'
- L2: import { Component } from '@angular/core';
- L3: import { FormBuilder, FormGroup, Validators } from '@angular/forms';
- [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 3
- Unused import: 'Validators'
- L2: import { Component } from '@angular/core';
- L3: import { FormBuilder, FormGroup, Validators } from '@angular/forms';
- [21:38:31] tslint: src/components/consig-currency/consig-currency.module.ts, line: 1
- Unused import: 'CUSTOM_ELEMENTS_SCHEMA'
- L1: import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
- L2: import { IonicPageModule } from 'ionic-angular';
- [21:38:31] tslint: src/providers/charge-service.ts, line: 2
- Unused import: 'Http'
- L1: import { Injectable } from '@angular/core';
- L2: import { Http } from '@angular/http';
- [21:38:31] tslint: src/providers/charge-service.ts, line: 4
- Unused import: 'SQLiteObject'
- L4: import { SQLite, SQLiteObject } from '@ionic-native/sqlite';
- L5: import 'rxjs/add/operator/map';
- [21:38:31] lint finished in 3.75 s
- > cordova build android --release
- cordova-android-support-gradle-release: Android platform: V7+
- cordova-android-support-gradle-release: Wrote custom version '27.+' to /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/build.gradle
- cordova-android-support-gradle-release: Wrote custom version '27.+' to /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/cordova-android-support-gradle-release/consigapp-cordova-android-support-gradle-release.gradle
- cordova-android-support-gradle-release: Android platform: V7+
- cordova-android-support-gradle-release: Wrote custom version '27.+' to /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/build.gradle
- cordova-android-support-gradle-release: Wrote custom version '27.+' to /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/cordova-android-support-gradle-release/consigapp-cordova-android-support-gradle-release.gradle
- Checking Java JDK and Android SDK versions
- ANDROID_SDK_ROOT=/Users/jeremias/Library/Android/sdk (recommended setting)
- ANDROID_HOME=/Users/jeremias/Library/Android/sdk (DEPRECATED)
- Subproject Path: CordovaLib
- Subproject Path: app
- > Configure project :app
- +-----------------------------------------------------------------
- | cordova-android-support-gradle-release: 27.+
- +-----------------------------------------------------------------
- > Task :app:preBuild UP-TO-DATE
- > Task :CordovaLib:preBuild UP-TO-DATE
- > Task :CordovaLib:preReleaseBuild UP-TO-DATE
- > Task :CordovaLib:checkReleaseManifest UP-TO-DATE
- > Task :CordovaLib:processReleaseManifest UP-TO-DATE
- > Task :app:preReleaseBuild UP-TO-DATE
- > Task :CordovaLib:compileReleaseAidl NO-SOURCE
- > Task :app:compileReleaseAidl NO-SOURCE
- > Task :CordovaLib:packageReleaseRenderscript NO-SOURCE
- > Task :app:compileReleaseRenderscript UP-TO-DATE
- > Task :app:checkReleaseManifest UP-TO-DATE
- > Task :app:generateReleaseBuildConfig UP-TO-DATE
- > Task :app:prepareLintJar UP-TO-DATE
- > Task :app:generateReleaseSources UP-TO-DATE
- > Task :CordovaLib:compileReleaseRenderscript UP-TO-DATE
- > Task :CordovaLib:generateReleaseBuildConfig UP-TO-DATE
- > Task :CordovaLib:generateReleaseResValues UP-TO-DATE
- > Task :CordovaLib:generateReleaseResources UP-TO-DATE
- > Task :CordovaLib:packageReleaseResources UP-TO-DATE
- > Task :CordovaLib:generateReleaseRFile UP-TO-DATE
- > Task :CordovaLib:prepareLintJar UP-TO-DATE
- > Task :CordovaLib:generateReleaseSources UP-TO-DATE
- > Task :CordovaLib:javaPreCompileRelease UP-TO-DATE
- > Task :CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE
- > Task :CordovaLib:processReleaseJavaRes NO-SOURCE
- > Task :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE
- > Task :app:javaPreCompileRelease UP-TO-DATE
- > Task :app:mainApkListPersistenceRelease UP-TO-DATE
- > Task :app:generateReleaseResValues UP-TO-DATE
- > Task :app:generateReleaseResources UP-TO-DATE
- > Task :app:mergeReleaseResources UP-TO-DATE
- > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
- > Task :app:processReleaseManifest FAILED
- /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/src/main/AndroidManifest.xml Error:
- uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib] /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/CordovaLib/build/intermediates/library_manifest/release/AndroidManifest.xml as the library might be using APIs not available in 16
- See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
- Suggestion: use a compatible library with a minSdk of at most 16,
- or increase this project's minSdk version to at least 19,
- or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':app:processReleaseManifest'.
- > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib] /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/CordovaLib/build/intermediates/library_manifest/release/AndroidManifest.xml as the library might be using APIs not available in 16
- Suggestion: use a compatible library with a minSdk of at most 16,
- or increase this project's minSdk version to at least 19,
- or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- * Get more help at https://help.gradle.org
- BUILD FAILED in 1s
- 22 actionable tasks: 1 executed, 21 up-to-date
- (node:11684) UnhandledPromiseRejectionWarning: Error: /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/gradlew: Command failed with exit code 1 Error output:
- /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/src/main/AndroidManifest.xml Error:
- uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib] /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/CordovaLib/build/intermediates/library_manifest/release/AndroidManifest.xml as the library might be using APIs not available in 16
- Suggestion: use a compatible library with a minSdk of at most 16,
- or increase this project's minSdk version to at least 19,
- or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':app:processReleaseManifest'.
- > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib] /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/CordovaLib/build/intermediates/library_manifest/release/AndroidManifest.xml as the library might be using APIs not available in 16
- Suggestion: use a compatible library with a minSdk of at most 16,
- or increase this project's minSdk version to at least 19,
- or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- * Get more help at https://help.gradle.org
- BUILD FAILED in 1s
- at ChildProcess.whenDone (/Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:135:23)
- at ChildProcess.emit (events.js:198:13)
- at maybeClose (internal/child_process.js:982:16)
- at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
- (node:11684) 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:11684) [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.
- ┌──────────────────────────────────────────┐
- │ Update available: 9.0.0 (current: 8.0.0) │
- │ Run npm install -g cordova to update. │
- └──────────────────────────────────────────┘
- Enter Passphrase for keystore:
- jarsigner: unable to open jar file: /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement