Skip to content

Instantly share code, notes, and snippets.

@MFQ
Created February 8, 2018 17:55
Show Gist options
  • Save MFQ/5accac7c9f3a09fbc642bc428d0e0fa2 to your computer and use it in GitHub Desktop.
Save MFQ/5accac7c9f3a09fbc642bc428d0e0fa2 to your computer and use it in GitHub Desktop.
Android build logs
➜ gcse-ionic git:(develop) ✗ npm run build-android-sdk-production
> gcse@1.0.0 build-android-sdk-production /Users/mfq/workspace/outsourcing/gcse-ionic
> npm run conf-production-package && npm run build-android-sdk
> gcse@1.0.0 conf-production-package /Users/mfq/workspace/outsourcing/gcse-ionic
> npm run create-dirs && gulp config:production-package
> gcse@1.0.0 create-dirs /Users/mfq/workspace/outsourcing/gcse-ionic
> mkdir -p www/js
[22:51:49] Using gulpfile ~/workspace/outsourcing/gcse-ionic/gulpfile.js
[22:51:49] Starting 'config:production-package'...
[22:51:49] Finished 'config:production-package' after 735 μs
> gcse@1.0.0 build-android-sdk /Users/mfq/workspace/outsourcing/gcse-ionic
> gulp default && npm run gen-resources && npm run package-android-sdk && npm run sign-apks && npm run align-apks
[22:51:50] Using gulpfile ~/workspace/outsourcing/gcse-ionic/gulpfile.js
[22:51:50] Starting 'sass'...
[22:51:50] Starting 'js'...
[22:51:50] Starting 'templates'...
[22:51:52] Finished 'sass' after 1.76 s
[22:51:53] Finished 'js' after 2.84 s
[22:51:53] Finished 'templates' after 2.83 s
[22:51:53] Starting 'default'...
[22:51:53] Finished 'default' after 3.56 μs
> gcse@1.0.0 gen-resources /Users/mfq/workspace/outsourcing/gcse-ionic
> ionic cordova resources --force
[WARN] You need to be logged into your Ionic account in order to run ionic cordova resources.
Log into your Ionic account
If you don't have one yet, create yours by running: ionic signup
? Email: developer@getmoxied.net
? Password: [hidden]
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations - done!
✔ Generating platform resources: 50 / 50 complete - done!
✔ Modifying config.xml to add new image resources - done!
> gcse@1.0.0 package-android-sdk /Users/mfq/workspace/outsourcing/gcse-ionic
> ionic build android --release
[WARN] ionic build is for building web assets and takes no arguments. See ionic build --help.
Ignoring argument android. Perhaps you meant ionic cordova build android?
[WARN] Not performing Ionic build for project type: ionic1.
> ionic cordova prepare --no-build
> cordova prepare
cordova-custom-config: Skipping auto-restore of config file backup(s)
Running command: /Users/mfq/workspace/outsourcing/gcse-ionic/package-hooks/ios9_allow_http.sh /Users/mfq/workspace/outsourcing/gcse-ionic
cordova-custom-config: Applied custom config from config.xml to /Users/mfq/workspace/outsourcing/gcse-ionic/platforms/ios/Temple GCSE/Temple GCSE-Info.plist
> gcse@1.0.0 sign-apks /Users/mfq/workspace/outsourcing/gcse-ionic
> npm run sign-apk-armv7 && npm run sign-apk-x86
> gcse@1.0.0 sign-apk-armv7 /Users/mfq/workspace/outsourcing/gcse-ionic
> jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore gcse-prod.keystore -signedjar platforms/android/build/outputs/apk/android-armv7-release.apk -storepass ion-moxie-101 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk gcseprod
jarsigner: unable to open jar file: platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk
npm ERR! Darwin 17.4.0
npm ERR! argv "/Users/mfq/.nvm/versions/node/v6.11.0/bin/node" "/Users/mfq/.nvm/versions/node/v6.11.0/bin/npm" "run" "sign-apk-armv7"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! gcse@1.0.0 sign-apk-armv7: `jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore gcse-prod.keystore -signedjar platforms/android/build/outputs/apk/android-armv7-release.apk -storepass ion-moxie-101 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk gcseprod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gcse@1.0.0 sign-apk-armv7 script 'jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore gcse-prod.keystore -signedjar platforms/android/build/outputs/apk/android-armv7-release.apk -storepass ion-moxie-101 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk gcseprod'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gcse package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore gcse-prod.keystore -signedjar platforms/android/build/outputs/apk/android-armv7-release.apk -storepass ion-moxie-101 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk gcseprod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gcse
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gcse
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mfq/workspace/outsourcing/gcse-ionic/npm-debug.log
npm ERR! Darwin 17.4.0
npm ERR! argv "/Users/mfq/.nvm/versions/node/v6.11.0/bin/node" "/Users/mfq/.nvm/versions/node/v6.11.0/bin/npm" "run" "sign-apks"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! gcse@1.0.0 sign-apks: `npm run sign-apk-armv7 && npm run sign-apk-x86`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gcse@1.0.0 sign-apks script 'npm run sign-apk-armv7 && npm run sign-apk-x86'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gcse package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run sign-apk-armv7 && npm run sign-apk-x86
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gcse
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gcse
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mfq/workspace/outsourcing/gcse-ionic/npm-debug.log
npm ERR! Darwin 17.4.0
npm ERR! argv "/Users/mfq/.nvm/versions/node/v6.11.0/bin/node" "/Users/mfq/.nvm/versions/node/v6.11.0/bin/npm" "run" "build-android-sdk"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! gcse@1.0.0 build-android-sdk: `gulp default && npm run gen-resources && npm run package-android-sdk && npm run sign-apks && npm run align-apks`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gcse@1.0.0 build-android-sdk script 'gulp default && npm run gen-resources && npm run package-android-sdk && npm run sign-apks && npm run align-apks'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gcse package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp default && npm run gen-resources && npm run package-android-sdk && npm run sign-apks && npm run align-apks
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gcse
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gcse
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mfq/workspace/outsourcing/gcse-ionic/npm-debug.log
npm ERR! Darwin 17.4.0
npm ERR! argv "/Users/mfq/.nvm/versions/node/v6.11.0/bin/node" "/Users/mfq/.nvm/versions/node/v6.11.0/bin/npm" "run" "build-android-sdk-production"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! gcse@1.0.0 build-android-sdk-production: `npm run conf-production-package && npm run build-android-sdk`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gcse@1.0.0 build-android-sdk-production script 'npm run conf-production-package && npm run build-android-sdk'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gcse package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run conf-production-package && npm run build-android-sdk
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gcse
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gcse
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mfq/workspace/outsourcing/gcse-ionic/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment