Category "android"

Could not find method compileSdk() for arguments [30] on extension 'android' of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension

I got the above error compileSdk() not found. While creating the app I have installed TargetSdk 31 and min SDK 19 But Apk does not install on Oreo Version so I

Google Play Store Application is Rejected Saying : " Not adhering to Permissions policy"

The application got rejected saying: "Not adhering to Permissions policy" not giving any particular reason as of why it has been rejected but received a mail sa

React Native Android location request timed out

In IOS there isn't a problem while looking for gps coords. It works fine. On Android side its not stable as IOS. This problem both in real device and emulator.

How to edit /etc/hosts file in Android Studio emulator running in nougat?

Anyone know how to edit /etc/hosts file inside an android studio emulator running in nougat? I will be editing it so I can use my virtual host in my local web s

How to fix ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android()?

ERROR: No signature of method: build_ap86oam3dut3pxce3x49rdtma.android() is applicable for argument types: (build_ap86oam3dut3pxce3x49rdtma$_run_closure1) value

Android force BarCode scanner to scan only BarCodes

I have an Android app, where it simply scans the Barcode and this is working fine. The problem is, sometimes if I have my phone during scanning turned to carpet

how to get the Context Inside the FirebaseMessagingService?

I have an app and It Uses FCM for sending and receiving messages. I have implemented every thing as suggested in docs. Now on generation of token I want to sa

Android Jetpack Navigation - Custom Action with Drawer Item

I am using the new Jetpack Android Navigation in combination with a Drawer Layout. Everything is working as expected when using the same IDs in the Drawer XML i

How to set Google Play `inAppUpdatePriority` using google-php-api-client

I found following thread at : https://issuetracker.google.com/issues/133299031#comment14 Hello, In-app update priority of the release can be set using the P

Firebase auth : getIdTokenResult(true) returns expired token after few minutes of inactivity

Using Firebase auth from https://github.com/invertase/react-native-firebase for the react-native project. It works well in all scenarios, handling the token ren

Gradle build-attribution unexpected attribution

I recently deleted and reinstalled my Android Studio IDE and my before working project still finishes building but gives an unexpected exception which is as fol

How to start specific screen when notification appear in flutter

I am using firebase_messaging for notification, everyting is work fine. I have a video calling screen I want to start this screen on notification when app in ba

importing java libraries into dot os source

Hey I'm building dotOS rom for samsung grand prime. Im stuck with an error. the device/samsung/qcom-common/doze/doze/Android.mk: error: SamsungDoze (APPS andr

Flutter error - Gradle task assembleDebug failed with exit code -1

I'm new to flutter. I just created a new project in flutter and have not even altered the code. And when I run the code I get the following error. Launching li

How can I program a while loop that waits for my input in Android?

My question is simple. What method can I use to tell my program that a button is pressed? I'm trying some codelines but its not really working (I tryed with isP

how to make gpx file in android

I wanna write gpx file with DOM and Transformer My code is like that try { val document = DocumentBuilderFactory.newInstance().newDocumentBuilder().

How to fetch 50 by 50 contacts from contact list?

I want to fetch 50 by 50 contacts from the contact list. I tried for loop but it gives me 10 contacts randomly. How to fetch 50 by 50 contacts .. please help

What steps to take to verify my Android Firebase app is on the cloud

I'm a newbie to the firebase cloud process. I have a commercial a security camera to view my house that I can view on my phone many miles from my home. Gettin

Unable to delete eSIM profile on Google Pixel 3a

I have recently changed phone carriers. I cannot download an eSIM for my new carrier while it is supposed to be compatible with the Pixel 3a. They claim this is

Flutter - Adding Container (widget) in GridView when click a button?

I wanted to add a container widget in the GridView when a button is clicked. I was able to do this with the column widget but could not do it with GridView. im