Category "android"

"continue" is not a valid resource name

When declaring below text on string.xml, I'm getting this error <string name="continue">Continue</string>

How to retrieve drawable from attributes reference in a Fragment

Can someone confirm what the correct way is to retrieve drawable from attributes reference (from a fragment)? activity.context in val myDrawable = ContextCompa

flutter problem: "Could not resolve all files for configuration ':classpath'."

I run simple flutter "show random word" project but i have this error: this is my gradle-wrapper.properties file: #Fri Jun 23 08:50:38 CEST 2017 distributionBa

Playing Vimeo videos in Flutter

I'm trying to play vimeo videos in flutter app using the video_player plugin but got no success, it's throwing bunch of errors. please help me how I might go a

How to call API again when there is Network or Timeout Error in Android Volley Request

I am using a custom common class named APIHelper for Volley JsonObjectRequest for my all activities. I am handling all type of errors here. And setting positive

Window.open() to trigger phone SMS/Call/Email app not working in Chrome on Android on Page Load - Using ReactJS

This is my code snippet. else if (item.title === 'Text') { try { window.open(`sms:${item.link}`,'_self') } catch

Java getJSONArray when it is set to null

The problem happens when I'm trying to get children of a comment. If the child key is null, my application crashes and gives me this error: org.json.JSONExcept

Hilt: java.lang.ClassNotFoundException: Didn't find class "com.kotlin20test.Hilt_MyApp"

I have an error concerning Hilt, I"ve been trying to inject a retrofit interface I created using Hilt, Here is the error: java.lang.ClassNotFoundException: Di

Jetpack Compose BottomSheetScaffold sheetGestures disabled but gestures still works when child component is scrollable

I have a BottomSheetScaffold inside my android app that looks like the following: BottomSheetScaffold( sheetGesturesEnabled = false, sheetConte

Surface at +(...)% colors in jetpack compose

In official Material Design 3 resources (e.g. the Figma design kit), there have been many references to colors called "Surface at +x". These colors are the surf

Accessibility Service is malfunctioning

I've been using an Accessibility service for a while now on my app. It used to work fine, but there's this message on the phone at the screen where you enable t

java.lang.NoSuchMethodError after upgrading Jetpack Compose to 1.0.0‑beta07

I'm getting the following error running observeAsState on a LiveData object after I upgraded Jetpack Compose to 1.0.0‑beta07. java.lang.NoSuchMethodError:

Jetpack Compose on Kotlin 1.5.0

I've updated to Kotlin 1.5 last week, and after yesterday having seen the intention of Google to make Jetpack Compose the preferred option for designing UIs, I

Am facing this problem each time i run my react native app using expo please i need support

While trying to resolve module idb-keyval from file C:\Users\ADMIN\Desktop\Fintech\node_modules\parse\lib\react-native\IndexedDBStorageController.js, the packag

Could not determine the dependencies of task ':app:compileReleaseJavaWithJavac'. In React Native

I got this problem when I build my app in release mode using App Center. * What went wrong: Could not determine the dependencies of task ':app:compileReleaseJa

How to create an extension function with multiple receivers in Kotlin?

I want my extension function to have a couple of receivers. For example, I want function handle to be able to call methods of both CoroutineScope and Iterable i

MotionLayout OnSwipe touchRegionId clashes with OnClick targetId

I have this transition in my MotionLayout. <Transition android:id="@+id/transition_validate" motion:constraintSetEnd="@id/endRight" motion:const

How to make kotlin operator a Composable with parameters having default value

I'm trying to make Kotlin's invoke operator a @Composable, everything works fine, until I add a parameter to it, which should have a default value. See the code

PDF file download from url and store on internal storage then try to open it from any PDF reader its shows file format is not supported in flutter

I am trying to open my downloaded PDF file within my app then it shows fine, but when I open it from any other app like PDF reader its shows file format is not

Exoplayer only showing black screen not playing the video

When I open the app empty player with black screen is showing and the play button is changing to pause button after a second or two seconds, as per below I ha