July 21, 2018 at 9:49 pm #13896
I create new app again, because the last app didn’t works.
I have use this command:
but still like this when I test with command ionic serveJuly 23, 2018 at 6:45 am #13920
AlexKeymasterJuly 23, 2018 at 7:29 pm #13945
Thanks for your support.
Now, when I use command : <span style=”background-color: #fafafa; color: #444444; font-family: Menlo, Monaco, Consolas, ‘Courier New’, monospace; font-size: 14.4px; white-space: pre-line;”>ionic cordova build –release android</span>
At the end off process appear like this:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:app:processReleaseResources’.
> Failed to execute aapt
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 2m 33s
at ChildProcess.whenDone (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:9868) 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:9868) [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.
C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp>July 24, 2018 at 10:06 am #13958
Take backup of all ionic setup then
rename the node_modules folder in your ionic project (where src folder is) to node_modules_BACKUP and also rename the package.json file to package_BACKUP.json .
then download the package.json file from here : https://bit.ly/2I2F732
Then place it in your ionic project .
Then in terminal of cmd run :
Then run this command in your ionic project :
ionic cordova platform rm android
ionic cordova platform add [email protected]
- You must be logged in to reply to this topic.