Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.45 KB | None | 0 0
  1. The default interactive shell is now zsh.
  2. To update your account to use zsh, please run `chsh -s /bin/zsh`.
  3. For more details, please visit https://support.apple.com/kb/HT208050.
  4. Jeremias-MacBook-Pro-2:consigapp jeremias$ /bin/bash /Users/jeremias/Workspace/WorkNETINOVE/consigapp/deploy.sh
  5. [WARN] Detected locally installed Ionic CLI, but it's too old--using global CLI.
  6. > ionic-app-scripts build --prod --target cordova --platform android
  7. [21:37:24] ionic-app-scripts 1.3.0
  8. [21:37:24] build prod started ...
  9. [21:37:24] clean started ...
  10. [21:37:24] clean finished in 9 ms
  11. [21:37:24] copy started ...
  12. [21:37:24] ngc started ...
  13. [21:37:50] ngc finished in 26.01 s
  14. [21:37:50] preprocess started ...
  15. [21:37:50] deeplinks started ...
  16. [21:37:51] deeplinks finished in 895 ms
  17. [21:37:51] optimization started ...
  18. [21:37:53] copy finished in 29.22 s
  19. [21:38:00] optimization finished in 9.05 s
  20. [21:38:00] preprocess finished in 9.95 s
  21. [21:38:00] webpack started ...
  22. [21:38:07] webpack finished in 7.28 s
  23. [21:38:07] sass started ...
  24. [21:38:07] uglifyjs started ...
  25. [21:38:09] sass finished in 1.39 s
  26. [21:38:09] cleancss started ...
  27. [21:38:10] cleancss finished in 1.22 s
  28. WARN: Output exceeds 32000 characters
  29. WARN: Output exceeds 32000 characters
  30. WARN: Output exceeds 32000 characters
  31. WARN: Output exceeds 32000 characters
  32. WARN: Output exceeds 32000 characters
  33. WARN: Output exceeds 32000 characters
  34. WARN: Output exceeds 32000 characters
  35. [21:38:27] uglifyjs finished in 19.72 s
  36. [21:38:27] postprocess started ...
  37. [21:38:27] removed unused font files
  38. [21:38:27] postprocess finished in 95 ms
  39. [21:38:27] lint started ...
  40. [21:38:27] build prod finished in 63.10 s
  41. [21:38:31] tslint: src/providers/cards-service.ts, line: 78
  42. Unused variable: 'seller'
  43.  
  44. L77: this.storage.get("seller").then(sellerStr => {
  45. L78: let seller = sellerStr;
  46. L79: let sql = `
  47.  
  48. [21:38:31] tslint: src/providers/cable-service.ts, line: 35
  49. Unused property: 'charge_id'
  50.  
  51. L34: private seller;
  52. L35: private charge_id;
  53. L36: app_version: any;
  54.  
  55. [21:38:31] tslint: src/providers/cable-service.ts, line: 263
  56. Unused variable: 'err'
  57.  
  58. L262: if(error.status != 0){
  59. L263: let err = JSON.parse(error._body);
  60. L264: }else{
  61.  
  62. [21:38:31] tslint: src/pages/card-products-edit/card-products-edit.ts, line: 4
  63. Unused import: 'isUndefined'
  64.  
  65. L3: import { CardProductsService } from '../../providers/card-products-service';
  66. L4: import { isUndefined } from 'ionic-angular/umd/util/util';
  67.  
  68. [21:38:31] tslint: src/pages/card-products-edit/card-products-edit.ts, line: 230
  69. Unused variable: 'id'
  70.  
  71. L229: let rowid = this.cardProduct.rowid;
  72. L230: let id = this.cardProduct.id;
  73. L231: this.cardProdService.save(this.cardProduct).then((result: any) => {
  74.  
  75. [21:38:31] tslint: src/pages/card-products-edit/card-products-edit.ts, line: 235
  76. Unused variable: 'insercao'
  77.  
  78. L234: // console.log.comented(result);
  79. L235: let insercao = true;
  80. L236: //if(result.rowsAffected){
  81.  
  82. [21:38:31] tslint: src/pages/card-details-page/card-details-page.ts, line: 2
  83. Unused import: 'Modal'
  84.  
  85. L1: import { Component, ViewChild } from '@angular/core';
  86. L2: vController, NavParams, Platform, Content, ModalController, Modal, PopoverController } from 'ionic-angular';
  87. L3: import { Storage } from '@ionic/storage';
  88.  
  89. [21:38:31] tslint: src/pages/card-details-page/card-details-page.ts, line: 39
  90. Unused import: 'isUndefined'
  91.  
  92. L38: import { FileOpener } from '@ionic-native/file-opener';
  93. L39: import { isUndefined } from 'ionic-angular/umd/util/util';
  94.  
  95. [21:38:31] tslint: src/pages/config-page/config-page.ts, line: 8
  96. Unused import: 'FileEntry'
  97.  
  98. L7: import { PrinterService } from '../../providers/printer-service';
  99. L8: import { File, FileEntry, FileError } from '@ionic-native/file';
  100.  
  101. [21:38:31] tslint: src/pages/config-page/config-page.ts, line: 8
  102. Unused import: 'FileError'
  103.  
  104. L7: import { PrinterService } from '../../providers/printer-service';
  105. L8: import { File, FileEntry, FileError } from '@ionic-native/file';
  106.  
  107. [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 15
  108. Unused import: 'FileError'
  109.  
  110. L14: import { Storage } from '@ionic/storage';
  111. L15: import { File, FileEntry, FileError, DirectoryEntry } from '@ionic-native/file';
  112. L16: import { AppVersion } from '@ionic-native/app-version';
  113.  
  114. [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 15
  115. Unused import: 'DirectoryEntry'
  116.  
  117. L14: import { Storage } from '@ionic/storage';
  118. L15: import { File, FileEntry, FileError, DirectoryEntry } from '@ionic-native/file';
  119. L16: import { AppVersion } from '@ionic-native/app-version';
  120.  
  121. [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 53
  122. Unused property: '_callbackConfig'
  123.  
  124. L52: private loading = null;
  125. L53: private _callbackConfig: Function;
  126. L54: private _showSyncSuccess: Function;
  127.  
  128. [21:38:31] tslint: src/pages/sync-page/sync-page.ts, line: 56
  129. Unused property: 'syncSubscription'
  130.  
  131. L55: private _showSyncError: Function;
  132. L56: private syncSubscription;
  133. L57: private pendentes = [];
  134.  
  135. [21:38:31] tslint: src/pages/cards-page/cards-page.ts, line: 105
  136. Unused method: 'assign'
  137.  
  138. L105: private assign(c: any, destiny: Array<CardModel>){
  139. L106: let card: CardModel = new CardModel();
  140.  
  141. [21:38:31] tslint: src/formatters/cep-formatter.ts, line: 29
  142. Unused variable: 'raw'
  143.  
  144. L28: let val = this.control.value
  145. L29: let raw = val;
  146. L30: let formatted = this.mask(this.control.value)
  147.  
  148. [21:38:31] tslint: src/formatters/currency-formatter.ts, line: 90
  149. Unused variable: 'result'
  150.  
  151. L89: let n: string = parseInt(v.replace(/[^\d]/g ,'')).toString();
  152. L90: let result: string = "0,00";
  153.  
  154. [21:38:31] tslint: src/app/sync/sync.component.ts, line: 2
  155. Unused import: 'SQLiteObject'
  156.  
  157. L1: import { Component } from '@angular/core';
  158. L2: import { SQLite, SQLiteObject } from '@ionic-native/sqlite';
  159. L3: import { Events } from 'ionic-angular';
  160.  
  161. [21:38:31] tslint: src/app/sync/sync.module.ts, line: 5
  162. Unused import: 'Events'
  163.  
  164. L5: import { Events } from 'ionic-angular';
  165. L6: import { SyncComponent } from './sync.component';
  166.  
  167. [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 1
  168. Unused import: 'Output'
  169.  
  170. L1: import { Input, Output, EventEmitter } from '@angular/core';
  171. L2: import { Component } from '@angular/core';
  172.  
  173. [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 1
  174. Unused import: 'EventEmitter'
  175.  
  176. L1: import { Input, Output, EventEmitter } from '@angular/core';
  177. L2: import { Component } from '@angular/core';
  178.  
  179. [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 3
  180. Unused import: 'FormBuilder'
  181.  
  182. L2: import { Component } from '@angular/core';
  183. L3: import { FormBuilder, FormGroup, Validators } from '@angular/forms';
  184.  
  185. [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 3
  186. Unused import: 'FormGroup'
  187.  
  188. L2: import { Component } from '@angular/core';
  189. L3: import { FormBuilder, FormGroup, Validators } from '@angular/forms';
  190.  
  191. [21:38:31] tslint: src/components/consig-currency/consig-currency.ts, line: 3
  192. Unused import: 'Validators'
  193.  
  194. L2: import { Component } from '@angular/core';
  195. L3: import { FormBuilder, FormGroup, Validators } from '@angular/forms';
  196.  
  197. [21:38:31] tslint: src/components/consig-currency/consig-currency.module.ts, line: 1
  198. Unused import: 'CUSTOM_ELEMENTS_SCHEMA'
  199.  
  200. L1: import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
  201. L2: import { IonicPageModule } from 'ionic-angular';
  202.  
  203. [21:38:31] tslint: src/providers/charge-service.ts, line: 2
  204. Unused import: 'Http'
  205.  
  206. L1: import { Injectable } from '@angular/core';
  207. L2: import { Http } from '@angular/http';
  208.  
  209. [21:38:31] tslint: src/providers/charge-service.ts, line: 4
  210. Unused import: 'SQLiteObject'
  211.  
  212. L4: import { SQLite, SQLiteObject } from '@ionic-native/sqlite';
  213. L5: import 'rxjs/add/operator/map';
  214.  
  215. [21:38:31] lint finished in 3.75 s
  216. > cordova build android --release
  217. cordova-android-support-gradle-release: Android platform: V7+
  218. cordova-android-support-gradle-release: Wrote custom version '27.+' to /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/build.gradle
  219. 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
  220. cordova-android-support-gradle-release: Android platform: V7+
  221. cordova-android-support-gradle-release: Wrote custom version '27.+' to /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/build.gradle
  222. 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
  223. Checking Java JDK and Android SDK versions
  224. ANDROID_SDK_ROOT=/Users/jeremias/Library/Android/sdk (recommended setting)
  225. ANDROID_HOME=/Users/jeremias/Library/Android/sdk (DEPRECATED)
  226. Subproject Path: CordovaLib
  227. Subproject Path: app
  228.  
  229. > Configure project :app
  230. +-----------------------------------------------------------------
  231. | cordova-android-support-gradle-release: 27.+
  232. +-----------------------------------------------------------------
  233.  
  234. > Task :app:preBuild UP-TO-DATE
  235. > Task :CordovaLib:preBuild UP-TO-DATE
  236. > Task :CordovaLib:preReleaseBuild UP-TO-DATE
  237. > Task :CordovaLib:checkReleaseManifest UP-TO-DATE
  238. > Task :CordovaLib:processReleaseManifest UP-TO-DATE
  239. > Task :app:preReleaseBuild UP-TO-DATE
  240. > Task :CordovaLib:compileReleaseAidl NO-SOURCE
  241. > Task :app:compileReleaseAidl NO-SOURCE
  242. > Task :CordovaLib:packageReleaseRenderscript NO-SOURCE
  243. > Task :app:compileReleaseRenderscript UP-TO-DATE
  244. > Task :app:checkReleaseManifest UP-TO-DATE
  245. > Task :app:generateReleaseBuildConfig UP-TO-DATE
  246. > Task :app:prepareLintJar UP-TO-DATE
  247. > Task :app:generateReleaseSources UP-TO-DATE
  248. > Task :CordovaLib:compileReleaseRenderscript UP-TO-DATE
  249. > Task :CordovaLib:generateReleaseBuildConfig UP-TO-DATE
  250. > Task :CordovaLib:generateReleaseResValues UP-TO-DATE
  251. > Task :CordovaLib:generateReleaseResources UP-TO-DATE
  252. > Task :CordovaLib:packageReleaseResources UP-TO-DATE
  253. > Task :CordovaLib:generateReleaseRFile UP-TO-DATE
  254. > Task :CordovaLib:prepareLintJar UP-TO-DATE
  255. > Task :CordovaLib:generateReleaseSources UP-TO-DATE
  256. > Task :CordovaLib:javaPreCompileRelease UP-TO-DATE
  257. > Task :CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE
  258. > Task :CordovaLib:processReleaseJavaRes NO-SOURCE
  259. > Task :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE
  260. > Task :app:javaPreCompileRelease UP-TO-DATE
  261. > Task :app:mainApkListPersistenceRelease UP-TO-DATE
  262. > Task :app:generateReleaseResValues UP-TO-DATE
  263. > Task :app:generateReleaseResources UP-TO-DATE
  264. > Task :app:mergeReleaseResources UP-TO-DATE
  265. > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
  266.  
  267. > Task :app:processReleaseManifest FAILED
  268. /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/src/main/AndroidManifest.xml Error:
  269. 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
  270.  
  271. See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
  272.  
  273. Suggestion: use a compatible library with a minSdk of at most 16,
  274. or increase this project's minSdk version to at least 19,
  275. or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
  276.  
  277. FAILURE: Build failed with an exception.
  278.  
  279. * What went wrong:
  280. Execution failed for task ':app:processReleaseManifest'.
  281. > 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
  282. Suggestion: use a compatible library with a minSdk of at most 16,
  283. or increase this project's minSdk version to at least 19,
  284. or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
  285.  
  286. * Try:
  287. 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.
  288.  
  289. * Get more help at https://help.gradle.org
  290.  
  291. BUILD FAILED in 1s
  292. 22 actionable tasks: 1 executed, 21 up-to-date
  293. (node:11684) UnhandledPromiseRejectionWarning: Error: /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/gradlew: Command failed with exit code 1 Error output:
  294. /Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/app/src/main/AndroidManifest.xml Error:
  295. 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
  296. Suggestion: use a compatible library with a minSdk of at most 16,
  297. or increase this project's minSdk version to at least 19,
  298. or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
  299.  
  300. FAILURE: Build failed with an exception.
  301.  
  302. * What went wrong:
  303. Execution failed for task ':app:processReleaseManifest'.
  304. > 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
  305. Suggestion: use a compatible library with a minSdk of at most 16,
  306. or increase this project's minSdk version to at least 19,
  307. or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
  308.  
  309. * Try:
  310. 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.
  311.  
  312. * Get more help at https://help.gradle.org
  313.  
  314. BUILD FAILED in 1s
  315. at ChildProcess.whenDone (/Users/jeremias/Workspace/WorkNETINOVE/consigapp/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:135:23)
  316. at ChildProcess.emit (events.js:198:13)
  317. at maybeClose (internal/child_process.js:982:16)
  318. at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  319. (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)
  320. (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.
  321.  
  322.  
  323. ┌──────────────────────────────────────────┐
  324. │ Update available: 9.0.0 (current: 8.0.0) │
  325. │ Run npm install -g cordova to update. │
  326. └──────────────────────────────────────────┘
  327.  
  328. Enter Passphrase for keystore:
  329. 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