Build-tools are tools designed to help and automate the process of compiling, packaging and deploying software.
Questions tagged [build-tools]
421 questions
411
votes
7 answers
ant warning: "'includeantruntime' was not set"
I receive the following warning:
[javac] build.xml:9: warning: 'includeantruntime' was not set,
defaulting to build.sysclasspath=last; set to false for repeatable builds
What does this mean?

user496949
- 83,087
- 147
- 309
- 426
330
votes
20 answers
How to install Android SDK Build Tools on the command line?
I want to setup the Android dev environment from command line, and encounter the following issue:
wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz
after extract the file, run
tools/android update sdk --no-ui
However, it is too slow…

Zhenguo Yang
- 3,800
- 5
- 18
- 22
219
votes
2 answers
How can I install the VS2017 version of msbuild on a build server without installing the IDE?
Historically, this has been done with the Microsoft Build Tools. But it seems that the Build Tools may not be available for versions after 2015. The replacement appears to be the Visual Studio build tools, which doesn't seem to have a real homepage…

rianjs
- 7,767
- 5
- 24
- 40
171
votes
3 answers
What are the differences between Bazel and Gradle?
Google just open-sourced its build tool Bazel. What are the differences between this tool and Gradle? What can it do that Gradle cannot, what does it do better, and what does Gradle do better?

user11171
- 3,821
- 5
- 26
- 35
148
votes
16 answers
Unable to compile Rust hello world on Windows: linker link.exe not found
I have installed Rust on windows from Rust installation page. After installation I tried running the "hello world" program but got the following error.
>cargo run
Error
Compiling helloworld v0.1.0 (C:\Users\DELL\helloworld)
error: linker…

Zobia Kanwal
- 4,085
- 4
- 15
- 38
128
votes
34 answers
Could not resolve all dependencies for configuration ':classpath'
I cant seem to get build tools for the latest gradle at all. I suspect its something to do with proxy setting for gradle. I have had a good look online but still cant seem to find a solution. I use gradle 2.1.
I created gradle.properties file in my…

Nabdreas
- 3,327
- 4
- 27
- 30
111
votes
4 answers
How to compile tests with SBT without running them
Is there a way to build tests with SBT without running them?
My own use case is to run static analysis on the test code by using a scalac plugin. Another possible use case is to run some or all of the test code using a separate runner than the one…

user1809090
- 2,111
- 2
- 14
- 6
84
votes
9 answers
How to use package.json scripts to copy files with specific file extension
I am trying out npm as a build tool.
One stumbling block I have encountered is that I need to copy javascript files from one folder to another. The source folder contains typescript files, javascript files and map files, but in the target folder I…

Thomas Jørgensen
- 1,092
- 2
- 12
- 19
78
votes
7 answers
Out of memory issue after updating buildToolsVersion '23.0.1' in Android studio
I am getting out of memory issue very often after updating buildToolsVersion '22.0.1' to buildToolsVersion '23.0.1' I am really confused and don't know how to solve this issue, since this error showing only with buildTools version 23.0.1. Whereas it…

Chandru
- 5,954
- 11
- 45
- 85
72
votes
4 answers
gem install json -v 1.7.3 gives 'Please update your PATH to include build tools'
When I run:
rails new blog
I get:
Installing json (1.7.3)
Gem::InstallError: The 'json' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads'…

Joe
- 7,922
- 18
- 54
- 83
66
votes
9 answers
Define buildconfigfield for an specific flavor AND buildType
I have 2 flavors, lets say Vanilla and Chocolate. I also have Debug and Release build types, and I need Vanilla Release to have a field true, while the other 3 combinations should be false.
def BOOLEAN = "boolean"
def VARIABLE = "VARIABLE"
def TRUE…

JesusS
- 1,645
- 1
- 18
- 31
60
votes
9 answers
Android Gradle Project upgrading build tools to 21.0.1: aapt throws Exception
We have an android gradle project. Today I wanted to upgrade the android build tools version from 20 to 21.0.1, but now the aapt is failing.
* What went wrong:
Execution failed for task ':myproject-android:processDebugResources'.
>…

dfritsi
- 1,224
- 3
- 14
- 24
59
votes
5 answers
failed to find Build Tools revision 21.1.1 - sdk up to date
I´m running a linux android sdk installation and my new project needs Build tools 21.1.1
Somehow, this build tools do not exist, eventhough my sdk is up to date, but in the build-tools folder there is now android-4.4W folder
android update sdk…

Marian Klühspies
- 15,824
- 16
- 93
- 136
52
votes
11 answers
Android Studio Gradle BuildTools Revision
I have an Android Project in Android Studio 0.5.9 and Gradle is throwing this error:
Error:The SDK Build Tools revision (17.0.0) is too low. Minimum required is 19.0.0
I have already installed SDK Build Tools Revision 19 from the SDK Manager and…

Gabriel Matusevich
- 3,835
- 10
- 39
- 58
46
votes
2 answers
VisualStudio Build Tools 2017 offline installer
I generate an an offline installer for the build tools like this:
vs_BuildTools.exe --layout c:\VS_BuildTools2017_offline --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US
I move this…

n80fr1n60
- 701
- 1
- 6
- 12