Category "android"

exception: View does not have a navController set

in the fragment which i made it host in the tag fragment in activity when i use navController = Navigation.findNAvController(view) the app crashes by the error:

android gradle fail "AAPT: error: resource color/com_facebook_button_background_color_focused_disabled"

when I am running build at Android Studio, there are linking failed from the out of project where is in ".gradle/caches/transforms-2/files-2.1/". I erased .gr

How to reduce material.switchmaterial.SwitchMaterial end margin in android?

I've used "com.google.android.material.switchmaterial.SwitchMaterial" in that left margin having some space. How to reduce that? I've need align straight of the

apex image failed to build android rom compiling

I'm trying to build crdroid 10 for my z5p I followed the guide given on GitHub and set my environment synced the files and after hours of building, I'm facing e

After sending data from MainActivity to Fragment, the variables are setup to 0.0

I'm trying to pass from MainActivity to Fragments (by using ViewPager, and TabLayout, if it will help you anyhow) user's latitude, and longitude. The thing is,

"E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array" error

I am trying to create an app which downloads and plays music. For stopping users from copying the music files, I want to encrypt the file as soon as it is downl

AccessibilityService on android studio doesn't work

i need to initialise an AccessibilityService with xml configuration, but the service doens't work... i don't understand why. can you help me ? code : manifest :

Use lazyColum inside the column has an error in the Jetpack Compose

I have a lazyColumn which I want to use inside the column but I get the below error and app crashes: Nesting scrollable in the same direction layouts like LazyC

Build Software Keyboard with Jetpack Compose - IME Input Method with Jetpack Compose

Building a simple keyboard is fairly simple and straightforward in Jetpack Compose. I built a really simple KeyRow by using this: Key.kt @Composable fun Key(mod

google play console app status draft why?

i'm trying to publish my new app on google play. but i'm confused about app status... in dashboard pages, app status showing DRAFT but why? is that a problem? w

How can I make AndroidX the default library for new Android projects?

Google now recommends using the AndroidX libraries over the older support libraries (read here), yet each time I start a new Android project in Android studio,

Move package from Android manifest to build files

My Android Studio claims that declaring the package in the manifest like this is deprecated: <manifest xmlns:android="http://schemas.android.com/apk/res/andr

Adaptive Card text overflow in Microsoft Teams Android app

I have the following JSON code for my adaptive card: { "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version":

sdkmanager install cmake fails

I trying to install cmake (3.10.2) using following command on Ubuntu /opt/android-sdk/tools/bin/sdkmanager --install "cmake;3.10.2" But getting Warning: Fa

Firestore Paging Adapter- How to know if query returns 0 results

I'm using firestore paging adapter to populate my RecyclerView with data from Firestore, if collection in Firestore is empty I would like to show a TextView to

Cancel multiple Retrofit API calls at once

Past few days I am searching for a Retrofit2 feature. Is there any option or way to cancel multiple API calls at once, requested from a client? For example, I h

React navigation 5 really slow and dropping JS FPS on Expo

I am currently working on a React Native (Expo) App and I am facing some performance issues. I have not found any answer yet for my problem so I hope someone ca

RecyclerView is not going to the orignal starting position

Recently I have added saving and restoring functionality in my recycler view so when I navigate between different fragments the recycler view maintains its posi

RecyclerView is not going to the orignal starting position

Recently I have added saving and restoring functionality in my recycler view so when I navigate between different fragments the recycler view maintains its posi

Find separate REST API Key & MAP SDK Key for Android - mapmyindia API

On the mapmyindia (map my India) API console, under "Credentials" tab of the Default Project, a default (and single) key is present "REST / Map SDK Key". In the