replacing custom build config fields for gradle 9
Currently I’m using gradle + BuildConfig.java to pass information into my app and if I’m reading the docs and warnings right, this functionality is disappearing with gradle 9.
I’m currently at gradle 8.4. My app build.gradle looks like:
error creating bundle with ./gradlew bundleRelease
I am not a developer and have no plans to become one. I did this for fun, but I haven’t touched code for several years now, and I’ve forgotten all about the principles.
Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain
It appeared on its own a couple of times, although the tests were running before that. Now, having created a new project and written the first test, the error has not disappeared.
I created unitTest for my VisualTransformation logic(compose). This logic locating is in a different class, and it is not in VisualTransformation. And I tried to run a test for this class and I get this stacktrace error:
Gradle build can’t find dependencies while the first run
I have an android project with such structure:
Gradle failed sync Android studio
I’m trying to install and run Android studio on the latest version Jellyfish 2023.3.1 and I keep getting these error message.
Why android app is built with different version code and name than what is specified in Gradle file when debuggable is set to false?
I’m trying to publish my android app to Google play store. It seems to me that I have to set debuggable to false (in gradle file). But, the issue what that is, when I set it to false and I built the app, it gets built (.aab) or just regular build with different version code and name than what I specified in gradle file!!!! The version code increases every time I commit to the branch and the version name includes my commit name!!
Why android app is built with different version code and name than what is specified in Gradle file when debuggable is set to false?
I’m trying to publish my android app to Google play store. It seems to me that I have to set debuggable to false (in gradle file). But, the issue what that is, when I set it to false and I built the app, it gets built (.aab) or just regular build with different version code and name than what I specified in gradle file!!!! The version code increases every time I commit to the branch and the version name includes my commit name!!
the difference between scopes in gradle simple application and android application
I’m new to the world of gradle, actually I want to know the diffirents scopes in gradle simple application, actually as I see there is runtimeClasspath and compiletimeClasspath for simple gradle application, but when it comes to android application with gradle there are diffirents,like releaseRuntimeClasspath …, i want to know each one and why it’s used, also for the task dependencies that shows the tree of dependencies, it takes an argument –configuration to specify the scope.
Unsure how to get my Android Studio gradle to use the same syntax found in all the online tutorials
I am writing an Android app on my Mac Book Pro (M3 running Sonoma) with a recently downloaded Android Studio. When I start a new Java project, the options for gradle are:
Failed to import own library from Gitlab Android
I have published own lib on the private maven repo. Now I’, trying to import it to the project. The library is available and I’m trying to add it to the available project. I added it to build.gradle
of the module via implementation 'pkg:utils_lib:1.0.0'
and then to project build.gradle: