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
-
1
votes2
answers2509
viewsHow to add 64-bit and 32-bit native codes to an Android app?
I’m having trouble publishing an app version. The Play store is notifying me about the new 32-bit and 64-bit architecture: "This version does not comply with Google Play 64-bit requirement The…
-
1
votes1
answer58
viewsCreating an Uber Jar with Gradle is not working
I’m using the plugin johnrengelman / shadow to create a Uber with some local dependencies, but for some reason unknown is not working. build.Gradle /* * This file was generated by the Gradle 'init'…
-
0
votes2
answers184
viewsVersions of Constants according to Buildtype
I have some constants which I would like to vary according to how BuildType of Gradle. Among them are the URL’s of the API’s that I use in my app, which can be production, homologation and…
-
0
votes2
answers1416
viewsHow to run commands in Android Studio?
I need to execute the command: Gradle -q dependencies to check library conflicts in Android Studio.
-
0
votes1
answer663
viewsError when compiling Android Studio project with Gradle
I’m having a problem compiling my Gradle project. I have the following answer from the compiler: Error:Gradle: Execution failed for task ':mobile:processBroadcastHomologDebugResources'. >…
-
0
votes0
answers318
viewsDirectory error in Android Studio
I deleted the folder where the projects were and I couldn’t create any more projects.…
-
0
votes1
answer388
viewsError synchronizing: Could not reserve enough space for 1048576KB Object heap
This error appears when I try to synchronize my project in Android Studio, how to solve it? Error:Unable to start the daemon process. This problem Might be caused by incorrect Configuration of the…
-
0
votes1
answer689
viewsError in Gradle build: "java.exe finished with non-zero Exit value 2"
I have this error in my Android Studio, this happens when I run an application I am developing. Does anyone know what it can be? Follow my build.Radle: apply plugin: 'com.android.application'…
-
0
votes1
answer392
viewsAndroid does not resolve Firebase dependencies
I am having error in solving the dependencies of Gradle: I try to compile and get the following error: Error:FAILURE: Build failed with an exception. * What went wrong: A problem occurred…
-
0
votes1
answer4999
viewsGradle build running taking forever
Android Studio is no longer running the project. I have uninstalled and installed again but does not solve, it is only in this of "Gradle build running" and never ends. 22:21:33 Gradle sync started…
-
0
votes1
answer1220
viewsError:(1, 0) Plugin with id 'com.android.application' not found when doing project sync
apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "app.teste" minSdkVersion 15 targetSdkVersion 24 versionCode 1…
-
0
votes1
answer432
viewsNo bean named 'entityManagerFactory' available
I am testing my Spring application with Junit, however the error occurs after placing the annotation @EnableJpaRepositories: Caused by:…
-
0
votes1
answer252
viewsAdd Firebase to Android Project
I did everything you asked on the Firebase website, but when I click Sync on Gradle inside the project, before finishing it appears an ERROR, as you can see below; Please help me out!…
-
0
votes1
answer100
viewsError while running Gradle
I’m not able to run a project in Android Studio. The project compiles normally, but when I try to run it the Following error occurs in the Gradle console:…
-
0
votes1
answer32
viewsError in offline mode
I am getting this error every time I try to open a file: Error:Could not determine artifacts for com.android.support:design:24.1.1: No cached version available for offline mode I have enabled and…
gradleasked 7 years, 8 months ago Fabricio Eustaquio 1 -
0
votes1
answer533
viewsError after updating android studio
Error:Could not find com.google.android.gms:play-services-cast:9.6.1. Required by: android:app:unspecified Search in build.Gradle files How to fix this error? Gradle already has this play-services.…
-
0
votes1
answer384
viewsGradle project refresh failed - Cause: invalid stream header: FFFFFFFF
I created a new project in Android Studio. However, when opening, the following error appears: Error:Cause: invalid stream header: FFFFFFFF How can I resolve this situation?…
-
0
votes0
answers42
viewsError dependencies Gradle: all google.com.gms.Ibraries must use the Exact same version Specification (Mixing versions can lead to Runtime crashes)
I am trying to add a barcode reader to my application and am using this example as the basis: https://github.com/KingsMentor/MobileVisionBarcodeScanner The error appears whenever I arrive at step 2,…
-
0
votes1
answer731
viewsReact Native build app
When creating a React project activate and I try to run it by the *React-Native run-android* command this error appears, no matter if it is direct on the physical device or AVD. I have created…
-
0
votes1
answer220
viewsProblems with 2 different versions of v7 library
My app is presenting the following error: as if I had used two versions of the compatibility library, the 25 and the 27, however I already reviewed the whole project and I can’t find where the 25…
-
0
votes0
answers133
viewsExtremely slow app build
Hi, I’m having a serious problem with the time of Gradle Build an app. I did a lot of research, changed Gradle settings, disabled crashlytics, activated daemon, build cache, offline work and…
-
0
votes0
answers475
viewsProblem with Gradle generating
Good afternoon... I have a serious problem, I already searched in forums and groups of Whatsapp and could not solve, I realized that it is only in windows 10... Come on: My problem is this, every…
-
0
votes1
answer78
viewsGradle error - Startup failed
What’s wrong with my Gradle? apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion '25.0.1' defaultConfig { applicationId "com.example.thiago.myapplication"…
-
0
votes1
answer110
viewsAndroid Studio giving error
My Android studio ta giving this error and I’ve tried everything but nothing worked[
-
0
votes0
answers113
viewsError Compiling Android - firebase
I’m having problems compiling APK by Ionic. I’ve removed Android Studio and downloaded again. I’ve removed and installed Android again. But it didn’t work. ionic cordova build android Returns the…
-
0
votes1
answer528
viewsCannot add Extension with name 'googleServices', as there is an Extension already Registered with that name
Please, help me out. Problems to connect firebase with firebase wizard in android studio. I’m trying to connect firebase Analytics with Ionic, and for that I have to connect with firebase. I…
-
0
votes1
answer68
viewsWhat could be the mistake?
FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not create service of type…
-
0
votes0
answers72
viewsError compiling app for Android 4 (Program type already present)
I have an Android (Java) project and after migrating to Androidx I received the following error (d8 errors): Program type already present: com.enterprisedt.BaseIOException Note that Gradle…
-
0
votes0
answers8
viewsHow to perform conditional tests on specific properties of Aplication.properties in Gradle?
I am trying to do something similar to -x test, but I want it to be conditional on the property spring.profiles.active of application.properties, if it is in test, as follows.…
-
0
votes0
answers5
viewsUpgrading Gradle to 6.x
I am updating the version of Gradle of my application, it was with version 2.3 and I am going to 6.7.1 and I am not able to solve this problem: Could not set Unknown Property 'testClassesDir' for…
-
0
votes1
answer56
viewsError while trying to run the application with Gluon Mobile using Gradle build
Hello, I am trying to run my application however it gives the following error: please apply google-services plugin at the bottom of the build file. :compileJava FAILURE: Build failed with an…
-
0
votes0
answers458
viewsError: method does not override or implement a method from a supertype
I have a project in Android Studio for a solution in the company where I am working. The project is two years old or so, and when I imported it from svn for the IDE I started having problems with…
-
0
votes0
answers281
viewsAndroid Studio error when in Build . apk -Multiple Dex files sets
I have a fully made and tested Android App. When do I generate build apk I have the following error: Information:Gradle tasks [:app:assembleDebug] Error:Error converting bytecode to dex: Cause:…
-
0
votes1
answer1101
viewsGradle can’t find my main class
I have the following problem. :runErro: Não foi possível localizar nem carregar a classe principal LoadWebService FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed…
-
0
votes1
answer110
viewsError:Failed to resolve: support-Annotations
I went to remove external libraries from my project because I was getting mixed version errors from appCompat library, I tried to delete everything related to version 25.2.0 because I need to use…
-
0
votes1
answer554
viewsMixing versions can lead Runtime crashes
I’m having a problem with com.android.support:appcompat-v7:26.1.0. Anddroidstudio says that: All com.android.support Libraries must use the Exact same version Specification (Mixing versions can lead…
-
0
votes2
answers367
viewsUpdate android project
I have in my hand a project 3 years ago and I need to put it to run, so when I opened the project in android studio already gave the default error Gradle, I changed the line classpath…
-
0
votes1
answer837
viewsPreview of Android Studio is not playing
I’m having problems importing a project that was written in an older version of Android Studio. My preview doesn’t appear. I’m a beginner and would like a little help! Follow Gradle and xml.…
-
0
votes2
answers371
viewsBuild Gradle Dependencies Version Conflict
I’m trying to use Firebase in my application, but it’s giving dependency error in Gradle. Build.Radle (App) apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin:…
-
0
votes1
answer387
viewsGradle recognizes no dependency on Intellij IDE
My Gradle is configured like this: plugins { id 'java' } version '1.0-SNAPSHOT' sourceCompatibility = 1.8 repositories { mavenCentral() } dependencies { testCompile group: 'junit', name: 'junit',…
-
0
votes0
answers28
viewsError in Gradle Android Studio - . Gradle buildOutputCleanup cache.properties (System cannot find specified file)
People yesterday was running my project in Android Studio, then today I will open and the project does not synchronize, first I had an error with the ". Gradle/caches/4.6/scripts" then I searched…
-
0
votes1
answer31
viewsGradle Publish does not upload files to the Nexus repository (Maven 2)
I’m trying to get my project to send the Jars files to a Nexus (Maven 2) repository but I’m not getting it. The project is programmed in Kotlin. This code fragment is as close as I could get to a…
-
0
votes0
answers609
viewsHow to change the Gradle build to an earlier version ( android studio )?
I’m creating a project that runs on android studio version 3.1, and I have this old version of android studio but the build Gradle is updated and I can’t make my codes run I don’t want to change my…
android android-studio gradle build android-gradleasked 5 years, 12 months ago renan silva das neves 159 -
0
votes1
answer176
viewsuses unchecked or unsafe Operations
I am developing an application in Android Studio with Firebase that is presenting the following error uses unchecked or unsafe operations…
-
0
votes1
answer70
viewsUnable to use sdk dialogFlow java together with firestore - Dependency failing
I need to use the dialogFlow sdk along with the firestore sdk. In separate projects I can use normally, but when I join them, there is a dependency failure. My build.Radle: apply plugin:…
-
0
votes0
answers126
viewsProblem when trying to run a project using React-Native
I am doing a tutorial of React-Native but while trying to run the project using the command: npx react-native run-android I get the following error messages: error Failed to install the app. Make…
-
0
votes0
answers9
viewsError running the build
Good afternoon, I am trying to run my application and error occurs in build.Radle: Configuration 'Compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be Removed at…
-
0
votes0
answers14
viewsGrails - Plugin Export / Format Fields Output
I am making a report, using grails and the export plugin and I have a problem. I have fields that depending on the situation can come null, I do a search with criteria in a certain class, there I…
-
0
votes0
answers61
viewsIssue with Kotlin Gradle version
Good morning, I am developing an app with flutter and the application uses a dependency called barcode_scan that serves to scan QR code, when generating the APK Gradle an error with the version.…
-
0
votes0
answers24
viewsStone SDK Android integration - Android manifest no longer finds Activitys
Hey, how you doing? I have a problem with the integration of Stone SDK (because in the documentation, I did not find solution for the error I get in android studio). By integrating Stone libraries…