Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jfhernandeze/872c4e7ab30e7b18d3d5ef8811eff0b9 to your computer and use it in GitHub Desktop.
Save jfhernandeze/872c4e7ab30e7b18d3d5ef8811eff0b9 to your computer and use it in GitHub Desktop.
MacBook-Pro-de-MacBook:nrcarnosntrol-ionic2 jfhernandeze$ ionic cordova run android
Running app-scripts build: --platform android --target cordova
[15:27:15] build dev started ...
[15:27:15] clean started ...
[15:27:15] clean finished in 21 ms
[15:27:15] copy started ...
[15:27:15] deeplinks started ...
[15:27:16] deeplinks finished in 109 ms
[15:27:16] transpile started ...
[15:27:20] transpile finished in 4.25 s
[15:27:20] preprocess started ...
[15:27:20] preprocess finished in 1 ms
[15:27:20] webpack started ...
[15:27:20] copy finished in 4.62 s
[15:27:29] webpack finished in 8.94 s
[15:27:29] sass started ...
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
[15:27:30] sass finished in 1.67 s
[15:27:30] postprocess started ...
[15:27:30] postprocess finished in 17 ms
[15:27:30] lint started ...
[15:27:30] build dev finished in 15.25 s
> cordova run android
Android Studio project detected
ANDROID_HOME=/usr/local/share/android-sdk
JAVA_HOME=/Library/Java/Home
studio
Starting a Gradle Daemon (subsequent builds will be faster)
[15:27:37] tslint: src/pages/otros-servicios/parquimetro/parquimetro.ts, line: 3
All imports are unused.
L2: import { IonicPage, NavController, NavParams } from 'ionic-angular';
L3: import { FormControl, FormGroup, Validators} from "@angular/forms"
[15:27:37] lint finished in 6.54 s
:wrapper
BUILD SUCCESSFUL in 6s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon (subsequent builds will be faster)
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
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_3fa3xxuvnktehdqfz78btaehq.run(/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/build.gradle:145)
: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
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:createDebugCompatibleScreenManifests
:app:processDebugManifest
/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/src/main/AndroidManifest.xml:22:5-65 Error:
Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:22:5-65 duplicated with element declared at AndroidManifest.xml:19:5-90
/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/src/main/AndroidManifest.xml:24:5-84 Error:
Element uses-feature#android.hardware.camera at AndroidManifest.xml:24:5-84 duplicated with element declared at AndroidManifest.xml:20:5-85
/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:app:processDebugManifest
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs
* 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 16s
20 actionable tasks: 20 executed
(node:17107) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: /Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/src/main/AndroidManifest.xml:22:5-65 Error:
Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:22:5-65 duplicated with element declared at AndroidManifest.xml:19:5-90
/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/src/main/AndroidManifest.xml:24:5-84 Error:
Element uses-feature#android.hardware.camera at AndroidManifest.xml:24:5-84 duplicated with element declared at AndroidManifest.xml:20:5-85
/Users/macbook/WebstormProjects/nrcarnosntrol-ionic2/platforms/android/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs
* 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 16s
(node:17107) [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] Your app has been deployed.
Did you know you can live-reload changes from your app with --livereload?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment