Category "android"

react native app crash by adding this line: apply plugin: 'com.google.gms.google-services'

In my react native app i had added firebase , so my root gradle and app gradle is: root build.gradle: buildscript { ext { ... } repositories { google()

The application crashes when the media recorder starts?

I am using the media recorder to record the calls in android. Some times the mediaRecorder is recording audio and some times it doesn't record audio. When we pl

ViewPager2 | View.ClickListener not called

I use new android widget ViewPager2 version 1.0.0-alpha03 and when I set click listener on it method onClick() not called. My Actvity class: class MainActivit

RecyclerView: Inconsistency detected. Invalid item position

Our QA has detected a bug: when rotating the Android device (Droid Turbo), the following RecyclerView-related crash happened: java.lang.IndexOutOfBoundsExce

Get lat/lon from google maps url ftid (hex)

When using android google maps app share button for a location, it just return a url as intent to other applications like this one: https: // goo. gl / maps/tk

Glympse notification "Smart Device Link" on Android 10

since quite a while I get an annoying notification from Glympse about "Smart Device Link". As I am not aware of using that feature, I would like to get rid of t

Working with .sql file in android?

I am working on android project. In my project I have a 'DatabaseFood .sql 'file(initially it was a .csv file), it looks like this BEGIN TRANSACTION; CREATE TA

I have problem with gradle in flutter. Could not open settings generic class cache for settings file

Here is the error: FAILURE: Build failed with an exception. What went wrong: Could not open settings generic class cache for settings file 'E:\proj\android\sett

Which Java version is the fastest on and is supported by Android?

I heard that Java is becoming faster on newer versions of Android that it's almost as fast as C++, and the performance depends on the type of code/operations. I

Copy Data from CSV file to Sqlite file in Android

I want to copy the data from CSV file to SQLite file for my android application.SQLite table structure i.e. the columns are different than the CSV file columns.

Cause: androidx.navigation.safeargs can only be used with an androidx project

I am facing issue with navigation component called safeargs. I have used classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.0.0' in build grad

How to customize a vector in Android Studio?

I am working with an Android app (using API 21) in which I can change the color of a vector manually depends on previous Activity, but I have a problem, I can n

Why can't I use `AnimatedVisibility` in a `BoxScope`?

I have a layout which looks like this: Row { ... Box( modifier = Modifier .fillMaxHeight() .width(5

intent.putExtra() in pending intent not working

I am passing a pending intent through alarmreceiver, from a service class. But, after the pendingIntent fires, the intent.putExtra() information is not being re

Implementing eSIM, LPA Example

I'm trying to write a test example of code for implementing eSim on a device using examples from the documentation https://source.android.com/devices/tech/conne

How to use navGraphViewModels in Activity (Not in Fragment)

In Fragment, we can use ViewModel scoped to navigation Graph. private val viewModel: ViewModel by navGraphViewModels(R.id.youNavGraphID) But how to create View

Could not get unknown property 'RELEASE_STORE_PASSWORD' for SigningConfig_Decorated{name=debugY

I've been having this problem recently as I'm searching everywhere, also here in stack, I see a lot of different answers. Does anybody know how to solve this on

Xamarin Forms Editor Scrollbar

I have a need for an Editor, with a checkbox in a left margin for each line. (When the user clicks on the check box, the text for that line changes color.) At t

Itemdecoration in Jetpack compose

I am currently in the process of evaluating whether or not we can migrate our rather complex UI to jetpack compose at this stage and I am struggling with the fo

AndroidViewClient: unable to dump correctly the view

I'm trying to use CulebraTester2 to dump the Window hierarchy. I'm testing an app where the text of some TextView changes: the first time I call dumpWindowHiera