Pro Package v1


#1

Hi everyone,

I have an ionic app v1 since 2016.
I was always package and sign it with ionic legacy package system. I moved my app to pro backend and bough pro account.
When i tried to package with pro account i m getting an error.
Does anybody help me about this issue?

Blockquote
Printing Build Environment Details
$ ionic info
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

Cordova Platforms : none
Ionic Framework   : ionic1 1.2.4

System:

Android SDK Tools : 26.0.1
Node              : v8.11.1
npm               : 5.10.0 
OS                : Linux 4.4

Environment Variables:

ANDROID_HOME : /opt/android-sdk

Misc:

backend : pro

$ ionic info success
$ cordova platform add android --no-fetch
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Using cordova-fetch for cordova-android@6.4.0
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com..
Name: *****
Activity: MainActivity
Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.4.0
Discovered plugin “phonegap-plugin-push” in config.xml. Adding it to the project
Installing “phonegap-plugin-push” for android
Plugin doesn’t support this project’s cordova-android version. cordova-android: 6.4.0, failed version requirement: >=7.1.0
Skipping ‘phonegap-plugin-push’ for android
Adding phonegap-plugin-push to package.json
Saved plugin info for “phonegap-plugin-push” to config.xml
Running command: /usr/src/app/hooks/after_prepare/010_add_platform_class.js /usr/src/app
(node:1) UnhandledPromiseRejectionWarning: Error: spawn EACCES
at _errnoException (util.js:1022:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:502:9)
at Object.exports.spawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
at runScriptViaChildProcessSpawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:225:23)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:166:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:20
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:749:13)
(node:1) 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:1) [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.
$ cordova platform add android --no-fetch success
$ cordova build android --release – --keystore=android.keystore --storePassword=***** --alias=alias_name --password=*****
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Running command: /usr/src/app/hooks/after_prepare/010_add_platform_class.js /usr/src/app
(node:1) UnhandledPromiseRejectionWarning: Error: spawn EACCES
at _errnoException (util.js:1022:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:502:9)
at Object.exports.spawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
at runScriptViaChildProcessSpawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:225:23)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:166:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:20
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:749:13)
(node:1) 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:1) [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.
$ cordova build android --release – --keystore=android.keystore --storePassword=***** --alias=alias_name --password=***** success
Running after script…
$ run “clean-up”
Running Stage clean-up for Job: 5604643
ERROR: Job failed: exit status 1
Build failed


#2

We are getting exactly the same error. Raised a support request no response as of yet. Did u make any progress on this. Thnx


#3

No i didnt make any progress :frowning: