Category "android"

Trying to build react native app for Android on Mac M1 - Error: No emulators found as an output of `emulator -list-avds`

I have installed Android Studio on my mac M1 I have added a virtual device in Android Studio using Device Manager The app builds fine from inside Android Studio

Constraint Flow widget ignores max width attributes

I have multiple layouts that I want to display in a different location depending on screen size. If the screen is wide enough (tablet), I want the layouts to di

artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'

I have working an application without problem in Android Studio 3.2.1 After a long time of absence, I just downloaded Androoid Studio 2021.1 and when I try to r

Should the index passed to notifyItemChanged consider placeholder items?

PagingDataAdapter from Paging3 library internally manages two semantically different lists. adapter.snapshot() returns a ItemSnapshotList which includes placeho

App Links `legacy_failure` verification error on Android 12

I have setup assetlinks.json and AndroidManifest.xml so that the desired App Links are verified in all previous versions of Android. However, the verification n

How can I downgrade the Gradle in NativeScript?

In my NativeScript project, after the last Gradle update, I can't build a new Bundle file (for Android release). This error is about the compatibility of some p

on swipe how can i set text in text field after that edit text and insert again on that position where we swipe

on swipe how can I set text in the text field after that edit text and insert it again in that position. swipe in Dismissible and after swipe, I want my text on

Jetpack Compose TopAppBar with dynamic actions

@Composable fun TopAppBar( title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable (() -> Unit)? = null,

How support PhoneStateListener for APIs below 31?

I have discovered that the code of my application has been deprecated. I was using PhoneStateListener class but now I see that this decreasing for API 31 and th

Best practice for combining android client, spring-boot backend and Oauth2 social login

I am attempting to create a project that combines an Android client with a spring-boot microservices architecture in the backend. The client application will co

Not sure how to convert a Cursor to this method's return type in Room Android?

I am getting the following error when I build my application Not sure how to convert a Cursor to this method's return type (kotlinx.coroutines.flow.Flow<? ex

<a /> tag with a child image opens the image in new tab instead of the <a /> tag's link when clicked

I have an anchor tag <a /> with and image as a child , basically I want to create an image that works as a link .in this case the image is a youtube thumb

Duplicated class Koin org.koin and io.insert-koin

I'm using two library that have dependencies of two different versions of Koin. One of the library has org.koin:koin-android:2.0.1 and the other has io.insert-k

App is not working and shuts down on Samsung Galaxy S22

Samsung Galaxy S22 users are complaining that they cannot login to app (probably related to Facebook Login) and the app crashes - presenting them with the follo

Flutter snapshot lost data after update in offline

I created a simple application that displays a list of movies from Firestore DB. When you tap the movie, the number of likes increases by one. The problem occur

MutableStateFlow and Firebase console with jetpackCompose

I don't know why, but my text in MutableStateFlow doesn't change when i'm changing the string in firebase console. Can someone help me and say why ? I'm putting

Firebase Query in Android returns random number of items altough multiple items match the query

I am using the Firebase Realtime database and I constructed a query for the node "Orders" which should return all items whole attribute "orderID" is equal to 2.

How to open SQLite DB created by one Xamarin Android app in another app?

I have a Xamarin Android app which creates SQLite DB. After reinstaling this app I am not able open the DB with a new version of the app. For the testing purpos

Convert EditText to TextView Programatically? [duplicate]

What I Want I want to convert EditText into TextView programmatically. <EditText android:id="@+id/inputValue" android:layout_width=

How to run android app (.apk) inside a docker container without emulator

I want to run android apps inside a docker container to run them on Linux. I know there are ways to run android apps using some tools like Anbox or Genymotion b