Skip to main content
0 votes
0 answers
14 views

How to fix ClassNotFoundException: Didn't find class "io.ktor.client.plugins.HttpTimeout"?

I am using Gemini and Ktor for my project. When I load a model from Gemini, my app throws this exception even though the Gemini object is not being called: java.lang.reflect.InvocationTargetException ...
dogukan gundogan's user avatar
-2 votes
0 answers
15 views

How to screencast easily using Kotlin? [closed]

The only documentation I've found on using chromecast is this and it is a piece of crap (in my opinion). I'd like to make a chromecast flutter plugin that invokes native Kotlin using Platform Channels ...
NewToPi's user avatar
  • 309
0 votes
0 answers
8 views

Vaadin - Keep page focused while combobox is opened

I'm using a vaadin combobox that is set to be open on page load, so users can see all the options when they are logged in. However, because the combobox is opened they have to click the page twice to ...
TheBudderBomb's user avatar
0 votes
0 answers
16 views

Ktor: Principal resolution fails when encapsulating authenticate in a custom Route extension

ktor-sample-type-safe-authentication code example: https://github.com/gtukmachev/ktor-sample-type-safe-authentication See the code: See the kotlin/Application.kt file: the route /private works fine; ...
Grigory Tukmachev's user avatar
0 votes
0 answers
30 views

Why does kapt cause the source code to be built twice?

I have a mixed project of Java and Kotlin. Both Java code and Kotlin code are placed in the src/main/java directory. I recently tried to use the mapstruct library with the Kotlin language. Here is how ...
SageJustus's user avatar
  • 1,114
-2 votes
0 answers
54 views

Lightweight programming languages and frameworks for a low end system [closed]

My desktop has 4 gb ram and 8 gb virtual RAM. I want to develop a lightweight webpage for my hustle like SPAs. I even want that webpage to run payment gateways too. Another problem is I want to create ...
Jatin kakran's user avatar
-1 votes
1 answer
29 views

How to Send Push Notifications from One App to Another Using Firebase FCM (Jetpack Compose)? [closed]

I'm developing two Android apps using Kotlin and Jetpack Compose: one is an Admin app and the other is a User app. I want to implement push notifications using Firebase Cloud Messaging (FCM) where: ...
Jihan Khan's user avatar
-1 votes
0 answers
37 views

Fails to get data from Firestore — works only after restarting the app [closed]

I have this database structure in Firestore Database users (email, firstName, lastName, ...etc) pets (userId, name, type, ...etc) users' email => pets' userId In my Android code, I am using the ...
Jiwon's user avatar
  • 447
0 votes
0 answers
12 views

Android Studio not resolving / importing compose runtime libraries

I have multiple cases like this happening with the latest version of Android Studio, is this an easy issue that can be resolved by invalidating caches or is it an actual bug, or should we manually be ...
Kaan's user avatar
  • 83
0 votes
0 answers
32 views

How to Make Touch Pass SurfaceView Overlay?

It's pretty much self-explanatory. Currently i'm using SurfaceView and overlay it over the real screen. I'm struggling on how to make the touch pass when the overlay is active. fun initialize() { ...
Farad's user avatar
  • 1
1 vote
0 answers
25 views

Why can't mockk verify that my Micronaut meter counter got incremented?

I want to test that some code updates Micronaut (4.7.5) metrics. (In real life, the code under test gets passed the MeterRegistry and calls its methods.) import io.micrometer.core.instrument.Counter ...
Robert's user avatar
  • 8,773
1 vote
1 answer
42 views

Can't align RSA encryption in Python and Kotlin

I would like to add RSA encryption in my server (Python FastAPI) and my Android app. But the encryption didn't work as the way I expected. I already have AES-GCM encryption/decryption working between ...
kunteinzo's user avatar
1 vote
2 answers
69 views

Create an array of non-nulls

I am now converting a large Java codebase to Kotlin 2.1.20. I have a problem converting one specific case. Suppose I have some structure (say, an ArrayList 'list') which contains N Objects. I know for ...
Leszek's user avatar
  • 1,241
0 votes
1 answer
32 views

Create extra test module in Compose Multiplatform project

I have a Compose multiplatform project that looks like this I have a set of tests in desktopTest, as intended. But I'd also like to have a set of tests that I run only when desired, when preparing ...
jlengrand's user avatar
  • 12.9k
0 votes
1 answer
22 views

Gradle ShadowJar is Missing One of My Internal Dependencies

I'm using Gradle ShadowJar (version 8.1.1) to create a fat JAR for my application. I have two internal dependencies, com.idsk.lib.user:lib:0.0.1-SNAPSHOT and com.idsk.lib.client:lib:0.0.1-SNAPSHOT, ...
Vishnuvarthan K's user avatar

15 30 50 per page
1
2 3 4 5
6532
X