Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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....
Tobias Reich's user avatar
  • 5,122
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 ...
thatonetallguy's user avatar
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 ...
Maverick1st's user avatar
  • 3,774
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....
John Doe's user avatar
  • 135
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_'...
Dragonite Brian 1024's user avatar
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/...
izidoraz's user avatar
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 ...
Sethu's user avatar
  • 1
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 ...
TOvchinnikova's user avatar
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 ...
Fatima Jamal's user avatar
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/...
Pawan Soni's user avatar
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: ...
Aamir Khan's user avatar
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 ...
NhVNgn's user avatar
  • 1
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(&...
tytx t's user avatar
  • 1
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 ...
user3884677's user avatar
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 ...
Flutura Demaj's user avatar

15 30 50 per page
1
2 3 4 5
232