GithubHelp home page GithubHelp logo

Comments (5)

dpetrishin avatar dpetrishin commented on May 17, 2024

@tcihak-fqa Hi, what kind of OS do you use?

from vsts-cordova-tasks.

tcihak-fqa avatar tcihak-fqa commented on May 17, 2024

This is on the VSTS Hosted agent, so it's Windows Server 2012 R2.

from vsts-cordova-tasks.

dpetrishin avatar dpetrishin commented on May 17, 2024

@tcihak-fqa Ok, thanks for information.

That bug appears because of update of android sdk tools. So cordova refers on folder which is not exists in new android sdk tools versions now. While cordova is fixing that bug I can offer you temporary solution.

Early that bug was fixed by installing of Android Studio in Windows. But it's not helped in MacOS.
So you could try to install Android Studio and see what happens or do steps, described below.

Please, follow my instructions.

  1. Download older version of android sdk tools.
  2. Go to :\Users\%User%\AppData\Local\Android\sdk
  3. Make a backup of tools folder.
  4. Replace tools folder with downloaded one.

Hope, this will help.

from vsts-cordova-tasks.

tcihak-fqa avatar tcihak-fqa commented on May 17, 2024

Here's what I am doing in my VSO build definition:

  1. Downloading Gradle 3.3 bin using the Powershell task
  2. Extracting Gradle to the workspace
  3. Creating a batch script to pre-pend the gradle path (.\gradle-3.3\bin) to the "path" environment variable (append didn't work because the path is too long?)
  4. Running the batch script using the Batch Script task (with Modify Environment checked)
  5. Building my using Cordova

from vsts-cordova-tasks.

cocowalla avatar cocowalla commented on May 17, 2024

@tcihak-fqa do those steps work for you? If so, would you be able to create a gist with your scripts?

from vsts-cordova-tasks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.