Category "android"

incompatible types: View cannot be converted to LinearLayout

When I want to make Apk file I get 8 errors, I hope someone helps me to fix it Task :app:compileReleaseJavaWithJavac FAILED C:\Codes\code\app\src\main\ja

SHA1 SHA256 command

So I created an android app from the while running the "keytool" command from the "Authenticating your client" site for firebase on the project folder, I get th

getting a payment failed unexpected error in razorpay in react native ios and android

I am integrating a razorpay payment gateway in my react native app . whenever I'm trying to open a razorpay checkout UI its first open a pop up with a loader an

Symbol ExoPlayerFactory not found

I am going insane trying to figure this out. It makes no sense at all. I have added the required implementation in my build.gradle file and synced it up just fi

How to update element value in JsonObject?

I have a json file with parameters name and hit. [{ "name": "pavan", "hit": true }] I would like to update name and hit to [{ "name": "sai",

How to prevent AlertDialog box getting dismissed when clicked outside the dialog box?

I have an AlertDialog box that I am using to get input from the user. But when the user clicks outside the dialog, it is getting dismissed irrespective of wheth

Resource linking fails on lStar with error

I'm working on a android Native application. My Android builds began to fail without any changes. FAILURE: Build failed with an exception. * What went wrong: E

Android studio - Generate signed APKs broke

I just updated my Android studio to the version 2021.1.1 Canary 12. After struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2

Can I change topLevelDestinationIds from AppBarConfiguration?

I have CountriesFragment and this fragment is launching first (start destination) I hid the back button using this code NavigationUI.setupWithNavController(mate

Unable to Capture Fingerprint using morpho fingerprint scanner device in android application

Device detail: Morpho fingerprint scanner device Method Type : CAPTURE URL : http://127.0.0.1:11100/capture Headers content-type : text/xml Accept : text/xml B

ViewPager2 default position

I'm creating a slideshow with ViewPager2. For example, the slideshow has 3 items and I want to show the second item when the activity opens. I use setCurrentIte

IntelliJ IDEA and Android Studio create ADB conflict: Could not connect to remote process

I use the latest release of IDEA (now 2021.2.2) to develop the backend (and running tests) and the latest of Android Studio (now 2020.3.1) for the mobile app. W

CountDownLatch: object not locked by thread before wait()

I want to pause the main thread until the other thread finishes. I tried CountDownLatch and semaphore. but none of them worked. I got the same error for both.

Is it possible to display watch sensor data on phone without installing app on watch

Display watch sensor data on phone without installing an app on watch? How create an app that displays all the sensor data from watch?

What's difference between "= remember" and " by remember" (Kotlin, Jetpack Compose)

I think two use case of remember exist. first one is @Composable fun abc() { var aa = remember { mutableStateOf(true) } } and second @Composable fun abc()

No MaterialLocalizations found - MyApp widgets require MaterialLocalizations to be provided by a Localizations widget ancestor

I was just trying to create an app with button which shows an alert message when the button is pressed. But it gives me this error(Mentioned below). I wrote

Koush ION crashes after Gradle upgrade

After Gradle upgrade ION gives me this error, when trying to send very simple request. It gives me same error on AVD and my physical device. For now I dodged er

Dynamic list of custom items each with edit button. How to button binding?

I tried importing ObjLargeBinding, but idk what to do from there. Do I have to dynamically setOnClickListeners for each objective on screen? ''' import android.

How to get difference of response received time and request made time

i need a difference between response recieved time - request made time.it should print the difference on the screen.for now it shows a button and if we click th

> Could not find com.google.android.exoplayer:exoplayer-core:r2.4.2

I am facing this exoplayer not found error in video android studio application after I updated my project dependencies. I don't know how to update old Exoplayer