Questions tagged [build-tools]

Build-tools are tools designed to help and automate the process of compiling, packaging and deploying software.

421 questions
42
votes
4 answers

Cannot install Support repository and sync project in Android Studio

I am trying to use the support libraries of version 25.2.0 so I will be able to use the CameraKit library. I have got the newest build tools downloaded: and the support repository: my gradle file: apply plugin:…
jublikon
  • 3,427
  • 10
  • 44
  • 82
37
votes
2 answers

Is it safe to delete old Gradle versions?

I recently noticed that the .gradle folder in my home directory blew up to a size of almost 2GB. This is mainly caused by the all the old versions located at .gradle/wrapper/dists. I'm currently running v3.0 so is it necessary to keep all those…
qantik
  • 1,067
  • 1
  • 10
  • 20
36
votes
3 answers

Can I pass arguments to angular-cli at build-time

I would like to pass custom arguments to angular-cli when building an Angular2 (typescript) app. Is this possible? How can I access this arguments in my code? The scenario is like this: I have one Angular2 app with 2 layouts. Each layout has 3…
Arthur Helmel
  • 421
  • 1
  • 4
  • 5
34
votes
1 answer

Android Studio 3.0: buildToolsVersion not found in gradle files

I recently installed new stable version of Android Studio (v3.0). Then created a new project and there was not any problem. But saw there is no buildToolsVersion field in the app-level build.gradle file. Even I searched all project files…
34
votes
4 answers

How to install old version of Android build tools from command line?

I am installing android SDK to create an automated build server. I got into a problem where many Gradle-based Android projects I manage rely on different build tools version. Some of the projects still requiring old build-tools version (e.g.…
akhy
  • 5,760
  • 6
  • 39
  • 60
33
votes
4 answers

cmake: compilation statistics per transation unit

I need to figure out which translation units need to be restructured to improve compile times, How do I get hold of the compilation time, using cmake, for my translation units ?
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171
33
votes
4 answers

Equivalents for mvn update and mvn install in gradle

I am new in gradle hence I have some questions about gradle. Before gradle I worked with maven and in maven there are some commands such as mvn update mvn clean install With mvn update we download the dependency packages from internet and the…
suatCoskun
  • 812
  • 2
  • 10
  • 14
30
votes
2 answers

How to use Webpack 4 SplitChunksPlugin with HtmlWebpackPlugin for Multiple Page Application?

I'm trying to utilize the SplitChunksPlugin to produce separate bundles per each page/template in a MPA. When I use the HtmlWebpackPlugin, I get an html file for each page with a script tag pointing to the correct bundle. That is great! However, the…
Dave
  • 645
  • 8
  • 16
29
votes
7 answers

Using node-sass watch option with npm run-script

So I'm running tasks in npm package scripts but I want to pass the watch option in npm start. This works: "scripts": { "scss": "node-sass src/style.scss dist/style.css -w" } This doesn't compile, watch, or throw any error: "scripts": { "scss":…
Ryan Metin
  • 899
  • 2
  • 8
  • 22
27
votes
7 answers

No resource found that matches the given name (at 'cardBackgroundColor' with value '?android:attr/colorBackgroundFloating')

I am getting these two error messages when trying to compile: /Users/dericw/coding/myApplication/lfdate/android/app/build/intermediates/exploded-aar/com.android.support/cardview-v7/23.2.1/res/values-v23/values-v23.xml Error:(3, 5) No resource found…
The Nomad
  • 7,155
  • 14
  • 65
  • 100
25
votes
6 answers

Gradle: find resolved version of a dependency imported with +

I want to print the last version of a dependency in gradle. I added my dependency in this way : compile 'test:test:+' now I want to print the version of my dependency, because I want to know which version I'm using. I'm using it in this way :…
Daniel Taub
  • 5,133
  • 7
  • 42
  • 72
24
votes
3 answers

Android Api 24 can't find sources

I have this grade file: //ext.support_library_version = '24.0.0' android { compileSdkVersion 24 buildToolsVersion '24.0.0' defaultConfig { applicationId "---" minSdkVersion 21 …
johnny_crq
  • 4,291
  • 5
  • 39
  • 64
23
votes
2 answers

Dumpbin.exe, editbin.exe package needed in Visual Studio 2019?

I did a reasonably complete installation of Visual Studio 2019 but am missing tools like dumpbin.exe and editbin.exe which I had in Visual Studio 2017. (Missing meaning: Not callable in developer command prompt, also cannot be found on HD using…
Andreas Reiff
  • 7,961
  • 10
  • 50
  • 104
23
votes
1 answer

How to change build tools version in Android Studio 3.0.1?

I just upgraded my Android studio from 2.3 to 3.0.1. But I get this error message(I have already installed API 27 ) and don't know how to fix it, because I couldn't find the the build tools version in new version of android studio! Error:Failed to…
Hasani
  • 3,543
  • 14
  • 65
  • 125
22
votes
2 answers

What server does ng serve use when using Angular CLI 1.6.0?

What server does this Angular CLI command use, when using Angular CLI 1.6.0? ng serve Since webpack is now being used by the Angular CLI for the website bundling, does that mean ng-serve is using the webpack-dev-server (which is a Node.js Express…
Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206
1
2
3
28 29