Questions tagged [kotlin]
Kotlin is a cross-platform, statically typed, general-purpose high-level programming language with type inference. This tag is often used alongside additional tags for the different targets (JVM, JavaScript, native, etc.) and libraries/frameworks (Android, Spring, etc.) used by Kotlin developers, if the question relates specifically to those topics.
kotlin
96,547
questions
2
votes
1
answer
50
views
Resolving scroll conflict: PullToRefresh (vertical) vs. Horizontal Pager in Jetpack Compose
I'm developing a screen in Jetpack Compose that combines two scrolling components: a PullToRefresh for vertical scrolling and an ImageSlider implemented using HorizontalPager for horizontal scrolling. ...
0
votes
0
answers
11
views
Getting "java.lang.NoClassDefFoundError: io/grpc/ClientStreamTracer$InternalLimitedInfoFactory" When Running gRPC Kotlin Client
I'm trying to run a gRPC Kotlin client using Spring Boot, but I'm encountering the following error when executing my main function:
java.lang.NoClassDefFoundError: io/grpc/ClientStreamTracer$...
0
votes
3
answers
29
views
Relative Layout In Android - Centerof
In a Relative View Group, we can place one view above or below another view: "layout_above" and "layout_below." etc...
Now, the problem I have is that if I want to position one ...
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
19
views
While creating AWS SQS queue in kotlin getting aws.smithy.kotlin.runtime.serde.DeserializationException: Unexpected JSON token at offset 0; exception
I am trying to create AWS SQS queue, getting the below error:
aws.smithy.kotlin.runtime.serde.DeserializationException: Unexpected JSON token at offset 0; found \<, expected one of {, \[, ", ...
0
votes
0
answers
51
views
Adding module-info.java to a Kotlin project causes build error
I was trying to make a JavaFX project with Kotlin, Gradle on IntelliJ IDEA.
Using Java 17.
At first, I didn't used module-info.java, and it worked well, but it warned me
"WARNING: Unsupported ...
0
votes
0
answers
17
views
How to retrieve sleep and cycle tracking data from Google Fit to our app?
I want to get sleep and cycle tracking data from Google Fit to my app. I am aware that the API is no longer in use and we need to use the Health Connect app. I have retrieved most of the data, but I ...
0
votes
0
answers
13
views
How to create a parent project containing two independent projects in Android Studio [duplicate]
I have two separate Android projects: a camera project and an image editing project. I want to create a new parent project that includes both of these projects and allows them to start independently. ...
0
votes
0
answers
21
views
How easy would it be to build a native android app with Kotlin and then use the same code with Kotlin multiplatform to allow it to be an iOS app too? [closed]
Normally when trying to build cross platform apps people use frameworks like flutter or react native. However my idea is to build the app native on android with compose ( so the app harnesses the ...
0
votes
0
answers
45
views
Problem with Spring Boot,mysql and Docker
I have a spring boot application that has a connection to the mysql database, when I try to dockerize it and create the image whenever the application image will run these logs
2024-07-24 17:45:44 ...
0
votes
0
answers
15
views
Springboot + MCerror: No auto configuration classes found in META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
I’m trying to run Spring Boot inside a Minecraft plugin. When I use the main function in IntelliJ to get and print an entity, it works fine. However, when I start the application from the JAR file on ...
0
votes
0
answers
20
views
Google Health Connect integration in Java project issues
I am trying to integrate Google Health Connect APIs into android native app written in Java in order to track step count however I am having issues. For some reason I am having hard time integrating ...
-3
votes
0
answers
26
views
White horizontal line appears on top from splash scene to main scene android [closed]
Added a picture a white horizontal line appears while transition between scenes
This is a gaming app which is built using cocos 2dx v3
Tried to handle hide status bar method but it is not working .
...
0
votes
1
answer
25
views
How would one create a layer list drawable in Jetpack Compose?
layer list drawable image
The above was drawn using layer-list.
<layer-list>
<item
android:width="100dp"
android:height="30dp">
<shape ...
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....