Category "android"

Firebase App Distribution - No "install" button on Google Play window

I am deploying an aab with Firebase App Distribution to testers in my company for the first time. Devices not any worries while others ... Some are blocked on t

Fatal Exception: java.lang.IllegalArgumentException offset(23) is out of bounds [0, 0] JetPack Compose OutlinedTextField

Facing one crash in the jetpack compose, can anyone please help me with this. Fatal Exception: java.lang.IllegalArgumentException: offset(23) is out of bounds [

How to use this Android Week View Library

I'm trying to implement on my android application a calendar week view where I will show all the events in that week like a school schedule. After searching for

Composable calls are not allowed inside the calculation parameter of inline fun

I am trying to access the dao instance of my room database which is being used to store names(This code I wrote just to get familiar to jetpack compose). I trie

Permission denied when trying to open a PDF file (in the default PDF viewer) from an Android app

My app has "Files and media: Allow management of all files" permission. However, when I try to open a PDF file LogCat reports the following errors: 2022-04-20

How to update Rcyclerview after removing an Item from shared preferences

I have a few recyclerview in different activities and all of their items specified by sharedpreferences but after removing an item from sharedpreferences the re

Android WebView not loading the pop up dialog content

I'm trying to open an url using webView, but I'm not able to see the country list when i open via AndroidWebView but same link working when i open with chrome t

React Native WebView - Can't access to camera with Expo

I am trying to create a WebView that accesses the camera while the session. In Android - the WebView can't find the camera and throw an error. In IOS - the WebV

Data binding causes memory leak even the binding has been nullified

I've done my research on memory leak when using Data Binding. Every posts said that one should assign null to binding object to resolve this issue. However, it

Gradle sync failed: Plugin [id: 'com.android.application', version: '7.1.2', apply: false] was not found in any of the following sources:

I have upgraded my Android Studio and after that I'm facing this error: Gradle sync failed: Plugin [id: 'com.android.application', version: '7.1.2', apply: fals

Zebra write RFID in Android Kotlin preforming correctly with some tags but not others

I am working on a inventory management system where it's required to write asset ids (with length of maximum 17) in to an RFID tag. First the problem was that w

Gradle : How to automatically install CMake

I am working on an Android native project which builds using CMake. In my build.gradle I specify : if(project.hasProperty("native")) { externalNativeBui

Is there a way to delay a Spring AnimationSpec in Jetpack Compose Animation?

In Jetpack Compose Animation, for tween AnimationSpec, we can have a delay val translationY by transition.animateFloat( tran

Setting Circular progressbar is not updating the progress

My Code is really simple and it has nothing fancy logic in it. I am just taking a value and trying to set the value. This value is coming from the a LiveData ob

Flutter issue on save PDF file to android file manager app

Hello I am facing issue on save PDF file at android file manager app. Works good in iOS. Android error log : [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhan

Android Hal is not registered at runtime in Android R(11)

I added my hal interface in manifest.xml, vendor_compatibilityMatrix.xml, and also in device.mk. And also I have created hal.rc file as well for my hal. but at

Admob Banner randomly changing from BANNER to FULL_BANNER size with Jetpack Compose

I am integrating Admob's banners in my app, this app runs both in AndroidTV and Android, where it's running in mobile the dimensions must be 320x50(BANNER) whic

Jetpack compose deeplink handling branch.io

I'm using branch.io for handling deep links. Deep links can contain custom metadata in a form of JsonObject. The data can be obtained by setting up a listener,

File pattern was reassigned to file type by 'Android' plugin. You can confirm or revert reassigning pattern

I am developing an app using Flutter 2.10.3 but I assume this issue is not related to Flutter. Since upgrading to Android Studio Bumblebee | 2021.1.1 Patch 2 I

Jetpack Compose vector parsing issue

I'm trying to load a vector but keep getting this error stack trace java.lang.IllegalArgumentException: Unknown command for: R at androidx.compose.ui.graph