2,517 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Score of 0
0 answers
33 views
Unable to run macrobenchmark test with StartupMode.Cold
so i've tried running my own macrobenchmark, also with the android/samples and they both fail on StartupMode.Cold with the following error
java.lang.IllegalStateException: The DROP_SHADER_CACHE ...
- reputation score 1
Score of 0
0 answers
234 views
How to disable the "minimize" button in AndroidX CustomTabs?
I’m using androidx.browser.customtabs with a CustomTabsIntent to open a webpage inside my Android app.
Chrome shows a minimize button (a small arrow/down icon) in the Custom Tab UI, allowing the user ...
- reputation score 1094
Score of 0
1 answer
45 views
Androidx's cardview with rounded corners showing gray color on the edges
This is my layout:
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
...
- reputation score 1
Score of 0
0 answers
43 views
Testing warm start deeplinks using ActivityScenario
I'm trying to switch from the deprecated ActivityTestRule to ActivityScenarioRule but facing an issue with some of the tests. I found out that I need to move from startActivity to ActivityScenario....
- reputation score 1515
Score of 0
0 answers
55 views
UWB ranging does not start with multiple peers using multicast mode in androidx.core.uwb
I am working on an Android UWB application using androidx.core.uwb.
When I add multiple peers to the device list and use multicast mode, ranging does not start at all.
With a single peer, ranging ...
Score of 1
1 answer
163 views
Android: how to fix "Cannot resolve symbol 'R'" with androidx and search_close_btn?
In my Android project, I have an onCreateOptionsMenu(Menu menu) to show a SearchView. The below line sets up an "X" graphic as a close button for the SearchView, which is shown when the ...
- reputation score 1329
Score of 1
2 answers
278 views
Lifecycle of ViewModel injected in root composable
I am facing weird behaviour in my application and it's probably because of lifecycle of ViewModel (injected in root composable), but I can't find any information about it in documentation.
Problem:
...
- reputation score 150
Score of 1
0 answers
70 views
Fragment leaked by androidx.fragment.app.SpecialEffectsController$FragmentStateManagerOperation
I have Navigation Component (version 2.9.0) with androidx Fragments (version 1.8.6) and Predictive Back and androidx.transitions (version 1.6.0) with gesture navigation enabled. I'm seeing this leak ...
- reputation score 732
Score of 1
0 answers
67 views
Could not find dependency for ComplicationManager (androidx.wear.watchface:watchface-complications:1.2.1)
I am trying to the use facilities of the ComplicationManager in AndroidX, and to do so the Gemini AI engine tells me I need to include the following implementation directive in the dependencies block ...
- reputation score 21
Score of -1
1 answer
81 views
Why does adding a provider crash android app? [duplicate]
Here is the problem in its minimal version. I have an android app that does nothing except print the sdk version in its onCreate method. I am using the AndroidManifest
<?xml version="1.0" ...
- reputation score 141
Score of 1
1 answer
109 views
How to download screenshots created using androidx.test.core.graphics.writeToTestStorage
I'm in the process of changing the Screenshots created by my Android instrumentation tests androidx.test.runner.screenshot.ScreenCaptureProcessor (which worked) to the new androidx.test.core.app....
- reputation score 11955
Score of 0
1 answer
110 views
Androidx: Cannot resolve method 'getDialog' in 'ListPreference'
I have used a custom ListPreference which worked well before. Then upgrading to Androidx, it appears this error:
> Cannot resolve method 'getDialog' in 'ListPreference'
import androidx.preference....
- reputation score 519
Score of 0
0 answers
53 views
Why can't my Android app find game-text-input/gametextinput.cpp?
My game uses the AndroidX game text input module. It's been working for a couple years but I recently updated to the latest version 4.0.0 and now Android Studio/Gradle can't find the source file and I ...
- reputation score 2329
Score of 0
0 answers
71 views
TypeError : cannot read property EventEmitter of undefine stack: anonymous@197745:50 loadmoduleImplementation@267:13
In my old React Native project with version 0.60.4, react-native-background-downloader (version 2.3.4) worked well. However, after upgrading React Native to version 0.77, I encountered the following ...
- reputation score 73
Score of 0
1 answer
176 views
MAUI Java class resolution fails even with dependencie added
I want to launch from dotnet maui an Android activity implemented in Kotlin, that uses Jetpack Compose elements.
For that, I have my Kotlin class
open class ExampleActivity : ComponentActivity() {
...