Category "android"

Gradle - A problem occurred evaluating root project (Android)

hello there I was trying to add this repository allprojects { repositories { google() mavenCentral() } } but don't know why I'm getting

Can I store a composable function in a variable?

In Kotlin, function is a first-class citizen. We can store a function in a variable as below val functionVariable: () -> Unit = ::myFunction fun myFunction(

In App Review opens only once when testing for the same account

So I integrated In App Review for my app https://developer.android.com/guide/playcore/in-app-review/kotlin-java#launch-review-flow https://developer.android.com

Flutter is not finding android sdk

Whenever i run flutter doctor the following error comes [√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.438], locale en-IN)

Ripple with rounded corners Jetpack Compose

In this answer I got wrong ripple animation. Do you know how to create ripple with rounded corners using Jetpack Compose? With default ripple I have this: Code:

How to change startIconDrawable Size in TextInputLayout

Seems like there is no XML attribute to change the startIconDrawable size in android. The icon is oversized as compared to the text. Here is a screenshot of the

Android why are two identical Fragments created when navigating with NavController

I have an app that uses the single activity and multiple fragments approach and I use the NavController for navigating. Unfortunately, when navigating to a Frag

Lottie working on an Emulator But not on real Device

I have lottie library in my project built on react-native. followed These installation steps on an android, but to my surprise the animation works on fine on em

Error: could not find the correct Provider<List<Parking>> above this ParkingList Widget

import 'package:flutter/material.dart'; import 'package:flutter_user_profile/home/parking_tile.dart'; import 'package:provider/provider.dart'; import 'parking_t

Bumblebee Android studio Plugin [id: 'com.android.application', version: '7.1.0', apply: false] was not found in any of the following sources:

I updated my android studio from Android studio fox to Android studio Bumblebee 2021.1.1 but none of my projects can run in Android studio Bumblebee 2021.1.1. I

Why onAdDismissedFullScreenContent is being called lately?

I have created a function to show interstitial ad before showing another activity. It's working but onAdDismissedFullScreenContent is being called 2-3 sec latel

PendingIntent fails when target API was upgraded from Android 10 to Android 12

I have an old android app that worked well with API 29 as a target. Now I updated the target to API 31 (Android 12) and the test on an Android 12 phone fails as

How to migrate from Material Design 2 to Material Design 3

I have an application which is designed using Material Design 2. I have not submitted that to Playstore yet. I am now trying to upgrade that application to Mate

Android check internet connection in kotlin

I need to check if the device have internet connection, I search for some examples but when i copy and paste the code i always get errors or deprecated function

The plugin `kommunicate_flutter` uses a deprecated version of the Android embedding

I try to upload kommunicate_flutter: ^1.1.3 in my flutter android app becasue I want to add chatbot in my app but I face this problem , can anyone help me pleas

How to make element fill the remaining space inside a Row or a Column in Jetpack Compose

I am trying to show two text messages besides each other in a row but when the size of the first text is big, the second view gets pushed out of the screen as s

Android - focus an input textfield inside a webview

I have a problem to focus an input textfield inside a webview. In the webview a text input field is shown. If you click inside, the keyboard opens and the navig

Google Play not updating internal app automatically

I have an app that is released only as an "internal test" on the Google Play store When I go to the Google Play store on my phone, the app does not show up at a

How to Fix The method '>=' was called on null. Receiver: null Tried calling: >=(25) in dart flutter

Guys, I am trying to create a BMI calculator app. everything is working fine but I am getting an error which is shown below while passing data in the condition

ClassNotFoundException in navigation graph android

I saw this crash over firebase and it is not reporducible in the emulator of same OS. Not sure what is causing it. Crash is occuring in samsung M32 OS 11. The c