All Questions
3,473
questions
0
votes
0
answers
19
views
Android - migration to Kotlin 2.0 causes errors
My Android App was working fine until I started migrating to Kotlin 2.0.
All I changed in the build gradle was:
changing these two lines
id("org.jetbrains.kotlin.android") version "1.9....
0
votes
1
answer
20
views
Slow Gradle shutdown after testing with Testcontainers, Kotlin, Spring Boot
I have a Kotlin Spring Boot application that integrates with redis, and builds with Gradle. Recently I added some Testcontainer integration tests to make sure everything is working as intended. I ...
0
votes
0
answers
14
views
Error "Caused by: org.gradle.api.UnknownDomainObjectException: SourceSet with name 'commonTest' not found." while trying to register a gradle task
I have the following issue with Android Studio in my Kotlin Multiplatform Project.
I want to add conformance tests to my project and for this i wanted to add a new source set and have all the test ...
0
votes
1
answer
14
views
Execution of Gradle Tasks and find out why are they executed
I'm currently doing a Udemy Course to learn Kotlin and I've a Question about Gradle and Tasks. I've tried HILT and had to add kapt to my Project (empty project with jetpack-compose).
My app/build....
0
votes
0
answers
20
views
AIDE project initialization shows up with errors
When I try to sync the project, I get:
java.lang.IllegalArgumentException: Unsupported class file major version 65
Caused by: BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_'...
0
votes
0
answers
22
views
flutter build apk: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0
`When I run flutter build apk first time after cleaning project there are warnings in output. Second time there are no warnings
e: C:/Users/izgrablic/.gradle/caches/8.9/transforms/...
0
votes
0
answers
14
views
Error integrating google_maps_flutter and location packages in Flutter Kotlin Version Mismatch with Flutter SDK Versions
Description:
I'm facing an issue with Kotlin version mismatching the SDK versions in my Flutter project. Despite trying different versions of Kotlin and the Android Gradle plugin, I’m encountering ...
0
votes
2
answers
36
views
Could not resolve com.android.tools.build:gradle:7.4.2 convention module
I'm trying to write gradle plugin in my android project. I have a build-logic module which contains convenion module. I wrote a small plugin JvmLibraryPlugin and registered it in the convention module ...
0
votes
0
answers
45
views
Why icon not showing on SplashScreen using Jetpack-compose?
I'm try to run SplashScreen api using jetpack compose on android lolipop5.1, the screen background is showing but the icon is not. i'm using splash api 1.0.1.
i'm using a viewmodel to make splash ...
0
votes
2
answers
45
views
Curl command execution in Gradle.kts Script
I would like to execute below curl command in my gradle.kts Script. Tried gradle task but command not executable with error [pid=1991, exitValue="Not exited"].
curl -v -H Content-Type:text/...
1
vote
1
answer
77
views
How can I add latest stable dependencies and plugins to my latest version of Android Studio Koala?
I want to implement MVVM architecture in my project. My Android Studio is Koala. I want to use the latest versions which are compatible with my project.
My module level gradle file looks like this:
...
0
votes
0
answers
31
views
Android Studio : The application could not be installed. Device went into offline mode after running MainActivity
I have been installing a debug app on my physical Android phone, but today it suddenly stopped working and showed this error: "The application could not be installed". There is no error log ...
0
votes
0
answers
17
views
open api generator kotlin gradle dsl - cant generate specific api endpoint
i am using open api generator kotlin dsl build.kts gradle task version 7.0.1 to generate spring 2.7.18 web clients
expected: generate 1x MeterApisAPi and 1x model
openApiGenerate {
inputSpec.set(&...
0
votes
0
answers
22
views
Integrating TrustWalletCore in KMM Project: Issues with Swift Wrapper and Dependencies
Hello Stack Overflow community,
I'm currently working on a Kotlin Multiplatform Mobile (KMM) project and trying to integrate the TrustWalletCore library. I've encountered several issues, particularly ...
0
votes
1
answer
36
views
Which is difference between two different imports?
I created a new project and there is some differences on importing on gradle files, I don't understand why its different from other projects that I have, is this wrong, can somebody tell me the ...