cordova build android failsClose/hide the Android Soft KeyboardWhy is the Android emulator so slow? How can we speed up the Android emulator?Is there a unique Android device ID?Proper use cases for Android UserManager.isUserAGoat()?Command“phonegap build android” failedFailed to install 'cordova-plugin-whitelist':Error: cmd: Command failed with exit code 1Error on “Ionic cordova build android”Getting build failed error while exporting apk in ionic 3Execution failed for task ':processDebugGoogleServices'. IONIC 3ionic cordova run android always fails
What does this Blight Tower UI mean?
How clean are pets?
What's the benefit of prohibiting the use of techniques/language constructs that have not been taught?
Why does dd not make working bootable USB sticks for Microsoft?
Why does an orbit become hyperbolic when total orbital energy is positive?
A Pixelated Sequence - Find the Continuation
A command to output each line forward then backwards
What are the typical trumpet parts in classical music?
How to generate short fixed length cryptographic hashs?
How to convert Mn2O3 to Mn3O4?
What 68-pin connector is this on my 2.5" solid state drive?
Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?
What was the ultimate objective of The Party in 1984?
'Overwrote' files, space still occupied, are they lost?
Transit visa to Hong Kong
In Bb5 systems against the Sicilian, why does White exchange their b5 bishop without playing a6?
Bit one of the Intel 8080's Flags register
What are the specifics for a Block of Incense?
Extra initial Aeneid lines in 1662 M. de Marolles version
What is the name of this four-engine plane?
Output Distinct Factor Cuboids
Does Forgotten Realms setting count as “High magic”?
What does the "capacitor into resistance" symbol mean?
Why is the car dealer insisting on a loan instead of cash?
cordova build android fails
Close/hide the Android Soft KeyboardWhy is the Android emulator so slow? How can we speed up the Android emulator?Is there a unique Android device ID?Proper use cases for Android UserManager.isUserAGoat()?Command“phonegap build android” failedFailed to install 'cordova-plugin-whitelist':Error: cmd: Command failed with exit code 1Error on “Ionic cordova build android”Getting build failed error while exporting apk in ionic 3Execution failed for task ':processDebugGoogleServices'. IONIC 3ionic cordova run android always fails
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to build my ionic/cordova project and I keep getting issues.
Here is my environment setup:
Ionic:
ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.5
@ionic/v1-toolkit : 1.0.22
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.3.0, ios 4.5.5
Cordova Plugins : no whitelisted plugins (16 plugins total)
System:
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v8.15.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
I want to build for android on my mac computer.
node -v
v8.15.1
When I run this command on my computer I get a number of errors.
cordova build android --verbose
Command finished with error code 1: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew cdvBuildDebug,-b,/Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
(node:33550) UnhandledPromiseRejectionWarning: Error: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'android'.
Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/Users/itsoftworks/Desktop/SelfServiceApp/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:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
(node:33550) 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:33550) [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.
add a comment
|
I am trying to build my ionic/cordova project and I keep getting issues.
Here is my environment setup:
Ionic:
ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.5
@ionic/v1-toolkit : 1.0.22
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.3.0, ios 4.5.5
Cordova Plugins : no whitelisted plugins (16 plugins total)
System:
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v8.15.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
I want to build for android on my mac computer.
node -v
v8.15.1
When I run this command on my computer I get a number of errors.
cordova build android --verbose
Command finished with error code 1: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew cdvBuildDebug,-b,/Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
(node:33550) UnhandledPromiseRejectionWarning: Error: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'android'.
Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/Users/itsoftworks/Desktop/SelfServiceApp/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:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
(node:33550) 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:33550) [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.
Isionic cordova requirementshappy?
– janpio
Mar 28 at 19:45
add a comment
|
I am trying to build my ionic/cordova project and I keep getting issues.
Here is my environment setup:
Ionic:
ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.5
@ionic/v1-toolkit : 1.0.22
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.3.0, ios 4.5.5
Cordova Plugins : no whitelisted plugins (16 plugins total)
System:
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v8.15.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
I want to build for android on my mac computer.
node -v
v8.15.1
When I run this command on my computer I get a number of errors.
cordova build android --verbose
Command finished with error code 1: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew cdvBuildDebug,-b,/Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
(node:33550) UnhandledPromiseRejectionWarning: Error: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'android'.
Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/Users/itsoftworks/Desktop/SelfServiceApp/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:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
(node:33550) 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:33550) [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.
I am trying to build my ionic/cordova project and I keep getting issues.
Here is my environment setup:
Ionic:
ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.5
@ionic/v1-toolkit : 1.0.22
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 6.3.0, ios 4.5.5
Cordova Plugins : no whitelisted plugins (16 plugins total)
System:
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v8.15.1 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
I want to build for android on my mac computer.
node -v
v8.15.1
When I run this command on my computer I get a number of errors.
cordova build android --verbose
Command finished with error code 1: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew cdvBuildDebug,-b,/Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Dorg.gradle.jvmargs=-Xmx2048m,-Pandroid.useDeprecatedNdk=true
(node:33550) UnhandledPromiseRejectionWarning: Error: /Users/itsoftworks/Desktop/SelfServiceApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'android'.
Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/Users/itsoftworks/Desktop/SelfServiceApp/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:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
(node:33550) 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:33550) [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.
asked Mar 28 at 12:55
Aubrey QuinnAubrey Quinn
1
1
Isionic cordova requirementshappy?
– janpio
Mar 28 at 19:45
add a comment
|
Isionic cordova requirementshappy?
– janpio
Mar 28 at 19:45
Is
ionic cordova requirements happy?– janpio
Mar 28 at 19:45
Is
ionic cordova requirements happy?– janpio
Mar 28 at 19:45
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398207%2fcordova-build-android-fails%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55398207%2fcordova-build-android-fails%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is
ionic cordova requirementshappy?– janpio
Mar 28 at 19:45