Most voted "gradle" questions
Gradle is an advanced builds automation system and dependency manager. The Gradle build files are scripts written in the Groovy language, unlike the Ant and Maven build formats that use XML files for configuration. If the question is not about "Gradle", do not use this tag, even if you are using "Gradle" in your project.
Learn more…114 questions
Sort by count of
-
18
votes1
answer289
viewsBuild C++ using Gradle
The Gradle and a great ally in java and android development. I was looking at the site and realized that it can also manage projects in c++. How can I use it to compile a super simple project (hello…
-
17
votes2
answers13314
views -
9
votes1
answer14768
viewsHow to speed up Android Studio + Gradle?
I’m going through the hardest time using Android Studio due to the delay in the project compilation process. What settings improve performance of Android Studio + Gradle?
-
8
votes1
answer214
viewsHow to compile a Java 9 project with Lombok in Gradle?
TL;DR How to pass multiple parameters -J--add-opens=<pacote>=ALL-UNNAMED so that Gradle uses them when calling javac? Details I have a code Helloworld.java using the Lombok in Java 9: import…
-
6
votes1
answer460
viewsHow to use android project in Gradle in eclipse?
I’m willing to incorporate this project: https://github.com/shamanland/floating-action-button in my android app in eclipse, however I do not use Gradle. Is there any way to import it without Gradle?…
-
6
votes2
answers5827
viewsHow to set up proxy in Android Studio?
Company where I work adhered to the use of proxy and I’m having problems using the gradle. Gradle returns the following error : Error:Connection timed out: connect. If you are Behind an HTTP proxy,…
-
4
votes1
answer391
viewsAndroid SDK Build-tools 22.0.1 inventing folders inside res in generated APK
I’m using the Android Studio 1.2.1.1, with the Gradle 2.2.1, and this is an excerpt (the relevant part) of my resource folder structure: res |- layout |- layout-v21 |- values |- values-v11 |-…
-
4
votes1
answer1412
viewsHow to create a new Build.Radle?
Since I imported my project from github, I’m trying this error: Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build…
-
4
votes2
answers3752
viewsWhat is the difference between Compile and Implementation in the Android Studio build.Radle file?
Whenever I will add some library manually in the file build.Gradle (Module: app) of Android Studio 3, I use the format implementation, because this is the way that Android Studio itself uses by…
android android-studio gradle dependencies android-gradleasked 6 years, 10 months ago Chinnon Santos 349 -
3
votes1
answer892
viewsHow to correctly declare Server Runtime or provided Wildfly dependency on Gradle
I have a Java web project being developed to run in Wildfly, using the Eclipse IDE. This application uses JPA, JTA, JSF and CDI at first, but will use other Java EE resources in the future. The…
-
3
votes1
answer5281
viewsHow to import an android project as a module in Android Studio?
I’m trying to import a project Android as a module of another project: But when I try to import, Gradle makes a mistake saying he can’t find the method android() in the archive build.gradle module.…
-
3
votes1
answer3030
viewsHow to insert a library into a project in Android Studio?
I’m new to developing applications for Android and I found it really cool the idea of incrementing my applications with a kind of Intro as soon as they run. It was searching about it that I came to…
-
3
votes1
answer722
viewsError while running an app in Android Studio
I imported a project from eclipse to Android Studio (version 1.3.2), until then all right, but an error occurred when I tried to run the program: Error:Execution failed for task ':dexDebug'.…
-
3
votes1
answer291
viewsDifferent source code for release/debug version
I saw that in android studio it is possible to have an Androidmanifest.xml for the debug version and another for the release version. Well, I have an "Appmock.java" file with constants for testing.…
-
3
votes1
answer4015
viewsAndroid Gradle - Error:Unsupported method: Baseconfig.getApplicationIdSuffix()
When importing a Github project using the Android Studio 3.0.1 I got the following error in Gradle: Error:Unsupported method: Baseconfig.getApplicationIdSuffix(). The version of Gradle you connect…
-
3
votes2
answers1846
viewsJava Spring Boot project version
I need to take the version value in my spring boot project to create a service that returns that value, the value in question would be version in build.Radle. group = 'br.com.xxxxx' version =…
-
2
votes2
answers994
viewsError 403 when trying to "synchronize project with Gradle"
When I open Android Studio, it fails to synchronize the project with this "Gradle", it returns the following error in "Messages Gradle Sync" Error: Could not GET…
-
2
votes1
answer170
viewsProblem updating appcompat-v7
Hello I have a project that is using the version 23.1.0 library com.android.support:appcompat-v7. I was upgrading to 23.1.1 and the following error occurred: Failed to resolve:…
-
2
votes1
answer75
viewsIONIC error dependences not found
Hello I’m having error in IONIC when using commands to compile for android. Make that mistake every time I try one of those commands on ionic run android --target meuDispositivo ionic build android…
-
2
votes1
answer470
viewsHow to change the gradlew version from the command line?
I need to reverse the version of gradlew back to 4.10.2. I went to version 5.5.2 to do some testing and need to return to the original version to confirm the test results.
-
2
votes3
answers1206
viewsPreview Android stopped working after update
I work on an android project and, after updating to Android Studio 3.0, my project started to give problem. Preview of my activities has stopped working, although the app is built and I can install…
-
2
votes0
answers260
viewsCannot load driver class: org.sqlite.JDBC
I’m trying to set up an access from my application to an Sqlite database using the file application.properties Spring Boot, but not recognizing the driver. How can I proceed so that when booting…
-
2
votes2
answers162
viewsI can only solve dependencies by using'+' in Library versions
22 Dec 2017 Error that occurred when with Offlinework After switching to Online Work ORIGINAL: I’ve been trying to avoid doing it that way: dependencies { compile fileTree(include: ['*.jar'], dir:…
-
2
votes1
answer4127
viewsAndroid Studio 3.0.1 Error: Gradle project Sync failed. Basic Functionality (e.g. Editing, debugging) will not work properly [SOLUTION]
I installed Android studio 3.0.1 and tried to create the first application with the choice of an empty activity, but I get the message: Project Gradle synchronization failed. Basic functionality…
-
2
votes1
answer1024
viewsPut Maven Local Project as Dependency on Gradle Project
I have this Maven project that has all the application domain classes and logic. Then I created an external Gradle test project where I do system testing with Selenium Webdriver. In order not to…
-
2
votes2
answers1604
viewsRedirect to html with Spring Boot
I’m starting to create applications with Spring Boot + Gradle, but when configuring Controller, I can’t redirect a url to an html or jsp file. My application is like this: Project structure: My…
-
1
votes1
answer179
viewsCould not find any version that Matches com.android.tools.build:Radle:0.12.+
I installed Android Studio, installed JDK, configured the environment variables (JAVA_HOME, JDK_HOME, PATH). I configured my proxy (I did the test and the connection works), and when trying to…
-
1
votes1
answer247
viewsProblem when climbing APK
I’m trying to upload an apk to Google Play and I got the following message: You uploaded an APK using the 5208000 version of Google Play Services. Use 5100000 or lower version. In my buil.Radle file…
-
1
votes1
answer485
viewsError compiling project in Gradle
It’s giving me the following error message when compiling my project and I’m not getting it right I’d like some help if anyone’s had this problem…
-
1
votes1
answer140
viewsGradle - Command line arguments
I have a question about how to pass on the command line an argument where I will pass the NDK path of my Android project. I have locally my local file.properties where I define the path in ndk.dir,…
-
1
votes0
answers113
viewsHow do I correctly import using Maven in Android Studio?
I imported the org.apache.commons:commons-email through the command ALT + SHIFT + CTRL + S in Android Studio. The class identified without problems but I can not compile the project! PS: I entered…
-
1
votes0
answers204
viewsAndroid/Sdk/build-tools/22.0.1/aapt'' finished with non-zero Exit value 1
I have this problem in my project and I’ve tried the souluções of these posts: Post 1 Post 2, but none of them worked for me. The projector runs perfectly in Android Studio 1.2, but when I upgraded…
-
1
votes1
answer167
viewsImport dependency google-api-client
Good morning! I’m trying to matter google-api-java-client of github for my Android project; I’m using the AndroidStudio, and follow my build.Lade apply plugin: 'com.android.application' apply…
-
1
votes1
answer1643
viewsAndroid Studio freezes in Gradle: Resolve dependencies ':app:_debugCompile'
When I open Android Studio Gradle runs several processes. When arriving in Resolve dependencies ':app:_debugCompile' he hangs and even telling abort does not respond. This is my build.gradle: //…
-
1
votes1
answer216
viewsError "Please configure your build for Vectordrawablecompat"
I created an application that uses the database and it is not running. When I open it shows the following message "The Beta Database app has stopped" So I went to see Logcat and he shows that the…
-
1
votes2
answers496
viewsBuild Gradle Eterno
I couldn’t find anything like it. When I try to run a book project it gets like this: "Gradle: Resolve dependencies: 'app:_debugCompile'" And do not compile for anything. I changed my Gradle file to…
-
1
votes0
answers1186
viewsGradle Sync error when compiling project
I’m finishing a project in Android Studio, and I updated to version 2.1, then started to appear me errors, some already solved, the one chases me; When synchronizing Gradle appears me these…
-
1
votes1
answer399
viewsGradle version error
Does anyone have any idea how to resolve this error in Android Studio? Plugin is Too old, Please update to a more recent version, or set ANDROID_DAILY_OVERRIDE variable to... error-Gradle.Png1055x71…
-
1
votes0
answers26
viewsError:Execution failed for task ':app:preDexDebug'. > finished with non-zero Exit value 1
I’m trying to run the compiler of Android Studio, but it returns me this error. Error:Execution failed for task ':app:preDexDebug'. > finished with non-zero exit value 1 build.Gradle app: android…
-
1
votes1
answer1381
viewsError: A problem occurred Configuring root project 'Meuprojeto'
I’m trying to use the Firebase of Android Studio but I made the settings as in Google site itself, and the message that appears to me is: Gradle 'MeuProjeto' project refresh failed Error:A problem…
-
1
votes1
answer1115
viewsProblem running "Cordova run" - A problem occurred evaluating root project 'android'
It’s the first time I’ve installed Cordova and I’m having the following problem when trying to compile any project: C:\ProjetosCordova\lsls>cordova run --debug ANDROID_HOME=C:\Android\tools…
-
1
votes2
answers379
viewsError when using Google’s API to run from Android 2.3 (API Level 9)
I’m developing a app which will run from version 2.3 of Android (Gingerbread - API Level 9). However, when trying to add dependencies to Firebase and of Google Admob, the following error occurred…
-
1
votes1
answer102
viewsError synchronizing grandle with mask library for fields
I’m trying to install a dependency to mask fields but when adding it, I have problems, in the log appears the following message: Error:Execution failed for task ':app:processDebugManifest'. Manifest…
-
1
votes0
answers289
viewsError building: Timed out while Waiting for slave aapt process
I’d like to know how I can make that mistake when I try to create a new app. The error is as follows: it loads everything right, but when it will load the Gradle it gives error and the screen is…
-
1
votes1
answer376
viewsKotlin error does not find bytecode for lambda Function: "Failed to find byte code for java/util/Function/Biconsumer"
When I try to run my app on mobile (emulator happens the same), the following error occurs: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task…
-
1
votes0
answers239
viewsHow to convert a Maven project to Gradlew?
I have a Maven project working perfectly and I need to convert to Gradlew how I can do this ?
-
1
votes1
answer76
viewsWhat dependencies do I need on Gradle?
What are the necessary dependencies for the following libraries? import java.io.StringReader; import java.net.Authenticator; import java.net.PasswordAuthentication; import java.util.ArrayList;…
-
1
votes1
answer132
viewsTest APK Dependency Conflicts
In an old application I was updating the version of the dependencies of Gradle, when running I received the following message regarding a conflict between the version of the dependency…
-
1
votes0
answers137
viewsProblem with Gradle Android Studio
I’m getting a Gradle Warning to exchange Compile for the implementation and api, but I’m no longer using Compile in my project. Configuration 'compile' is obsolete and has been replaced with…
-
1
votes2
answers1020
viewsI can’t use Android Studio (Gradle Project Sync failed. Basic Functionality ... )
I looked, I looked and I couldn’t find the solution to my problem. First I will put the images of my situation, but in advance I will inform that my processor is AMD. In this case I just need to be…