Category "android"

Error with Gradle using VS Code: "Could not run build action using Gradle distribution"

I've started getting the following error message when opening an existing Gradle project in VS Code after upgrading the Gradle installation on my computer: Cou

Unable to connect to ADB server

Previously I was able to connect Android Studio to Samsung Galaxy S4 and muz uPAD tablet. But then I encountered ADB problem. it says ADB is not responding. No

React Native: Error: Package name not found

After integrating RN into an existing Android project, I get the following error: Error: Package name not found in /home/.../AndroidManifest.xml at Object.pr

Cannot create instance of viewmodel after using Hilt in Android

Here is my AllFilesListViewModel class. class AllFilesListViewModel @ViewModelInject constructor( private val pdfItemRepository: PdfItemRepository):ViewMod

I am trying to build a bottom sheet in the below code when i am using Column,the code works fine,but doesnt work with Listview

showModalBottomSheet( context: context, isScrollControlled: true, isDismissible: true, shape: const RoundedRectangleBorder( borderRadius:

Cannot create instance of viewmodel after using Hilt in Android

Here is my AllFilesListViewModel class. class AllFilesListViewModel @ViewModelInject constructor( private val pdfItemRepository: PdfItemRepository):ViewMod

Google Sceneform – Is it deprecated? Any replacement? [closed]

I use in my ARCore project Sceneform. It seems that this project is now mentioned as Archived by Google. More info we can find here or on this

Facebook login not working with facebook application

I am coding for the Login with the Facebook into my android application.I am following this STEPS. I have problem that The logout button is not showing after l

Listen to incoming Whatsapp messages/notifications

I'm working on a notification based app, for which I need to listen to incoming notifications. I've been able to listen to incoming calls, SMS, mail etc. I have

What is the correct way to run mobile UI tests using Appium?

Using Selenium webdriver we can open needed webpage like a precondition before our tests. But how to realize the same way in mobile and does it make any sence?

Crash in AutofillManager NPE: trying to invoke virtual method containsKey(java.lang.String)' on a null object reference

I have no direct traces of using AutofillManager in my project but still getting this crash in crash analytics. How we can handle this? Crash Logs- java.lang.Nu

Gradle can not find firebase auth ktx library in android

As you can see below, I have encounter this error when I try to download missing files inside firebase auth.ktx library otherwise I can not reach any document

What is the easiest way to use SVG images in Android?

I have found a myriad of libraries in order to use SVG images in Android and avoid the frustrating creation of different resolutions and dropping files for each

How to filter a nested relation in Room?

Let's take this example: I have a form, which has several sections, each having questions. Sideways, I have answers that are mapped to questions and they have a

Firebase recyclerview always refreshes and losses its scroll position when starting new activity and returning

My Firebase recycler view always refreshes and loses its scroll position when opening new activity and coming back. Tried multiple solution in Stack Overflow bu

Adb reverse tcp not working on android connected remotely

I am trying to execute reverse tcp command on a android device connected remotely(using adb connect <ip-address>). But I am getting following error while

PDF load error in com.github.barteksc.pdfviewer

I'm using com.github.barteksc.pdfviewer library to view pdf files. I don't know what happened it stopped working from past 2 weeks, Im getting PDF load error. T

error: unable to read askpass response from '/home/.cache/Google/AndroidStudio2021.1/tmp/intellij-git-askpass-local.sh' in ubuntu android studiio

I am trying to push my code to my bit bucket repository but from last few days after update from bit bucket, I have to use token to push code. But I don't know

Android Toolbar Popup menu not showing icons

I am trying to show a drop down menu for my toolbar which includes BOTH text and icons: <menu xmlns:android="http://schemas.android.com/apk/res/android"

Compare two sound in Android

Is possible to compare a voice with already recorded voice in the phone.Based on the comparison we can rate like Good, Very Good , Excellent etc. Most closed s