Category "android"

Unable to connect to adb daeomon on port:5037

I have just installed the android studio, But my "Hello world " App is not running in emulator, It's showing the Emulator error - Unable to connect to adb daemo

Error AAPT2 aapt2-4.1.2-6503028-windows Daemon

When I build apk in Android Studio, it fails with an error like this: Execution failed for task ':app:mergeReleaseResources'. Multiple task action failures oc

How to achieve fluent scrolling in Hybrid Maui Blazor APP?

Update I've added a screencast to better demonstrate the horizontal scroll problem I'm building a Hybrid MAUI / Blazor app. My goal is to make use of the native

How to prevent adb client from auto starting adb server?

It seems like whenever adb client cannot communicate with adb server, it automatically starts it. Is there a way to prevent adb server from automatically starti

Filtering a recyclerview list using map or switchmap

I've been trying to figure this out for 2 days now - I just can't seem to get it to work! I'm using MVVM with a Repository pattern. Could someone tell me what I

Error receiving broadcast Intent when using SmsRetriever

When authenticating using Firebase Auth, I want to auto input the code that is received via SMS. I am able to receive SMS and go through auth process manually,

Failed to bind to the service

On the app launch, I need to check whether a new version is available on play store or not. To check I have implemented below code in Splash screen. private vo

How to save a cookie in an Android webview forever?

With my code below, I have been able to save a cookie, but as soon as I close the application the cookie disappears. How is this caused and how can I solve it?

Flutter run error : You have not accepted the license agreements

I'm developing android and ios app with Google flutter. when I add a new dependency like shared_preferences to pubspec.yaml and then execute flutter run in term

Could not find method compile() for arguments [com.android.support:appcompat-v7:25.0.0]

Trying to build a react native project, and cannot compile appcompat Could not find method compile() for arguments [com.android.support:appcompat-v7:25.0.0]

Adding function to foreground service lifecycle methods can create an issue? Is this best practise?

I created a timer app. So it's counting time basically and I'm saving the time to room when service close in OnDestroy scope. Is it best practise? Or is there a

How to distribute android phone+wearOS projects in same play console store listing

I have a phone project, as well as a watch (wearOS) project. 90% of the code is shared between the two projects, and I would like to package and distribute the

Where and how to add classpath dependencies in gradle 7.2?

For android project created with gradle 7.2, the project gradle is very different from the previous ones, it now only contains these // Top-level build file whe

How to listen the cancel event from confirmation screen of a biometric prompt?

I'm implementing the latest Biometric prompt in my app and made the Confirmation required true. While doing facial recognition it prompts for user confirmation

Errors when running command "npx react-native run-android"

C:\Users\lenovo\Desktop\react-native-cli>cd AwesomeProject C:\Users\lenovo\Desktop\react-native-cli\AwesomeProject>npx react-native run-android info Runni

Ionic 3 pause and resume events triggering multiple times in Android

I am facing strange issue in ionic 3 pause and resume events, whenever I paused the application, events are calling multiple times(once 2, once 3 etc). Here is

UtteranceProgressListener not called

I'm trying to take some action after a TextToSpeech object in my Android app finishes speaking a sentence, but my UtteranceProgressListener.onDone() method is n

java.lang.ClassCastException: com.github.mikephil.charting.data.Entry cannot be cast to com.github.mikephil.charting.data.PieEntry

Accepting data from database and displaying it on Table Layout and using that data creating a piechart with MpAndroidChart Library but getting the error as sta

"Automatic SMS Verification with the SMS Retriever API" vs "Authenticate with Firebase using a Phone Number"

On my andoird app to do Automatic SMS Verification I can use this: "Automatic SMS Verification with the SMS Retriever API" https://developers.google.com/ident

UtteranceProgressListener not called

I'm trying to take some action after a TextToSpeech object in my Android app finishes speaking a sentence, but my UtteranceProgressListener.onDone() method is n