Category "android-studio"

Deprecation warning in gradle in Android Studio in Flutter project

I have created a Flutter project in Android Studio (Bumblebee | 2021.1.1 Patch 3). When I open the android folder in a seperate window, when the gradle syncing

Navigation Drawer Custom Action bar [ Icon ] problem?

My custom navigation drawer is working properly but as mentioned in the solved answer but I am confused about this line of code Problem ! Press the back button

android emulator disable microphone when launching device

How do we disable the (virtual) microphone when launching the emulator? Situation When launching an Android Studio stock emulator device, the microphone is alwa

Why am I having less options in Palette in Android Studio?

I am using Android Studio (Bumblebee - 2021.1.1). Unlike other YouTubers having many options in Palette, I am having only a few options. Do I need to download a

How to auto-close app open ads after splash

I placed an ad of the type: "app-open" admob. This advertisement is not accepted by the App Store except in one case: That there is a splash for the application

Why is android studio not allowing me to select a locale region?

I want to use resource qualifiers to create a locale specific strings.xml file for English (United States) but when in the "New Resource File" window, if I sele

Combining Two Flows and add them to temporary list of StateFlow(Hot Flows)

I m getting data from two End points using flows and assigning those two list to temporary list in ViewModel. For this purpose, I'm using combine function and r

I am using viewpager2 inside a recyclerview but the images are not outputting. Why?

No matter what I do the pictures are not showing up. Even if I set the items to match parent, I still have the same problem, I've been dealing with it since the

Is there a way of displaying 2 input for QR code in android

So I’m creating an android app for queuing and it uses a QR code for reference and when scanned should display date and time of the chosen schedule but my

How to separate large numbers with spaces kotlin

I have a calculator app and I want it to show large numbers with spaces between them when users enter their input. Currently, they don't have spaces between the

Failed to start several time. Restore it by clearing its history. Android Project

I have no idea what causing the error in my android project. The error "Failed to start several time. Restore it by clearing its history." happen in some of the

Firebase Assistant missing in Android studio's Tools tab

So I'm building an application with android studio and I am having problems connecting to Firebase. This means that Firebase assistant is not in Tools. Now, a

Connection of Android Studio project to MySQL database

I am developing an android studio project and would like to be able to access data from a database sitting on the pc which I am programming from. I would like t

i get "Error running 'main.dart': Entrypoint isn't within a Flutter pub root" every time i try to run my app

i'm working on app using flutter and android studio this is the error I get every time i try to run my app i tired running other projects and they ran completel

Can't see implementation of protected abstract functions in Android package

I have been going over the android package a bit. I am using sdk 30 and for example in SensorManager.java there is a function protected abstract List<Sensor&

textview icon instead of real text

In the preview window of Android Studio sometimes instead of actual text (a few lines of text) I see the TextView icon as in the picture. I tested various layou

How do I assign an id to a drawable in text view in the xml file?

How do I assign an id to a drawable in text view in the xml file. The three dots is the drawable. So I can find it by id. findViewById<??????>(R.id.id_of

Range Error(index): invalid value: valid value range is empty

im trying to set initial value for 'title' but it keeps showing me the error: range error (index): invalid value: valid value range is empty class _ProductCreat

Android studio custom icon state_focused not working

custom_email_icon.xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item andr

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