Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Unable to Build the project

Unable to build the project, working fine in my teammate laptop cross checked with all the configuration but none of them worked help me stuck from 2 months A problem occurred configuring root project ...
gokul pabbiti's user avatar
0 votes
0 answers
25 views

Flutter project automatically closed when running in Android device or Emulator

good day! I am currently working on a Flutter project using Java 17, Flutter 3.7.12, and Android Studio. The project runs successfully on Chrome (web) and on a Medium phone emulator (API 35). However, ...
Enrique Ferolino's user avatar
0 votes
0 answers
11 views

Android kotlin Failed to upload the mavne configured for all submodules in the root directory configuration, name 'release' not found

child module build.gradle.kts group = "net.xxxx.xxxx" version = "1.0.0" plugins { alias(libs.plugins.android.library) // com.android.library 8.7.3 alias(libs.plugins....
skynoface's user avatar
0 votes
0 answers
23 views

Java, Android Studio & Gradle: Confused about Compatibility Matrix

I am running the latest version of Android Studio (Android Studio Ladybug | 2024.2.1 Patch 2) and Java 21 (I was running Java 23 before while trying to get it to work with Gradle 8.10 but have not had ...
Goku's user avatar
  • 59
0 votes
0 answers
12 views

Content is not allowed in prolog in running Gradle in Jetpack compose

What is the solution to "Content is not allowed in prolog", in Kotlin Jetpack Compose when running your code. What can I do to solve that? The error is failing to allowed the gradle(sync) to ...
Phinehas Nehemiah's user avatar
0 votes
0 answers
6 views

What are some best practices for managing an org's dependencies with a central Gradle BOM?

My org has many spring microapps, on many different spring versions. We also have a security requirement of 0 Critical or High severity CVEs in our packages. This has meant an endless treadmill of ...
Reed M's user avatar
  • 147
1 vote
0 answers
12 views

How do i make Pitest work with a multi-module project with cucumber tests that are in a separate module

I have this approximate project structure: project/ ├── module-with-java-code/ │ ├── main │ ├── test │ └── build.gradle ├── module-with-cucumber-features/ │ ├── features [test]/ │ │ ├── ...
Daniël Gerritsen's user avatar
0 votes
0 answers
22 views

How to dynamically update AndroidManifest permissions based on Gradle build parameters?

I have an Android application written in Java and using Gradle for the build process. The app implements various metrics that collect different types of data. Each metric requires specific permissions....
Aerr Asde's user avatar
1 vote
1 answer
19 views

There was a problem building the apk and appbundle projects

I tried using the flutter_tflite: ^1.0.1 package to build a real-time object detection app. Everything worked fine when I tested it on the emulator. However, when I tried to build it into an APK and ...
llenn's user avatar
  • 13
0 votes
1 answer
16 views

Unlable to npm install web project , getting JSON parsing issue [closed]

npm ERR! path coomon-web\src\main\webclient/package.json npm ERR! JSON.parse Unexpected token "c" (0x63) in JSON at position 2317 while parsing near "...mations\": \"17.3.12\&...
bhagyashri K's user avatar
0 votes
0 answers
8 views

Fixing the Initial Ad Mediation & Mobile Dependency Resolver in Unity for Android

If so, and if you're like me, you have been trying to find a way to fix this issue for a while. Luckily, I believe I finally found a fix (and I had been searching for a while even though the answer ...
ClassyGoblin's user avatar
1 vote
0 answers
22 views

Plugin [id: 'com.android.application', version: '8.7.2', apply: false] was not found in any of the following sources:

Here’s a properly formatted version of your question for Stack Overflow. It ensures clarity and proper code formatting to avoid the error about unformatted code. Title: Gradle Plugin Not Found: 'com....
Backi Tech's user avatar
0 votes
0 answers
18 views

How do I migrate Eclipse Classpath File Entries to Gradle or Intellij?

I'm working on this new project where the eclipse .classpath file is stored in the repo. I imported my project into IntelliJ as a gradle project as there is a build.gradle file. When I build the ...
j will's user avatar
  • 3,797
0 votes
1 answer
29 views

Why is the Gradle build failing?

My build failed after following with the following message Task :extensions:superuser-seed:compileJava FAILED /home/joba/MinimumViableDataspace/extensions/superuser-seed/src/main/java/org/eclipse/...
Jochen's user avatar
  • 1,766
0 votes
0 answers
24 views

How to avoid these errors regarding android folder in flutter app

The supplied phased action failed with an exception. Could not create task ':path_provider_android:compileDebugUnitTestSources'. this and base files have different roots: D:\flutter-projects\new_proj\...
kavindi's user avatar
1 vote
0 answers
26 views

Android Build Pipeline Error: "Layout file is not located in..."

I’m setting up a CI/CD pipeline on Azure DevOps for a React Native project, but the build process fails with the following error: ERROR: /Users/runner/work/1/s/apps/primary-app/node_modules/my-react-...
Gennaro Amendola's user avatar
0 votes
0 answers
29 views

Azure Function Deployment Fails with NullPointerException in DeployFunctionAppTask.doExecute

I am working on deploying an Azure Function App using a Bicep template and Quarkus framework, but the deployment fails with the following error: Execution failed for task ':quarkus:deploy'. io....
FaheDevvs's user avatar
0 votes
1 answer
32 views

Error: Gradle task assembleDebug failed with exit code 1 - AudioPlayers package

I am new to Flutter and am trying to build a simple xylophone app. Everything runs just fine, untill I install the AudioPlayers package to play some notes. The print command for testing works, but as ...
Stefan's user avatar
  • 13
0 votes
0 answers
21 views

Build failed with these following exceptions

Execution failed for task ':camera_android_camerax:compileDebugJavaWithJavac'. Could not resolve all files for configuration ':camera_android_camerax:androidJdkImage'. Failed to transform core-for-...
Hamza Baloch's user avatar
1 vote
1 answer
39 views

ERROR: Missing classes detected while running R8

ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in ...\build\app\outputs\mapping\release\ missing_rules.txt. ERROR: ...
verified_user's user avatar
0 votes
1 answer
26 views

Generate jooq using liquibase and gradle

I would like to generate jooq using liquibase. I spent a lot of time to generate jooq files using liquibase migration. Tried to use instructions from the official website jooq. Unsuccessfully What am ...
JavaDevS's user avatar
0 votes
0 answers
14 views

Difference in available Memory when running tests via IntelliJ or gradlew test

I have code that parses some prettly large files. Unfortunately the structure of the file requires me to load it all into memory at the same time. I am developing my software via TDD, so I have placed ...
monamona's user avatar
  • 1,246
0 votes
0 answers
12 views

Kotlin Gradle Multi Module Spring Project Shared Test Dependencies

I was looking a way to create shared test dependencies under test folder in a Kotlin - Gradle - Spring Boot multi module project. For example: -parent-module -child_1_module - scr - main - ...
kokk.nik's user avatar
0 votes
0 answers
52 views

"javax.crypto.AEADBadTagException: Tag mismatch while decrypting data using AES/GCM/NoPadding in springboot

I'm encountering an issue while working on encryption and decryption in my Java project using the AES/GCM/NoPadding algorithm. When decrypting the data, I get the following exception: Exception ...
Anudeep T's user avatar
0 votes
1 answer
34 views

error in grails when i do .\gradle bootRun

I have installed grails 6.2 on my windows machine. D:\sc>grails --version Grails Version: 6.2.2 JVM Version: 17.0.13 D:\sc> When I try to run .\gradlew\bootRun I get: FAILURE: Build ...
user3675091's user avatar
0 votes
0 answers
21 views

New to gradle. Cannot find the proper gradle.build for eclipse. to load dependencies and build

I am trying to get JCSG and all it's dependencies into an eclipse java project. I've asked Google and Chatgpt how to set it up and they all give different values for the gradle dependency to pull it ...
Gary Renner's user avatar
0 votes
0 answers
13 views

How can I execute build.gradle by running another .gradle file without modifying the build.gradle file?

ano.gradle: apply from: 'build.gradle' tasks.register('afterBuild') { doLast { println 'another gradle' } } I expect to execute build.gradle -> execute afterBuild by running .\...
RLPMSK's user avatar
  • 27
0 votes
0 answers
8 views

invalid version requirements for a gradle ignore condition dependabot.yml

I am encountering an issue with my Dependabot.yml file. When adding the following conditions under the ignore section: package is gradle. I can't find a way to write the ignore part on the official ...
jydayo's user avatar
  • 1
1 vote
0 answers
26 views

Realm DB issue after converting Groovy DSL Gradle to Kotlin DSL and TOML

I converted my gradle file into kts based and created toml but realm db case i am getting error help me in this > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > ...
humayoon siddique's user avatar
0 votes
0 answers
29 views

Gradle sub-project to pick up the postgres configuration for Flyway migration in spring boot applicaiton

I have the clean architecture project setup Identity | — Core | — build.gradle.kts | — Web | — src | — main | — resources | — application.properties | — build....
San Jaisy's user avatar
  • 16.9k
0 votes
0 answers
112 views

Provided Metadata instance has version 2.1.0, while maximum supported version is 2.0.0. To support newer versions, update the kotlinx-metadata-jvm

I tried to geneate the apk in Flutter, and then it show me this error: ERROR: R8: java.lang.IllegalArgumentException: Provided Metadata instance has version 2.1.0, while maximum supported version is 2....
Asfandyar's user avatar
1 vote
1 answer
53 views

gradle how to substitute a deprecated method [LenientConfiguration.getArtifacts(Spec)]

I am working quite newly with Gradle using SpringFrameWork and came upon the compilation error: The LenientConfiguration.getArtifacts(Spec) method has been deprecated. This is scheduled to be removed ...
BananaJoe's user avatar
2 votes
0 answers
40 views

Running a modular Java application built by Gradle from IntelliJ IDEA

How to run a Java class with a main method from Idea in project managed by Gradle in a modular way? For class like package org.example.moduledemo; public class Main { public static void main(...
czerny's user avatar
  • 16.5k
0 votes
0 answers
42 views

Kotlin multiplatform gradle sync issues

Since i started learning to use kotlin multiplatform with compose, im having issues with gradle sync all the time and i would like to know what it means. im posting an example error but it happened ...
Nogi's user avatar
  • 132
0 votes
0 answers
42 views

No connection to gradle server VS CODE

I get this message on my vs code anytime I open a flutter project at the bottom right of my vs code application "No connection to gradle server try restarting the server" and no matter how ...
Joel Stephen's user avatar
0 votes
2 answers
28 views

cloning a project from github takes forever in android studio

currently i'm reading courses and each unit/lesson needs me to clone a repo but importing indexing and the whole gradle thing takes 5 to 10 minutes , not a disk problem i'm using a ssd , not a network ...
user avatar
0 votes
0 answers
18 views

Android studio - rerun failed tests doesn't work

I run my tests with "gradle check" - everything works fine. When I click button "Rerun failed tests" I get: "Test event were not received" Executing tasks: [check, --...
RCH's user avatar
  • 1,309
0 votes
0 answers
12 views

Can anybody share a build.gradle sample on how to use EvoSuite with Gradle

I am trying to generate tests for a Java application using EvoSuite from Gradle. I found some tips on Gradle configuration, but when you open evosuite-standalone-runtime-1.0.6.jar, the value suggested ...
Gerardo Campos's user avatar
0 votes
0 answers
22 views

I'm unable to match the java version with gradle within flutter

I keep getting the error "Your project's Gradle version is incompatible with the Java version that Flutter is using for Gradle." no matter which versions of the JDK I select, kotlin version, ...
JasonB's user avatar
  • 1
-1 votes
0 answers
25 views

capacitor app: Inconsistent JVM-target compatibility detected for tasks

I am getting following error while compiling my capacitor app in android studio: Execution failed for task ':capacitor-barcode-scanner:compileDebugKotlin'. > Inconsistent JVM-target compatibility ...
Hello World's user avatar
  • 2,903
1 vote
1 answer
47 views

Kotlin - new api warnings (e.g. removeFirst, removeLast) not working in my KMP project

The docs say following: Consider removing @SuppressLint("NewApi") and lintOptions { disable 'NewApi' } if the lint option has been disabled. Doesn't that mean that building a project ...
prom85's user avatar
  • 17.7k
0 votes
0 answers
18 views

Cannot Build APK in Flutter Project - Error: Execution failed for task ':connectivity:verifyReleaseResources'

I’m working on a Flutter project, and I’m encountering the following error when trying to build an APK: * What went wrong: Execution failed for task ':connectivity:verifyReleaseResources'. > A ...
muhammet's user avatar
0 votes
0 answers
65 views

Issue occur in flutter: Failed to transform core-for-system-modules.jar to match attributes

So I am a new for flutter and also visual studio code. I try to create a shopping app for my assignment. When I want to place a video in my dart file, it occur this problem. FAILURE: Build failed with ...
teck yang toh's user avatar
-1 votes
1 answer
21 views

Why are environment variables not being recognized during a React Native Android build, even though I set them using GitHub Actions?

I'm trying to set up environment variables in a GitHub Actions workflow for my React Native Android build (./gradlew bundleRelease). Despite setting the environment variables either through the env ...
Janith Gamage's user avatar
1 vote
1 answer
110 views

I am struggling compiling Android project in Android Studio with Dagger/Hilt and Proguard

So I am pretty new to Android Studio, and Android development; my background is Java fullstack. I started by creating a default template from Android Studio and moved my code (and code from a dagger ...
Robert Koch's user avatar
0 votes
0 answers
33 views

How do I add MySQL Connector/J to a Gradle IntelliJ project?

I'm trying to create a Gradle project using IntelliJ 2024.3 and MySQL Connector/J 8.4.0, but every attempt (save one) fails at runtime with a ClassNotFound exception. I attempted to follow the ...
rcobbe's user avatar
  • 1
0 votes
1 answer
27 views

NoClassDefFoundError running pitest in Gradle

I'm trying to add pitest to a Gradle build. The app uses Java 11, PowerMock, and JUnit 4. I have tried Gradle 8.4 and 8.11.1. This app has a lot of customizations in build.gradle, mainly around ...
John Gregg's user avatar
0 votes
0 answers
13 views

Cannot run test cases in Android Studio, "Could not find or load main class Files/Microsoft"

Error: Could not find or load main class Files/Microsoft Caused by: java.lang.ClassNotFoundException: Files/Microsoft Could not write standard input to Gradle Test Executor 2. Gradle version: 8.6 AGP: ...
RandomPoster's user avatar
0 votes
0 answers
9 views

Gradle Firebase App Distribution Properties Not Included in Build Variant

I have integrated my build.gradle with firebase app distribution. It worked well when I put the firebaseAppDistribution block inside the buildType. But I want to add the release notes based on app ...
galihif's user avatar
  • 424
0 votes
0 answers
27 views

Cached location of annotationProcessor library

For legacy and resource availability reasons, I'm building our Android app with an old version of a database wrapper (DBFlow 3.1.1). Recently this library version vanished from Maven, and I can't find ...
iaindownie's user avatar
  • 1,056

1
2 3 4 5
1059