Comments (8)
Also having this problem.
from vsts-cordova-tasks.
I just ran into this, too. In my case, it seems related to the Gradle daemon, despite --gradleArg=--no-daemon
?
2018-04-12T07:22:12.5433965Z Queueing build for platform android w/options: --debug,--device,--gradleArg=--no-daemon
2018-04-12T07:22:12.6075190Z Processing res/native for android
2018-04-12T07:22:25.0264273Z ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
2018-04-12T07:22:25.0264688Z JAVA_HOME=C:\Program Files\Java\jdk1.8.0_162
2018-04-12T07:22:35.7706810Z Starting a Gradle Daemon (subsequent builds will be faster)
from vsts-cordova-tasks.
Also having this problem.
from vsts-cordova-tasks.
Im having the exact same problem.
Cordova 7.1.0
Cordova Android 6.4.0
Also tested with Cordova Android 6.3.0
from vsts-cordova-tasks.
I have the exact same problem. The ionic build finishes successfully and gets stuck at the end. The log shows that grade daemon is started.
It appears that there must be a fix for this but it does not work: https://github.com/Microsoft/vsts-cordova-tasks/blob/2249ced3ee44b8eeda9faef20bdb09fd8b05774c/Tasks/CordovaBuild/lib/cordova-task.js#L203
from vsts-cordova-tasks.
Seems to be the same issue as #82
from vsts-cordova-tasks.
For what it's worth, my build started working by switching to a macOS agent; only Windows hangs with the Gradle daemon. Oddly, the Gradle Daemon seems like it's still starting on macOS:
2018-05-07T14:22:16.9812730Z Queueing build for platform android w/options: --debug,--device,--gradleArg=--no-daemon
2018-05-07T14:22:17.1492620Z Processing res/native for android
2018-05-07T14:22:18.1304590Z ANDROID_HOME=/Users/vsts/Library/Android/sdk
2018-05-07T14:22:18.1320120Z JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home
2018-05-07T14:22:19.2554410Z Starting a Gradle Daemon (subsequent builds will be faster)
2018-05-07T14:22:22.8006720Z Gradle 4.7
Update: Or maybe the build is succeeding but not actually working? Still exploring...
from vsts-cordova-tasks.
I'm going to close this as it's a dupe of #82 - I'm discussing closing it with others there, but you may want to get on the conversation.
from vsts-cordova-tasks.
Related Issues (20)
- VSTS CI with IONIC 2 integration is failing - Both Add platform and Build Android tasks HOT 1
- No agent could be found for xcode, npm HOT 3
- Cordova Build task fails, unable to find Gradle HOT 7
- Ionic command using its own version of npm HOT 2
- Ionic Cordova iOS Build Failed - Scheme not found HOT 1
- Mac agent - issue with xcode-task-utils.js:45:31 HOT 4
- Cordova build error in vsts HOT 1
- Cordova Build Task cannot copy Android artifacts in [email protected] HOT 2
- Cordova task is failing to complete the build HOT 25
- Cordova Build Agent Error - "CordovaError: Current working directory is not a Cordova-based project." HOT 5
- Install Apple Provisioning Profile: security: SecPolicySetValue: One or more parameters passed to a function were not valid. HOT 1
- Error when specifying archs for ionic cordova build windows HOT 3
- Fails to install node 0.12.7 HOT 1
- Cordova not looking in the correct folder from which to copy APK from HOT 2
- ionic cordova build ios - Issue with xcode - Cannot read property 'toLowerCase' of undefined HOT 1
- Is this Repo Deprecated? HOT 2
- Create ipa using Distribution Provisioning Profile HOT 2
- Unable to determine Identity with npm 10.x HOT 6
- Azure Devops Pipeline Task Cordova Build : Execution failed for task ':app:mergeDebugResources' (GC overhead limit exceeded)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsts-cordova-tasks.