Skip to main content
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

Why am I getting errors when running Kotlin code in Android Studio?

enter image description herein the latest versions of Android Studio I can no longer use this feature and I get an error: "SourceSet with name 'main' not found :27" Line 27: classpath = ...
developerhumanity's user avatar
2 votes
1 answer
49 views

Unable to find method ''java.lang.String com.squareup.javapoet.ClassName.canonicalName()''

The Gradle script syncs correctly, but when I try to run the application I get the following error: Unable to find method ''java.lang.String com.squareup.javapoet.ClassName.canonicalName()'' 'java....
carson's user avatar
  • 31
1 vote
1 answer
30 views

Can we integrate NextJs in KMP project?

I'm currently learning KMP for Android, iOS, Web with native UI approach so that I can develop an application that works everywhere. I want to know that the way we use React+TS for making native UI ...
Raghav Jindal's user avatar
1 vote
0 answers
33 views

Jetpack Compose LazyColumn scroll offset breaks when content size changes dynamically

I'm building a chat screen using Jetpack Compose with a LazyColumn. During loading, I show a shimmering placeholder with a large height. Once the real data arrives, the content shrinks because the ...
Fazle Rabbi's user avatar
2 votes
1 answer
52 views

android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed

I'm trying to update a database. If the version is newer, the old database is deleted and the new one is loaded from a file: val newDBVersion = SettingsManager.loadReticlesNewDBversion() val ...
Dima's user avatar
  • 1,341
1 vote
0 answers
50 views

Pixel values differ between Python and Android Kotlin when computing MobileNetV3 embeddings, causing mismatched results

I’m having an issue with MobileNetV3 image embeddings: I compute embeddings for original images in Python and store them in a database. On Android Kotlin, when a user uploads an image, I also compute ...
SssTwins's user avatar
1 vote
1 answer
65 views

Why Is Koog Failing to Find kotlinx.datetime.Clock?

Using Koog 0.5.4, attempting to set up an agent crashes with: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: kotlinx/datetime/Clock$System at ai.koog.prompt....
CommonsWare's user avatar
1 vote
1 answer
87 views

Can not exit Extractmode cleanly like WhatsApp or Messenger. Having a choppy transition

I am building a chat app for learning android dev using Kotlin and Jetpack Compose. I am trying to exit extractmode (Landscape + KeyboardVisible) smoothly. But having a keyboad going down and ...
Meraj Hossen Akib 's user avatar
1 vote
0 answers
85 views

Hazelcast 5.6.0 and client configuration

Our application is leveraging dependencies com.hazelcast:hazelcast and com.hazelcast:hazelcast-spring to connect to a Hazelcast cluster. In the process of upgrading their versions from 5.5.0 to 5.6.0, ...
Dominique M's user avatar
3 votes
1 answer
117 views

How to fix "Querying resource values using LocalContext.current"?

I have this in my composable: val context = LocalContext.current val credentialManager = CredentialManager.create(context) Button( onClick = { CoroutineScope(Dispatchers.IO).launch { ...
Ajay Satpati's user avatar
2 votes
1 answer
64 views

The Android application gets its name from an external module

I installed the LiqPay SDK according to the instructions from GitHub: Download the project as a .zip file, which contains the repo folder with the library and its transitive dependencies. Add the ...
Максим's user avatar
0 votes
0 answers
76 views

Trying to parse XML string from okhttp in Jackson to a kotlin data class. Don't understand how to translate xml structure to kotlin class?

I have an XML string that contains the following (bus data): <Siri xmlns="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0&...
GoatyyyyyWho's user avatar
Best practices
0 votes
2 replies
47 views

Kotlin - Mocking object with Scanner dependency

I have just started with Kotlin, so I'm not sure what the best practices are. The object file looks like this at the moment, as I am expecting the user's input: object FlowCoordinatorUtil { private ...
goldenmaza's user avatar
3 votes
1 answer
278 views

How can I get a response from Google's Play Age Signals API before January 1, 2026?

I am working on a Kotlin app in Android Studio and trying to implement Google's Play Age Signals API to gate our purchasing path to users who are 18 and up ahead of the upcoming age verification laws ...
Jason Dachman's user avatar
0 votes
2 answers
86 views

CapabilityClient.getCapability returns empty nodes list on Wear OS 6 / Android 16 setup

I have a problem with CapabilityClient visibility. I have both Android and Wear OS apps installed on the phone (Pixel 6 with Android 16) and paired watch (Samsung Galaxy Watch 6 with Wear OS 6). Both ...
artem's user avatar
  • 16.8k

15 30 50 per page
1
2 3 4 5
6524
Morty Proxy This is a proxified and sanitized view of the page, visit original site.