id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
72,787,335
How to set up a dev/test environment for mobile "light" browsers for web page?
<p>I appear to be having issues with my website on the various mobile integrated/light browsers, and I have no idea how to set up an environment to test/debug that.</p> <p>Longer Story:</p> <p>I have a WordPress based website, and am driving traffic to a landing page with PPC. Everything works great locally on Chrome, ...
I appear to be having issues with my website on the various mobile integrated/light browsers, and I have no idea how to set up an environment to test/debug that. Longer Story: I have a WordPress based website, and am driving traffic to a landing page with PPC. Everything works great locally on Chrome, Firefox, and Safa...
debugging|mobile|android-webview|javascript-debugger
0
2022-06-28T13:29:45.983Z
2,022
6
13
1
15
0
1,544
78
4
1
true
true
false
false
false
false
zero
72,787,383
How do I focus on my Custom Tab screen running in the background?
<p>I'm creating an application in Flutter that will have web flows that we decided to use Trusted Web Activity for performance reasons.</p> <p>We have a Home screen (Flutter), which starts the web flow in a custom tab (TWA) that contains a deeplink (myapp://checkContent) that opens a new screen in Flutter.</p> <p>On th...
I'm creating an application in Flutter that will have web flows that we decided to use Trusted Web Activity for performance reasons. We have a Home screen (Flutter), which starts the web flow in a custom tab (TWA) that contains a deeplink (myapp://checkContent) that opens a new screen in Flutter. On this last screen, a...
android|android-intent|chrome-custom-tabs|trusted-web-activity|android-customtabs
0
2022-06-28T13:33:19.617Z
2,022
6
13
1
50
0
540
65
5
0
false
true
false
false
false
false
zero
72,787,399
Show layout bounds - custom views with custom color
<p>We have a library of custom views that we use in our app and were wondering if there is a way to customize the color of &quot;show layout bounds&quot; from developer options so that views from our app are visually identifiable from other views.. any ideas?</p>
We have a library of custom views that we use in our app and were wondering if there is a way to customize the color of &quot;show layout bounds&quot; from developer options so that views from our app are visually identifiable from other views.. any ideas?
android|debugging
2
2022-06-28T13:33:59.177Z
2,022
6
13
1
56
0
256
51
2
0
false
true
false
false
false
false
low
72,787,577
Activity takes a decade to open because I get Firebase queries at on Create
<pre><code>private fun getAngryMovies() = CoroutineScope(Dispatchers.IO).launch { try { val querySnapshot = allMoviesCollectionReference .whereEqualTo(&quot;type&quot;, &quot;Angry&quot;) .get().await() for (document in querySnapshot.documents) { val movieObj = d...
[CODE] The thing is I'm running this function as long as splash screen is shown in a Coroutine Spread as shown above .The thing is the activity takes a decade to open. I'm probably querying over 100 movies, how should I solve this issue
android|firebase|kotlin|google-cloud-firestore
0
2022-06-28T13:44:37.193Z
2,022
6
13
1
42
0
236
75
4
1
true
true
false
false
false
false
zero
72,787,794
How to prevent screens from sharing stylesheets?
<p>I've been using stylesheets to organize and setup different UI elements, as per usual; however, I've noticed that two different screens happen to share the same stylesheet... which is a rather big issue, as any changes I make oriented around one screen now affect the other screen. Their smallest widths are sw800dp (...
I've been using stylesheets to organize and setup different UI elements, as per usual; however, I've noticed that two different screens happen to share the same stylesheet... which is a rather big issue, as any changes I make oriented around one screen now affect the other screen. Their smallest widths are sw800dp (scr...
java|android|android-styles
0
2022-06-28T13:56:56.650Z
2,022
6
13
1
19
0
978
48
3
0
false
true
false
false
false
false
zero
72,787,836
Making joystick non-centring in a particular axis?
<p><a href="https://github.com/controlwear/virtual-joystick-android" rel="nofollow noreferrer">https://github.com/controlwear/virtual-joystick-android</a> I am using the above joystick implementation I found, everything is working fine, it's just I want my joystick center button to be set at X=0, and set at the current...
https://github.com/controlwear/virtual-joystick-android I am using the above joystick implementation I found, everything is working fine, it's just I want my joystick center button to be set at X=0, and set at the current Y position. That is, the movement in the Y direction is static and X direction it is self-centerin...
java|android|android-studio|android-layout|joystick
0
2022-06-28T13:59:24.783Z
2,022
6
13
1
18
0
472
50
5
1
true
true
false
false
false
false
zero
72,787,869
Is it possible for user to adjust the line of radar chart in android studio?
<p>I've known how to built a radar chart in android studio by MPAndroidChart, but is it possible for user to adjust the data(point/line) on the radar chart and my database would change the data at the same time?</p>
I've known how to built a radar chart in android studio by MPAndroidChart, but is it possible for user to adjust the data(point/line) on the radar chart and my database would change the data at the same time?
android-studio
0
2022-06-28T14:01:01.220Z
2,022
6
14
1
10
0
208
76
1
0
false
true
false
false
false
false
zero
72,787,907
Where is the 'pubspec.yaml' file? Pub.dev examples won't compile in Android Studio with Flutter Plugin without adding a path, but where is it?
<p>I have successfully installed the Flutter plugin to Android Studio on my Windows10 system, and flutter doctor -v gives me all green check marks. However, the DART examples from pub.dev fail to compile with the error message that libraries must be added to the file 'pubspec.yaml'. Where is this file? As shown below, ...
I have successfully installed the Flutter plugin to Android Studio on my Windows10 system, and flutter doctor -v gives me all green check marks. However, the DART examples from pub.dev fail to compile with the error message that libraries must be added to the file 'pubspec.yaml'. Where is this file? As shown below, no ...
flutter|android-studio|dart|pubspec
0
2022-06-28T14:02:56.127Z
2,022
6
14
1
53
1
363
142
4
0
false
false
false
false
false
false
zero
72,787,991
Android USB Issue - Device Won't Transfer Information
<p>I have been trying to refactor this Android app's USB system. When the Android program is booted on the tablet, it works fine, but when there is a USB disruption/disconnection from the external device that delivers packets of information, once reconnected, it won't pick up where it left off. Is there something in th...
I have been trying to refactor this Android app's USB system. When the Android program is booted on the tablet, it works fine, but when there is a USB disruption/disconnection from the external device that delivers packets of information, once reconnected, it won't pick up where it left off. Is there something in the w...
android|android-asynctask|usb|usb-debugging|android-usb
0
2022-06-28T14:09:13.210Z
2,022
6
14
1
37
0
443
53
5
1
true
true
false
false
false
false
zero
72,788,026
How can I add space in the RecyclerView?
<p>I need to add some space to start of the first item and to end of the last item of RecyclerView, so they can scroll to edge of the screen (as they can't with RecyclerView's margin or padding)</p> <p>The problem is spacing between items should be different, so I can't just add this &quot;space&quot; to item layout. N...
I need to add some space to start of the first item and to end of the last item of RecyclerView, so they can scroll to edge of the screen (as they can't with RecyclerView's margin or padding) The problem is spacing between items should be different, so I can't just add this &quot;space&quot; to item layout. Now I'm try...
java|android
1
2022-06-28T14:11:36.193Z
2,022
6
14
1
42
2
802
40
2
1
true
false
false
false
false
false
low
72,788,096
Recyclerview not showing items Kotlin
<p>My App is just shows an Empty Screen and <code>RecyclerView</code> is not showing anything or is not working but there are no compile time or run time errors.</p> <p>It would be great help if I get an answer ... I have been making an app that uses a <code>RecyclerView</code> but it's not showing any thing..why conte...
My App is just shows an Empty Screen and RecyclerView is not showing anything or is not working but there are no compile time or run time errors. It would be great help if I get an answer ... I have been making an app that uses a RecyclerView but it's not showing any thing..why contents of the recycler view have not be...
android|kotlin|android-recyclerview|pagination
1
2022-06-28T14:15:35.873Z
2,022
6
14
1
56
1
414
37
4
1
true
false
false
false
false
false
low
72,788,156
Navigate To Dynamic Feature Module w/o Navigation Component?
<p>The app is legacy and uses intent for navigation and we don't have access to navigation component. Is there any other way to navigate to a dynamic feature module that doesn't require navigation component? I can't seem to find much documentation on it.</p>
The app is legacy and uses intent for navigation and we don't have access to navigation component. Is there any other way to navigate to a dynamic feature module that doesn't require navigation component? I can't seem to find much documentation on it.
android|navigation|dynamic-feature-module
0
2022-06-28T14:19:31.067Z
2,022
6
14
1
51
0
251
60
3
0
false
true
false
false
false
false
zero
72,788,207
Build android app on azure Pipelines error MSB4044: The "AndroidSignPackage" task was not given a value for the required parameter "KeyPass"
<p>I am creating a Pipelines to have the files to download on Android app, and as soon as I build with MSBuild it tells me error <code>error MSB4044: The &quot;AndroidSignPackage&quot; task was not given a value for the required parameter &quot;KeyPass&quot;.</code> because I didn't put the password of the Keypass in m...
I am creating a Pipelines to have the files to download on Android app, and as soon as I build with MSBuild it tells me error error MSB4044: The &quot;AndroidSignPackage&quot; task was not given a value for the required parameter &quot;KeyPass&quot;. because I didn't put the password of the Keypass in my csproj as it's...
android|azure-devops|azure-pipelines|maui
2
2022-06-28T14:22:28.100Z
2,022
6
14
1
151
0
457
140
4
2
true
true
false
false
false
false
low
72,788,255
how to remove startDestination when creating deepLink with NavDeepLinkBuilder?
<p>imagine I have navGraph like this with startDestination=&quot;@id/rootFragment&quot; :</p> <pre><code>&lt;navigation xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:id=&quot;@+id/nav_graph&quot; app:startDestination=&quot;@id/rootFragment&quot;&gt; &lt;fragment andro...
imagine I have navGraph like this with startDestination=&quot;@id/rootFragment&quot; : [CODE] and I want to create a Deeplink like this: [CODE] so I want to show FragmentA first and FragmentB next, and when the user hits the back button only show the FragmentA and not showing the startDestination(rootFragment). by defa...
android|android-notifications|deep-linking|android-architecture-navigation|android-deep-link
1
2022-06-28T14:25:16.643Z
2,022
6
14
1
98
0
458
78
5
2
true
true
false
false
false
false
low
72,788,324
Trying to build Listview but I can't add any method to the Expansion tile
<p>I have the following code to build a listview from local JSON file and it works perfectly fine. However, when I try to add a method such as <code>onTap: (){}</code> to the <code>ExpansionTile</code> in the <code>_buildList</code> Widget I got the following error</p> <blockquote> <p><code>Error: No named parameter wi...
I have the following code to build a listview from local JSON file and it works perfectly fine. However, when I try to add a method such as onTap: (){} to the ExpansionTile in the _buildList Widget I got the following error Error: No named parameter with the name 'onTap'. onTap: (){}, ^^^^^ /C:/src/flutter/packages/flu...
flutter|android-studio|dart|expandablelistview|expansion-tile
0
2022-06-28T14:28:37.363Z
2,022
6
14
1
45
1
582
73
5
1
true
false
false
false
false
false
zero
72,788,326
Ionic 6 : ion-datetime opens keyboard on mobile device
<p>I'm using the <code>ion-datetime</code> component from Ionic 6 with ionic/angular. The time-selector is opened, a pop-over is shown with two <code>ion-picker-internal</code> to select hour and minute. You can swipe up and down to select the desired value. If the currently selected value is tapped, the number keyboar...
I'm using the ion-datetime component from Ionic 6 with ionic/angular. The time-selector is opened, a pop-over is shown with two ion-picker-internal to select hour and minute. You can swipe up and down to select the desired value. If the currently selected value is tapped, the number keyboard is opened, which looks very...
android|ios|ionic-framework|mobile|ionic6
0
2022-06-28T14:28:44.787Z
2,022
6
14
1
182
1
977
54
5
1
true
false
false
false
false
false
zero
72,788,426
why navigate up not supporting to view pager (child fragments)
<p>I am trying to getting location details from other fragment by using navigateup to view pager fragments(child fragments) but its not redirecting to child fragment its redirecting to parent fragment.is it possible to navigating directly to child fragment?</p>
I am trying to getting location details from other fragment by using navigateup to view pager fragments(child fragments) but its not redirecting to child fragment its redirecting to parent fragment.is it possible to navigating directly to child fragment?
android
1
2022-06-28T14:34:57.167Z
2,022
6
14
1
13
0
254
62
1
0
false
true
false
false
false
false
low
72,788,429
Auto resize item with grid layout manager in recycler view
<p>Main target is to make grid layout like Google Meet or What'sapp group call</p> <p>If there is a single person it should occupy all the space</p> <p><a href="https://i.stack.imgur.com/K3dX9.png" rel="nofollow noreferrer">Single item getting all space</a></p> <p>All the items should be equally arranged and with equal...
Main target is to make grid layout like Google Meet or What'sapp group call If there is a single person it should occupy all the space Single item getting all space All the items should be equally arranged and with equal height and width and restrict item to move out of recycler view Auto resize image height and restri...
android|android-recyclerview|grid|gridlayoutmanager
0
2022-06-28T14:35:01.407Z
2,022
6
14
1
88
0
346
58
4
0
false
true
false
false
false
false
zero
72,788,478
SQL Delight FTS5 MATCH gives no results
<p>I have the following table:</p> <pre><code>CREATE TABLE IF NOT EXISTS &quot;note&quot; ( &quot;noteid&quot; INTEGER NOT NULL, &quot;title&quot; TEXT NOT NULL, &quot;description&quot; TEXT NOT NULL, PRIMARY KEY(&quot;noteid&quot;) ); </code></pre> <p>Then I execute:</p> <pre><code>CREATE VIRTUAL ...
I have the following table: [CODE] Then I execute: [CODE] Then: [CODE] On DB Browser [CODE] works perfectly. On my Android application the MATCH (or = , or NoteFts('note1') ) doesn't work for some reason. I'm pretty sure the code is executed in the same order as given above, but here are the specifics: I'm using 2.0.0-...
android|sqlite|android-sqlite|sqldelight
0
2022-06-28T14:37:38.880Z
2,022
6
14
1
45
1
1,028
39
4
4
true
false
false
false
false
false
zero
72,788,564
Android: Are there limitations to bundle?
<p>I've just checked the <a href="https://developer.android.com/reference/android/os/Bundle" rel="nofollow noreferrer">https://developer.android.com/reference/android/os/Bundle</a> and it looks like any variable can be passed using the bundle. I'm trying to apply this to any variable when I create a new intent - activi...
I've just checked the https://developer.android.com/reference/android/os/Bundle and it looks like any variable can be passed using the bundle. I'm trying to apply this to any variable when I create a new intent - activity. Is this correct or a common way? Let me know if my understanding is wrong.
android|android-intent|android-activity|bundle
0
2022-06-28T14:43:52.060Z
2,022
6
14
1
32
0
297
41
4
0
false
true
false
false
false
false
zero
72,788,577
Android app receiving INSTALL_FAILED_MISSING_SHARED_LIBRARY in emulator
<p>I have a custom app, developed by a third party, which uses com.symbol.emdk as an additional library for barcode label printing to a Zebra device. Using JetBrains Rider, I can compile, build, archive, and sign everything fine. Deployed to an actual device, everything works fine. If I try and run the app through the...
I have a custom app, developed by a third party, which uses com.symbol.emdk as an additional library for barcode label printing to a Zebra device. Using JetBrains Rider, I can compile, build, archive, and sign everything fine. Deployed to an actual device, everything works fine. If I try and run the app through the AVD...
android
1
2022-06-28T14:44:27.263Z
2,022
6
14
1
23
0
682
71
1
1
true
true
false
false
false
false
low
72,788,618
Debug Console: Error: ADB exited with exit code 1 Performing Streamed Install... F
<p>I am trying to run app on Android Emulator and it's saying that <strong>INSTALL_FAILED_INSUFFICIENT_STORAGE]</strong> but when I wipe data from AVD and restart VS Code and try again, sam error.. Sometimes I go <code>flutter clean</code> and <code>flutter pub get</code> and sometimes work but sometimes don't. I tried...
I am trying to run app on Android Emulator and it's saying that INSTALL_FAILED_INSUFFICIENT_STORAGE] but when I wipe data from AVD and restart VS Code and try again, sam error.. Sometimes I go flutter clean and flutter pub get and sometimes work but sometimes don't. I tried to do every solution that people posted previ...
android|flutter|macos|dart|visual-studio-code
2
2022-06-28T14:46:35.987Z
2,022
6
14
1
897
2
546
82
5
1
true
false
false
false
false
false
low
72,788,626
How to detect iOS device type Xamarin
<p>I want to detect first what is the platform and the I want to detect is whether it is a phone or tablet. I searched on the internet there are many examples to detect with screen size like height-width, but is there anything which can let what is the device type.</p> <pre><code>if(Device.RuntimePlatform == Device.iO...
I want to detect first what is the platform and the I want to detect is whether it is a phone or tablet. I searched on the internet there are many examples to detect with screen size like height-width, but is there anything which can let what is the device type. [CODE]
xamarin|xamarin.android|xamarin.ios
0
2022-06-28T14:47:04.910Z
2,022
6
14
1
65
1
269
37
3
1
true
false
false
false
false
false
zero
72,788,750
Zero-touch customer API - Terms of Service error (403 permission denied)
<p>we are trying to use Customer API according to the documentation: <a href="https://developers.google.com/zero-touch/reference/customer/rest/v1/customers" rel="nofollow noreferrer">https://developers.google.com/zero-touch/reference/customer/rest/v1/customers</a></p> <p>Method: customers.list works fine (GET <a href="...
we are trying to use Customer API according to the documentation: https://developers.google.com/zero-touch/reference/customer/rest/v1/customers Method: customers.list works fine (GET https://androiddeviceprovisioning.googleapis.com/v1/customers ) I am able to use Oauth2 authentication, get access token and use it for t...
asp.net-core-3.1|android-management-api|android-managed-profile
0
2022-06-28T14:55:44.837Z
2,022
6
14
1
40
0
757
72
3
1
true
true
false
false
false
false
zero
72,788,765
Dialog with multiple textview
<p>i need to add 5 text view in my code. For now there is only one and it is used to put a marker in google maps. I would like that in addition to this you could put another 4 data insertions like (description, age, work, hobbys).Below I also put the custom dialog I made can you check if it's okay? Feel free to ask for...
i need to add 5 text view in my code. For now there is only one and it is used to put a marker in google maps. I would like that in addition to this you could put another 4 data insertions like (description, age, work, hobbys).Below I also put the custom dialog I made can you check if it's okay? Feel free to ask for an...
java|android|xml
-1
2022-06-28T14:56:51.310Z
2,022
6
14
1
96
1
372
29
3
2
true
false
false
false
false
true
negative
72,788,784
Drag and drop cards to folders android
<p>Hii In my UI the above one is Card layout. And below is recycler view of folders.</p> <p>User Needs to drag card to bottom near by one folder. And then folder need to animate and come up.</p> <p>Then I have to copy the image to that folder.</p> <p>Then folder again need to reset to original position.</p> <p>Android ...
Hii In my UI the above one is Card layout. And below is recycler view of folders. User Needs to drag card to bottom near by one folder. And then folder need to animate and come up. Then I have to copy the image to that folder. Then folder again need to reset to original position. Android Kotlin can anybody help ?
android|kotlin|android-recyclerview|cardview
0
2022-06-28T14:57:44.483Z
2,022
6
14
1
15
0
314
38
4
0
false
true
false
false
false
false
zero
72,788,806
Unity Facebook SDK login error on Android when I have installed Facebook Native Apk
<p>I'm using Unity 2020.3.22f1 and Facebook SDK 8.1 When I have installed Facebook Native Apk, I have above error for login Facebook. <a href="https://i.stack.imgur.com/5pjrN.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5pjrN.jpg" alt="enter image description here" /></a> But when I uninstall Face...
I'm using Unity 2020.3.22f1 and Facebook SDK 8.1 When I have installed Facebook Native Apk, I have above error for login Facebook. But when I uninstall Facebook apk, it's working well. I want to solve this problem. Thanks.
android|facebook|unity3d
0
2022-06-28T14:59:11.947Z
2,022
6
14
1
53
0
222
83
3
0
false
true
false
false
false
false
zero
72,788,997
Why does scrolling not work correctly when using WindowCompat.setDecorFitsSystemWindows(window, false)?
<p>It looks like when I add</p> <pre><code>WindowCompat.setDecorFitsSystemWindows(window, false) </code></pre> <p>to my Android app, scrolling through the content on the screen while the keyboard is open is broken. It does not allow you to scroll to the last item on the screen. Here is the code I am using.</p> <pre><co...
It looks like when I add [CODE] to my Android app, scrolling through the content on the screen while the keyboard is open is broken. It does not allow you to scroll to the last item on the screen. Here is the code I am using. [CODE] [CODE] [CODE] Correct (I can scroll all the way down to 6 when the keyboard is open) Wr...
android|android-constraintlayout|android-scrollview|material-components-android
0
2022-06-28T15:10:26.297Z
2,022
6
15
1
81
1
442
103
4
4
true
false
false
false
false
false
zero
72,789,025
type 'List<ArcRendererElement<dynamic>>' is not a subtype of type
<p>How o solve this problem on terminal?</p> <blockquote> <p>type 'List&lt;ArcRendererElement&gt;' is not a subtype of type 'List&lt;ArcRendererElement&gt;?' in type cast</p> </blockquote> <p>I think is because the paychart settings, thats what i find on the internet but dont know what I have to chance in my code to so...
How o solve this problem on terminal? type 'List<ArcRendererElement>' is not a subtype of type 'List<ArcRendererElement>?' in type cast I think is because the paychart settings, thats what i find on the internet but dont know what I have to chance in my code to solve this issue I'm using flutter with android studio thi...
flutter|android-studio
0
2022-06-28T15:12:04.817Z
2,022
6
15
1
24
0
340
65
2
1
true
true
false
false
false
false
zero
72,789,103
ANDROID - Jetpack Compose: how to implement theme settings?
<p>I'm having hard times trying to implement a preference who switch the application theme.</p> <p>Normally I would be able to do it with XML but with Jetpack Compose I saw that the best practice is to use <code>DataStore</code> (<a href="https://developer.android.com/topic/libraries/architecture/datastore" rel="nofoll...
I'm having hard times trying to implement a preference who switch the application theme. Normally I would be able to do it with XML but with Jetpack Compose I saw that the best practice is to use DataStore ( https://developer.android.com/topic/libraries/architecture/datastore ) Someone please, can explain me from scrat...
android|kotlin|android-jetpack-compose
0
2022-06-28T15:16:15.923Z
2,022
6
15
1
158
1
442
59
3
0
false
false
false
false
false
false
zero
72,789,159
Why am I getting repeated responses from api call? I am sending an api request and get back same responses from the data in retrofit android
<p>I am using the pexels library to fetch the images using retrofit api in android.</p> <p>I am getting same images in every api call like retrofit is catching images and showing those images only.</p> <p>So, can anyone guide me how to solve this problem</p>
I am using the pexels library to fetch the images using retrofit api in android. I am getting same images in every api call like retrofit is catching images and showing those images only. So, can anyone guide me how to solve this problem
android|api|retrofit
0
2022-06-28T15:20:52.967Z
2,022
6
15
1
11
0
237
140
3
0
false
true
false
false
false
false
zero
72,789,203
Android Studio Dependency 'androidx.browser:browser:1.4.0' requires 'compileSdkVersion' to be set to 31 or higher
<p>currently my sdk version is 29. I've added firebase imports in gradle and it works fine for the database and firestore. But when I add the import for the firebase auth I get this error.</p> <pre><code>One or more issues found when checking AAR metadata values: </code></pre> <p>Dependency 'androidx.browser:browser:1....
currently my sdk version is 29. I've added firebase imports in gradle and it works fine for the database and firestore. But when I add the import for the firebase auth I get this error. [CODE] Dependency 'androidx.browser:browser:1.4.0' requires 'compileSdkVersion' to be set to 31 or higher. Compilation target for modu...
android|firebase|android-studio|firebase-authentication
0
2022-06-28T15:23:59.260Z
2,022
6
15
1
237
1
704
113
4
2
true
false
false
false
false
false
zero
72,789,330
images in android app not showing above android 8 mobile's
<p>I'm working on an android app, everything is completed and it's working fine in mobiles which have android 8 or below but above android 8, images are not showing, blank screen come up instead. my images in a Hashmap, and stored in server or if i use a google picture Url instead of my server, image showing properly,...
I'm working on an android app, everything is completed and it's working fine in mobiles which have android 8 or below but above android 8, images are not showing, blank screen come up instead. my images in a Hashmap, and stored in server or if i use a google picture Url instead of my server, image showing properly, ple...
android|image|imageview
0
2022-06-28T15:31:24.840Z
2,022
6
15
1
12
0
410
58
3
0
false
true
false
false
false
false
zero
72,789,343
Amplify not working in andorid studio terminal
<p>I have follwed every step to install amplify and created IAM user successfully. I am getting this error when I am typing <code>amplify init</code> in android studio terminal</p> <pre><code>amplify : The term 'amplify' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the sp...
I have follwed every step to install amplify and created IAM user successfully. I am getting this error when I am typing amplify init in android studio terminal [CODE]
android|amazon-web-services|aws-amplify|aws-amplify-cli
0
2022-06-28T15:32:01.697Z
2,022
6
15
1
32
0
167
46
4
1
true
true
false
false
false
false
zero
72,789,497
Changing the <application android:name=”${applicationName}”> attribute of a Flutter proyect (AndroidManifest.xml)
<p>The company where I work want to import devices from Tuya (An IoT devices provider). Tuya provides to their clients a native SDK to manage the devices. The company where I work is interested in using this SDK in a Flutter project.</p> <p>To integrate this SDK I need to do it natively in Java/Kotlin and Objective-C/S...
The company where I work want to import devices from Tuya (An IoT devices provider). Tuya provides to their clients a native SDK to manage the devices. The company where I work is interested in using this SDK in a Flutter project. To integrate this SDK I need to do it natively in Java/Kotlin and Objective-C/Swift insid...
java|android|flutter|android-manifest|flutter-dependencies
0
2022-06-28T15:42:05.210Z
2,022
6
15
1
127
1
807
113
5
3
true
false
false
false
false
false
zero
72,789,506
Copying folder with all subfolders and files from internal storage to user selected location using storage access framework
<p>I try to copy a folder with all its contents from an app-internal location (e.g. <code>context.getExternalFilesDir(Environment.DIRECTORY_MOVIES)</code>) to a user-selected location somewhere else (I don't know where, as the user selects the location). So technically I want to mimick <code>source.copyRecursively(targ...
I try to copy a folder with all its contents from an app-internal location (e.g. context.getExternalFilesDir(Environment.DIRECTORY_MOVIES) ) to a user-selected location somewhere else (I don't know where, as the user selects the location). So technically I want to mimick source.copyRecursively(targetDirectory) where th...
android
0
2022-06-28T15:43:16.317Z
2,022
6
15
1
17
0
819
123
1
4
true
true
false
false
false
false
zero
72,789,597
frida -U -n "packagename" is giving a failure to spawn frida, unable to find process with the name
<p>I am trying to connect with frida to a certain application and its gives me the following error:</p> <pre><code>Failed to spawn: unable to find process with the name &quot;com.androidpentesting.securestore&quot; </code></pre> <p>This happens after i write this command:</p> <pre><code>frida -U -n &quot;com.androidpe...
I am trying to connect with frida to a certain application and its gives me the following error: [CODE] This happens after i write this command: [CODE] Can somebody help me out? the application is installed and is running on the emulator same frida version on both sides
android|frida
1
2022-06-28T15:49:37.983Z
2,022
6
15
1
53
1
270
98
2
2
true
false
false
false
false
false
low
72,789,659
RecyclerView items are not showing on android device
<p>The recycler view items or rows per say would not show in the android device... I don't know where am I going wrong. I have checked in the database inspector that the database is working perfectly. Please help me, the following are the code snippets:</p> <p>MainActivity: public class MainActivity extends AppCompatAc...
The recycler view items or rows per say would not show in the android device... I don't know where am I going wrong. I have checked in the database inspector that the database is working perfectly. Please help me, the following are the code snippets: MainActivity: public class MainActivity extends AppCompatActivity imp...
java|xml|android-studio|android-recyclerview
0
2022-06-28T15:54:35.453Z
2,022
6
15
1
19
0
539
52
4
3
true
true
false
false
false
false
zero
72,789,732
Unity Interstitial Ads not showing in USA apps
<p>In my app &quot;Realistic cars 3d&quot; ads are playing after few minutes of interval i tested in my app from India it's working fine ads are showing. BUT my client from USA says after first ad, No ads are showing. Anyone know about this issue??</p>
In my app &quot;Realistic cars 3d&quot; ads are playing after few minutes of interval i tested in my app from India it's working fine ads are showing. BUT my client from USA says after first ad, No ads are showing. Anyone know about this issue??
android|unity3d|google-play-services|unityads
0
2022-06-28T15:59:49.500Z
2,022
6
15
1
41
0
245
46
4
0
false
true
false
false
false
false
zero
72,789,756
How can I add Google Admob banner ads below Navigation toolbar an in top in flutter?
<p>How can I add Google Admob banner ads below Navigation toolbar an in top like photo?</p> <p><img src="https://i.stack.imgur.com/QdAfm.png" alt="Screen shot of android screen with ads on the bottom of an app" /></p>
How can I add Google Admob banner ads below Navigation toolbar an in top like photo?
flutter|appbar|flutter-android|flutter-add-to-app
0
2022-06-28T16:01:16.757Z
2,022
6
16
1
157
0
84
84
4
0
false
true
false
false
false
false
zero
72,789,925
registerForActivityResult resultCode get 0 value
<p>I'm trying to use registerForActivityResult but the result of it is 0, which mean that it doesn't get the result from the activity. The code was working perfectly last month when i did it, but i don't know why it made the error today, i tried to check for error in the code, but i dont think there is one.</p> <p>Here...
I'm trying to use registerForActivityResult but the result of it is 0, which mean that it doesn't get the result from the activity. The code was working perfectly last month when i did it, but i don't know why it made the error today, i tried to check for error in the code, but i dont think there is one. Here is the fu...
android-studio|kotlin
1
2022-06-28T16:13:39.583Z
2,022
6
16
1
102
2
580
48
2
4
true
false
false
false
false
false
low
72,789,930
Android sometimes returns null when initializing tts on Samsung devices
<p>Sometimes returning null when initializing tts But it only happens on Samsung devices I also added the following to the manifest, but the result is the same</p> <p>Can't catch error even with try catch</p> <p>Do you have any way to solve this problem? compileSdkVersion and targetSdkVersion are 30</p> <pre><code>&lt;...
Sometimes returning null when initializing tts But it only happens on Samsung devices I also added the following to the manifest, but the result is the same Can't catch error even with try catch Do you have any way to solve this problem? compileSdkVersion and targetSdkVersion are 30 [CODE] [CODE] [CODE]
android
1
2022-06-28T16:13:54.417Z
2,022
6
16
1
19
0
304
71
1
3
true
true
false
false
false
false
low
72,790,087
java.lang.RuntimeException: Unable to instantiate application android.hardware.bluetooth on path: DexPathList
<p>I want to use Ionic 4 to compile a Android 12 app.</p> <p>When I compile my ionic v4 project with JDK8 + SDK Level 27.0.3 for Android &lt;= 10 <strong>and it works.</strong></p> <p>But for Android 12 I need to use SDK level 31.0.0 + JDK 11 + Gradle 7.* <strong>and it crashes</strong></p> <p>After the update when I o...
I want to use Ionic 4 to compile a Android 12 app. When I compile my ionic v4 project with JDK8 + SDK Level 27.0.3 for Android <= 10 and it works. But for Android 12 I need to use SDK level 31.0.0 + JDK 11 + Gradle 7.* and it crashes After the update when I open my app I see the splash screen for half a second then it ...
java|android|cordova|ionic-framework|ionic4
0
2022-06-28T16:25:59.477Z
2,022
6
16
1
63
1
556
109
5
3
true
false
false
false
false
false
zero
72,790,095
ListView won't scroll in Flutter
<p>I try to create a scrollable ListView, but for somes reasons it's not working.</p> <p>My goal: create a ListView connected to Firebase. My ListView gather well datas, but scoll is impossible.</p> <p>The body of my Scaffold:</p> <pre class="lang-dart prettyprint-override"><code>body: const SingleChildScrollView( ch...
I try to create a scrollable ListView, but for somes reasons it's not working. My goal: create a ListView connected to Firebase. My ListView gather well datas, but scoll is impossible. The body of my Scaffold: [CODE] My widget: [CODE] Let me know if you need more informations.
android|flutter|dart|listview|scroll
1
2022-06-28T16:26:27.450Z
2,022
6
16
1
46
4
277
32
5
2
true
false
false
false
false
false
low
72,790,169
How to fix, I'm trying to make image appear underneath status bar;
<p>Status Bar currently translucent but image not showing underneath , I try adding fitSystemWindow attr to root view but it's not working!</p> <p>This is my xml layout code</p> <pre><code>&lt;androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xm...
Status Bar currently translucent but image not showing underneath , I try adding fitSystemWindow attr to root view but it's not working! This is my xml layout code [CODE] Currently this is what the view looks like but image don't overlaps status bar. Phone used for testing is dot notch, is it most likely the problem im...
java|android|android-layout|statusbar|transparent
0
2022-06-28T16:32:03.713Z
2,022
6
16
1
31
0
503
66
5
1
true
true
false
false
false
false
zero
72,790,254
How to connect to API by OAuth2
<p>I have a task in which I have to create a mobile application in Java. In this app I will connect to the API using OAuth2 authorization and get some information about products. I have shared login, password, clientID and clientsecretID. Could someone help me connect the application to the API?</p>
I have a task in which I have to create a mobile application in Java. In this app I will connect to the API using OAuth2 authorization and get some information about products. I have shared login, password, clientID and clientsecretID. Could someone help me connect the application to the API?
java|android|api
0
2022-06-28T16:39:29.127Z
2,022
6
16
1
21
0
293
31
3
0
false
true
false
false
false
false
zero
72,790,310
Writing from firebase realtime database to List
<p>I am having trouble adding values from my Firebase Realtime Database to a List. The values are being retrieved properly, and can be printed, however- I am unable to add these values to a list. What am I doing wrong?</p> <pre><code>@Override public void onDataChange(DataSnapshot dataSnapshot) { ...
I am having trouble adding values from my Firebase Realtime Database to a List. The values are being retrieved properly, and can be printed, however- I am unable to add these values to a list. What am I doing wrong? [CODE] I'm attempting to use the values within the two arrays on a pie chart, however, upon running the ...
android|firebase|android-studio|firebase-realtime-database
0
2022-06-28T16:43:51.523Z
2,022
6
16
1
33
0
397
47
4
1
true
true
false
false
false
false
zero
72,790,459
ViewActions.swipeUp() Doesn't work on Android 12
<p>Noticed that one of my espresso android test failing where we perform <code>ViewActions.swipeUp()</code> on webview or NestedScrollView. I didn't find any documentation specific to this, would be great if someone can highlight if something got changed in android 12 or so ?</p> <p>Note - Above does work fine on andro...
Noticed that one of my espresso android test failing where we perform ViewActions.swipeUp() on webview or NestedScrollView. I didn't find any documentation specific to this, would be great if someone can highlight if something got changed in android 12 or so ? Note - Above does work fine on android 11.
android|android-webview|android-espresso|android-testing|android-12
1
2022-06-28T16:54:49.190Z
2,022
6
16
1
48
0
303
48
5
0
false
true
false
false
false
false
low
72,790,563
Updating the GPS position of a device in an Android app
<p>I have a tiny Android app written in kotlin, it gets the location of the device. All the code is below. I am following this document <a href="https://developer.android.com/training/location/request-updates" rel="nofollow noreferrer">https://developer.android.com/training/location/request-updates</a> in order to impl...
I have a tiny Android app written in kotlin, it gets the location of the device. All the code is below. I am following this document https://developer.android.com/training/location/request-updates in order to implement updating the GPS position. But I only get the lastLocation once. [CODE] When I add the block of code:...
android|kotlin|geolocation|google-play-services|android-gps
0
2022-06-28T17:03:25.653Z
2,022
6
17
1
137
1
360
55
5
3
true
false
false
false
false
false
zero
72,790,608
Why the color of System BottomNavigation changes to black when i open bottomsheet?
<p>I have set the background color of system bottomNavigation using:</p> <pre><code>if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP){ getWindow().setNavigationBarColor(getResources().getColor(R.color.navcolor)); } </code></pre> <p>Which is working properly !!!</p> <p>But the problem is when i open a c...
I have set the background color of system bottomNavigation using: [CODE] Which is working properly !!! But the problem is when i open a custom bottomsheet, the background color of bottomNavigation gets changed to black. Code to show bottomsheet: [CODE] BottomNavigation when bottomsheet is closed: BottomNavigation when ...
java|android|xml|android-studio|android-layout
0
2022-06-28T17:07:48.577Z
2,022
6
17
1
45
1
362
82
5
2
true
false
false
false
false
false
zero
72,790,667
How to open a pdf using android_intent_plus in flutter?
<p>I have a .pdf on download android folder, and I want to open it with flutter.</p> <p>I tried:</p> <pre><code>final AndroidIntent intent = AndroidIntent( action: 'android.os.Intent.ACTION_VIEW', //android.os.Intent.ACTION_VIEW action_view data: Uri.encodeFull(&quot;/storage/emulat...
I have a .pdf on download android folder, and I want to open it with flutter. I tried: [CODE] But I get the following error: [CODE] Do I need an extra permission? provider? anything else? Any suggestions? Thankss <3
android|flutter|file|pdf|android-intent
0
2022-06-28T17:13:22.737Z
2,022
6
17
1
161
1
215
55
5
2
true
false
false
false
false
false
zero
72,790,779
How to sign aab bundle with new upload key (without key password)
<p>Recently, we had to register a new upload key on our app in the google play store (internal track), though the setup seems a little different from our previous approach that requested a password on the key alias when creating a key using keytool on <code>.jks</code> format</p> <p>We originally stored the <code>store...
Recently, we had to register a new upload key on our app in the google play store (internal track), though the setup seems a little different from our previous approach that requested a password on the key alias when creating a key using keytool on .jks format We originally stored the storeFile & storePassword along wi...
android|google-play|google-play-console|fastlane|android-app-signing
2
2022-06-28T17:23:44.670Z
2,022
6
17
1
132
0
1,020
65
5
2
true
true
false
false
false
false
low
72,790,822
groovy.lang.MissingPropertyException: Could not set unknown property 'useIR' for object of type org.jetbrains.kotlin.gradle.dsl.KotlinJvmOptionsImpl
<p>i cloned kickstarter from github &amp; facing this error</p> <pre><code> kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() useIR = true } </code></pre> <p>i have tried rebuilding , cleaning project but cant resolve this issue &amp; there are no similar issues i found out there</p> <pre><code>A pr...
i cloned kickstarter from github & facing this error [CODE] i have tried rebuilding , cleaning project but cant resolve this issue & there are no similar issues i found out there [CODE] Could not set unknown property 'useIR' for object of type org.jetbrains.kotlin.gradle.dsl.KotlinJvmOption [CODE] i am not sure if this...
java|android|kotlin|github|build.gradle
3
2022-06-28T17:27:23.263Z
2,022
6
17
1
1,047
2
412
148
5
3
true
false
false
false
false
false
low
72,790,855
Constraint layout doesnt wrap complete content after nesting another constraint layout into it
<p>I am creating a simple scroll view and embedding constraint layout into it and set the height to wrap content. It worked fine until i nested another constraint layout into it . Now it does not expand more when i add more views and these views just disappear . The image attached gives the description of this case. <a...
I am creating a simple scroll view and embedding constraint layout into it and set the height to wrap content. It worked fine until i nested another constraint layout into it . Now it does not expand more when i add more views and these views just disappear . The image attached gives the description of this case. enter...
xml|android-studio|android-layout|mobile-application
0
2022-06-28T17:30:57.300Z
2,022
6
17
1
16
0
343
94
4
0
false
true
false
false
false
false
zero
72,790,952
how to handle focus same item when hardware back button click in react native for android Tv app
<p>I am working Android TV App using React Native. i am stuck in focus problem. I have a problem where the focus when returning back to a screen always goes to the first touchable component and not to the component which triggered the showing of second screen. help me ?</p>
I am working Android TV App using React Native. i am stuck in focus problem. I have a problem where the focus when returning back to a screen always goes to the first touchable component and not to the component which triggered the showing of second screen. help me ?
reactjs|react-native|android-tv
0
2022-06-28T17:40:53.600Z
2,022
6
17
1
183
1
267
96
3
0
false
false
false
false
false
false
zero
72,790,993
Upgrading google-services gives me "No matching client found" error
<p>When I am upgrading my project from</p> <pre><code>classpath 'com.google.gms:google-services:4.3.10' </code></pre> <p>to</p> <pre><code>classpath 'com.google.gms:google-services:4.3.12' </code></pre> <p>it is giving me error &quot;No matching client found for package name ....&quot;</p> <p>My project has lots of fla...
When I am upgrading my project from [CODE] to [CODE] it is giving me error &quot;No matching client found for package name ....&quot; My project has lots of flavors, and also, it is a library project, if this helps. Can you tell me the fix?
android|gradle|upgrade
0
2022-06-28T17:44:00.143Z
2,022
6
17
1
48
1
240
67
3
2
true
false
false
false
false
false
zero
72,791,059
ReferenceError: Can't find variable: Intl when try react-calendar
<p>I try to add a calendar to react mobile app using react-cli. I installed by <code>yarn add react-calendar</code> and launched the app. Then app stops and this error comes:</p> <pre><code>ERROR ReferenceError: Can't find variable: Intl This error is located at: in Day (created by TileGroup) in div (created b...
I try to add a calendar to react mobile app using react-cli. I installed by yarn add react-calendar and launched the app. Then app stops and this error comes: [CODE] Package.json dependencies are as follows: [CODE] Any help is appreciated.
android|react-native|react-calendar
0
2022-06-28T17:50:36.733Z
2,022
6
17
1
75
1
239
65
3
2
true
false
false
false
false
false
zero
72,791,106
MockK Kotlin: Verification failed: call 1 of 1: was not called
<p>I'm trying to essentially test whether a specific method in my class calls a different method properly. I'll remove all unneeded code, so basically my code is as follows:</p> <pre><code>public class Monitor { protected void onMessage(String message) { Log.d(TAG, &quot;Detected the message&quot;) changeO...
I'm trying to essentially test whether a specific method in my class calls a different method properly. I'll remove all unneeded code, so basically my code is as follows: [CODE] [CODE] However, with this code I get the following error: [CODE] Is there any advice on this? Note: I KNOW the changeOptions() method is being...
java|android|kotlin|mocking
0
2022-06-28T17:54:33.790Z
2,022
6
17
1
190
1
376
62
4
4
true
false
false
false
false
false
zero
72,791,158
error when trying to change APP language in some device
<p>good afternoon I'm trying to force my application to run in es-MX language through the following code, in mainActivity</p> <pre><code> protected override void OnResume() { base.OnResume(); try { var userSelectedCulture = new CultureInfo(&quot;es-MX&quot;); Thread...
good afternoon I'm trying to force my application to run in es-MX language through the following code, in mainActivity [CODE] oncreate [CODE] the code works on some devices but on others, it generates this error System.Reflection.TargetInvocationException: * 'Exception has been thrown by the target of an invocation.' C...
xamarin|xamarin.forms|xamarin.android|cultureinfo
0
2022-06-28T17:58:52.763Z
2,022
6
17
1
37
0
356
55
4
2
true
true
false
false
false
false
zero
72,791,162
cannot scroll vertically in viewpager
<p>In my app I use <code>AppBarLayout</code> inside <code>coordinatorlayout</code>. There should be two tabs hosting two fragments and the <code>viewpager</code> fill out the rest of the page. However, I cannot vertically scroll down the viewpager. I don't know if the problem lies within the fragment layout or the acti...
In my app I use AppBarLayout inside coordinatorlayout . There should be two tabs hosting two fragments and the viewpager fill out the rest of the page. However, I cannot vertically scroll down the viewpager. I don't know if the problem lies within the fragment layout or the activity layout, so I post both of them down ...
android-viewpager|fragment
0
2022-06-28T17:59:03.997Z
2,022
6
17
1
13
0
559
37
2
2
true
true
false
false
false
false
zero
72,791,164
Android - Implement exoplayer without JCenter
<p>I have an Android project that uses version 3 of JWPlayer which in turn uses Exoplayer. The problem is that now we get a message saying that JCenter() has been deprecate and makes it incompatible with Gradle 8.0. When we remove JCenter() and build, we now get the following errors:</p> <pre><code>Failed to resolve: c...
I have an Android project that uses version 3 of JWPlayer which in turn uses Exoplayer. The problem is that now we get a message saying that JCenter() has been deprecate and makes it incompatible with Gradle 8.0. When we remove JCenter() and build, we now get the following errors: [CODE] We got a similar error for Voll...
android|exoplayer|jcenter
1
2022-06-28T17:59:18.637Z
2,022
6
17
1
67
1
696
45
3
3
true
false
false
false
false
false
low
72,791,273
Sticky Headers with paging 3 jetpack compose
<p>I am trying to implement sticky headers as shown in the example <a href="https://developer.android.com/jetpack/compose/lists#sticky-headers" rel="nofollow noreferrer">here</a>, with <a href="https://developer.android.com/jetpack/compose/lists#large-datasets" rel="nofollow noreferrer">paging</a> using Jetpack compose...
I am trying to implement sticky headers as shown in the example here , with paging using Jetpack compose LazyColumn as shown bellow : [CODE] but I get requests from back-end with only 2 pages as I am using code like : [CODE] the problem is I have 7 more pages, but they are not loaded when I reach the bottom position of...
android|pagination|android-jetpack-compose|clean-architecture
0
2022-06-28T18:08:50.697Z
2,022
6
18
1
192
1
750
44
4
2
true
false
false
false
false
false
zero
72,791,311
EAS building got Strange
<p>I build an apk using EAS to test my app with my android phone. Strangely, when i used the <code>expo build:android -t apk</code>, my app was a little bit heavier (around 68 Mo) but it's work fine like when i test it on Expo Go App. But, after using eas-cli with this command <code>eas build -p android --profile previ...
I build an apk using EAS to test my app with my android phone. Strangely, when i used the expo build:android -t apk , my app was a little bit heavier (around 68 Mo) but it's work fine like when i test it on Expo Go App. But, after using eas-cli with this command eas build -p android --profile preview , my apk file was ...
android|react-native|expo|apk|eas
0
2022-06-28T18:12:30.973Z
2,022
6
18
1
40
0
577
24
5
1
true
true
false
false
false
false
zero
72,791,392
How to remove underline in hyperlink
<p>I have a TextView on my 'settings' activity:</p> <pre><code> &lt;TextView android:id=&quot;@+id/review&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:layout_gravity=&quot;center&quot; android:background=&quot;#FFFF...
I have a TextView on my 'settings' activity: [CODE] I have defined my URL on the string. [CODE] On my settings.kt page I have the following code onCreate: [CODE] From what I have found, I need to add a 'spannable' in relation to the above (settings.kt) but I'm not sure how to apply it, as everyone adds hyperlinks diffe...
java|android|kotlin
-1
2022-06-28T18:20:03.487Z
2,022
6
18
1
50
1
327
36
3
3
true
false
false
false
false
true
negative
72,791,414
Is it ok to use companion object to save bundle for fragments?
<p>I have a fragment with loaded via network data, after that user can go to another fragment, and after return he won't see same data in the fragment. Data is currently passed using arguments bundle.</p> <p>Without storing in companion object, I will need to always keep bundle with every opened fragment to pass it whe...
I have a fragment with loaded via network data, after that user can go to another fragment, and after return he won't see same data in the fragment. Data is currently passed using arguments bundle. Without storing in companion object, I will need to always keep bundle with every opened fragment to pass it when I need t...
android|android-fragments
0
2022-06-28T18:21:52.667Z
2,022
6
18
1
19
1
416
62
2
0
false
false
false
false
false
false
zero
72,791,496
Error to cast documentSnapshot to Hashmap
<pre><code>Java.lang.ClassCastException: java.util.HashMap cannot be cast to com.kornerz.kornerz.Communities </code></pre> <p>I'm trying to convert the data that comes from firebase to a list, in order to list a recyclerview It turns out that when I try to pull this data to the communites class to supply the recyclervi...
[CODE] I'm trying to convert the data that comes from firebase to a list, in order to list a recyclerview It turns out that when I try to pull this data to the communites class to supply the recyclerview, the conversion gives an error. My Collection it's like this This is the class Communities.Java [CODE] this is part ...
java|android|firebase|google-cloud-firestore
0
2022-06-28T18:28:32.937Z
2,022
6
18
1
32
1
377
41
4
3
true
false
false
false
false
false
zero
72,791,853
How to get the frame rate in android exoplayer programmatically?
<p>I want to get the live stream frame rate using android exoplayer programmatically. I did try following code to get the frame rate.</p> <pre><code> exo_player.addAnalyticsListener(new AnalyticsListener() { @Override public void onTracksChanged(EventTime eventTime, TrackGroupArray trackGroups, Tr...
I want to get the live stream frame rate using android exoplayer programmatically. I did try following code to get the frame rate. [CODE] but in my code, i can get -1. this is wrong. Is there a way to get the video frame in exoplayer programmatically?
java|android|ffmpeg|exoplayer
0
2022-06-28T18:58:29.837Z
2,022
6
18
1
160
1
251
64
4
1
true
false
false
false
false
false
zero
72,791,875
Problems with a Kotlin Android app connected to Firebase due to the Recyclerview
<p>I'm working on an Android app that lets you add consoles and games, serving as a library for games, that must be finished before Friday and after adding a new console, or even before, the Recyclerview in activity_dashboard_admin.xml shows the cardview and the delete icon but not element from the database in Firebase...
I'm working on an Android app that lets you add consoles and games, serving as a library for games, that must be finished before Friday and after adding a new console, or even before, the Recyclerview in activity_dashboard_admin.xml shows the cardview and the delete icon but not element from the database in Firebase. I...
android|firebase|kotlin
0
2022-06-28T19:01:02.267Z
2,022
6
19
1
52
1
778
80
3
0
false
false
false
false
false
false
zero
72,791,879
Having difficulty understanding layoutinflater Android Studio (Kotlin)
<p>I am aware of a post that was made before this pertaining to the same topic, however it was in java.</p> <pre><code>override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ItemViewHolder { // create a new view val adapterLayout = LayoutInflater.from(parent.context) .inflate(R.layout.list_i...
I am aware of a post that was made before this pertaining to the same topic, however it was in java. [CODE] This was the definition the docs gave me, &quot;Instantiates a layout XML file into its corresponding android.view.View objects.&quot; What does this mean? Then there is the inflate method which the docs state &q...
android|kotlin
-1
2022-06-28T19:01:15.223Z
2,022
6
19
1
29
1
481
70
2
1
true
false
false
false
false
true
negative
72,791,921
One Signal GmsLocationController ANR (App Not Responding) issue on Android
<p>I have an Android application on Google Play Store and I integrated firebase crashlytics to the project. Recently some of my users had an ANR issue which is:</p> <pre><code>androidx.work-1 (waiting) tid=80 systid=9068 Root blocking sun.misc.Unsafe.park (Native method) com.google.android.gms.internal.location.zzz.re...
I have an Android application on Google Play Store and I integrated firebase crashlytics to the project. Recently some of my users had an ANR issue which is: [CODE] I am currently using 'com.onesignal:OneSignal:4.7.2' as the one signal library and'com.google.android.gms:play-services-location:20.0.0' as the gms locatio...
java|android|performance|kotlin|android-anr-dialog
0
2022-06-28T19:04:49.830Z
2,022
6
19
1
26
0
606
74
5
1
true
true
false
false
false
false
zero
72,791,965
Type io.invertase.firebase.BuildConfig is defined multiple times
<p>I am trying to build a react native application in VSCode. I am getting the following error when I try to build the app. I keep getting the following issue while getting the build complete. I tried to change the firebase version and Gradle updates but did not work.</p> <pre><code>FAILURE: Build failed with an except...
I am trying to build a react native application in VSCode. I am getting the following error when I try to build the app. I keep getting the following issue while getting the build complete. I tried to change the firebase version and Gradle updates but did not work. [CODE] `app/build.gradle` looks as follows [CODE] pack...
java|android|firebase|react-native|build
1
2022-06-28T19:08:20.837Z
2,022
6
19
1
275
2
346
64
5
3
true
false
false
false
false
false
low
72,791,966
Interprocess communication in Flutter
<p>I'm planning an app where I need to communicate potentionally between multiple apps. Is there a best practice or plugin which allows communication between flutter apps no matter of the target platform?</p> <p>I want that data exchange on all supported platforms (Android, iOS, MacOS, web and Windows), but of cause on...
I'm planning an app where I need to communicate potentionally between multiple apps. Is there a best practice or plugin which allows communication between flutter apps no matter of the target platform? I want that data exchange on all supported platforms (Android, iOS, MacOS, web and Windows), but of cause on the same ...
android|ios|flutter|web|desktop
0
2022-06-28T19:08:33.547Z
2,022
6
19
1
57
0
543
37
5
0
false
true
false
false
false
false
zero
72,792,216
How to make LinearLayout clickable?
<p>I am a beginner on Android Studio. I would like to make my LinearLayout clickable, I have been trying this since yesterday but I still can not fix it. Below the onClick method for my layout in MainActivity class. It does not work at all, I tried everything you could imagine. <a href="https://i.stack.imgur.com/5iSL0....
I am a beginner on Android Studio. I would like to make my LinearLayout clickable, I have been trying this since yesterday but I still can not fix it. Below the onClick method for my layout in MainActivity class. It does not work at all, I tried everything you could imagine. Below the layout.
java|android|android-studio
0
2022-06-28T19:34:43.173Z
2,022
6
19
1
64
0
293
35
3
0
false
true
false
false
false
false
zero
72,792,233
Android - onClick function doesn't work in fragments
<p>i have a fragment in my quiz app and it has 4 buttons with onClick function &quot; checkAnswer&quot; like below,</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:tools=&quot;http://schemas.a...
i have a fragment in my quiz app and it has 4 buttons with onClick function &quot; checkAnswer&quot; like below, [CODE] In activity it is okay to define the onClick func like fun checkAnswer(view : View){} But when i want to try it in a fragment, it doesn't work. I get an error: java.lang.IllegalStateException: Could n...
android|kotlin
0
2022-06-28T19:36:13.280Z
2,022
6
19
1
30
0
588
52
2
2
true
true
false
false
false
false
zero
72,792,268
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.loginpanel2/com.example.loginpanel2.MainActivity}:
<p><a href="https://i.stack.imgur.com/z3nxH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z3nxH.png" alt="enter image description here" /></a></p> <p>When I run my application, I get an &quot;Application Stopped&quot; error.</p>
When I run my application, I get an &quot;Application Stopped&quot; error.
android|android-studio|kotlin
0
2022-06-28T19:39:17.490Z
2,022
6
19
1
122
1
74
129
3
0
false
false
false
false
false
false
zero
72,792,514
Android emulator not being able to interact with local rest APIs?
<p>So, is there some kind of setup to be made if you want to have a rest API working in the android emulator? To be mentioned is that my emulator has access to the internet and can access links on chrome and web test browser(I'm working in visual studio and trying to develop an asp.net web rest API) So far I tried a bu...
So, is there some kind of setup to be made if you want to have a rest API working in the android emulator? To be mentioned is that my emulator has access to the internet and can access links on chrome and web test browser(I'm working in visual studio and trying to develop an asp.net web rest API) So far I tried a bunch...
android|asp.net|api|rest|android-emulator
0
2022-06-28T20:03:05.303Z
2,022
6
20
1
234
1
804
65
5
0
false
false
false
false
false
false
zero
72,792,651
Can't delete an item from list view and the SQLLITE database that have custom adapter
<p>Main activity:</p> <pre><code> protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); addButton = findViewById(R.id.addButton); calendar = findViewById(R.id.calendarButton); balance = findViewById(R....
Main activity: [CODE] deleteOne method from databaseHelper class: [CODE] The main activity and the list view where I'm going to delete from : https://i.stack.imgur.com/pJd1J.png
java|android|database|sqlite|listview
0
2022-06-28T20:15:35.457Z
2,022
6
20
1
24
0
177
85
5
2
true
true
false
false
false
false
zero
72,792,675
How to force Talkback to speak a specific word when a fragment/activity is shown using Jetpack Compose?
<p>I would like to provide a specific string to Talkback to speak a specific word when a fragment/activity is shown. I noticed Talkback selects the first UI from top/left to bottom/right to focus however I'd like to force Talkback to speak the title of the screen (there are case there is no UI for screen title but I th...
I would like to provide a specific string to Talkback to speak a specific word when a fragment/activity is shown. I noticed Talkback selects the first UI from top/left to bottom/right to focus however I'd like to force Talkback to speak the title of the screen (there are case there is no UI for screen title but I thoug...
android|accessibility|android-jetpack-compose
0
2022-06-28T20:17:55.663Z
2,022
6
20
1
52
0
474
103
3
0
false
true
false
false
false
false
zero
72,792,692
react-native-scoped-storage not working in react native
<p>I am new in react native can you guide me in that issue? I am creating a react native app in which I want to get photos from folder which works fine till android 10 but in android 11 I am unable to get data from my phone. previously I get permission like that</p> <pre><code>const granted = await PermissionsAndroid.r...
I am new in react native can you guide me in that issue? I am creating a react native app in which I want to get photos from folder which works fine till android 10 but in android 11 I am unable to get data from my phone. previously I get permission like that [CODE] I saw some tutorials regarding manage_external_storag...
react-native|android-permissions
0
2022-06-28T20:19:45.787Z
2,022
6
20
1
40
0
637
55
2
2
true
true
false
false
false
false
zero
72,792,964
Could I revert a paid feature to a free feature after implement in-app purchase on Play or AppStore?
<p>We are going to implement in-app purchases for some features into our app. However, it's a business hypothesis and we could be wrong. If users don't pay for the features, we planning update the app and turn these features free. Is that possible? Could I revert a paid feature to a free feature after implementing in-a...
We are going to implement in-app purchases for some features into our app. However, it's a business hypothesis and we could be wrong. If users don't pay for the features, we planning update the app and turn these features free. Is that possible? Could I revert a paid feature to a free feature after implementing in-app ...
android|ios|mobile|in-app-purchase|payment
0
2022-06-28T20:46:03.073Z
2,022
6
20
1
20
0
349
100
5
0
false
true
false
false
false
false
zero
72,792,992
Change Android Tv remote settings programmatically
<p>I am working on android single mode application in which i want to change android tv remote settings buttons to app settings<br /> How can i acheive that?i already read the documentation about D-pad and i also tried to get settings key but nothing is working.</p>
I am working on android single mode application in which i want to change android tv remote settings buttons to app settings How can i acheive that?i already read the documentation about D-pad and i also tried to get settings key but nothing is working.
java|android|android-studio|kiosk-mode|d-pad
0
2022-06-28T20:48:21.847Z
2,022
6
20
1
28
0
253
50
5
0
false
true
false
false
false
false
zero
72,793,015
How to send push notification from web application to mobile app
<p>I have a web application implemented with HTML, php, javascript and a mobile application implemented for Android (Android studio).</p> <p>I want to achieve the following: when the user clicks on the button (from web site) a push notification is sent to Android users.</p> <p>Does anyone know how I can do this?</p>
I have a web application implemented with HTML, php, javascript and a mobile application implemented for Android (Android studio). I want to achieve the following: when the user clicks on the button (from web site) a push notification is sent to Android users. Does anyone know how I can do this?
android|push-notification
0
2022-06-28T20:50:49.547Z
2,022
6
20
1
30
0
296
64
2
0
false
true
false
false
false
false
zero
72,793,165
How to fill the second progress bar after the first one is done?
<p>I have a problem with the progress bar, I have created several progress bars and I want to fill the first one with a specific time interval then after it done the second one start filling, I've done the first one like this</p> <pre><code>final ProgressBar pb_first = findViewById(R.id.Progressbar_first); * ...
I have a problem with the progress bar, I have created several progress bars and I want to fill the first one with a specific time interval then after it done the second one start filling, I've done the first one like this [CODE] but when I try to make the second one inside the else statement it won't work, I even trie...
java|android|xml|android-studio
0
2022-06-28T21:09:02.700Z
2,022
6
21
1
22
0
553
64
4
1
true
true
false
false
false
false
zero
72,793,178
Laravel redirect issue for android(kodular)
<p>I'm building the mobile application of my laravel project for the profile part <code>&lt;a href=&quot;{{ url('profile/@'.Auth::user()-&gt;name) }}&quot; class=&quot;dropdown-item&quot;&gt;{{ __('main.nav_profile') }}&lt;/a&gt;</code> This is how I do the redirect. But android button redirect asks for URL and so redi...
I'm building the mobile application of my laravel project for the profile part <a href=&quot;{{ url('profile/@'.Auth::user()->name) }}&quot; class=&quot;dropdown-item&quot;>{{ __('main.nav_profile') }}</a> This is how I do the redirect. But android button redirect asks for URL and so redirection fails. How can I solve ...
php|android|laravel|redirect|laravel-8
0
2022-06-28T21:10:15.043Z
2,022
6
21
1
17
0
469
43
5
1
true
true
false
false
false
false
zero
72,793,261
contentResolver.query error on Android 10
<p>I launched my app on the PlayStore. And I see in my developer console that a device runing Android 10 has an error. The log is the following:</p> <p><a href="https://i.stack.imgur.com/6Q73o.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Q73o.jpg" alt="Error Log" /></a></p> <p>The error occurs in...
I launched my app on the PlayStore. And I see in my developer console that a device runing Android 10 has an error. The log is the following: The error occurs in the contentResolver.query line of my prepare() method: [CODE] I ask for the READ_EXTERNAL_STORAGE permission in my play() method. I tried to reproduce the err...
java|android|android-contentresolver
0
2022-06-28T21:19:20.663Z
2,022
6
21
1
86
0
709
41
3
1
true
true
false
false
false
false
zero
72,793,300
Android - List View `CHOICE_MODE_SINGLE` not working
<p>Thanks in advance to resolve this issue with android list view. This is the row of the list view adapter.</p> <pre><code>&lt;LinearLayout android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot; android:padding=&quot;5dp&quot; android:weightSum=&quo...
Thanks in advance to resolve this issue with android list view. This is the row of the list view adapter. [CODE] And I have added the list view in fragment layout [CODE] And also in my fragment I have set the mStudentListView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); to disable the multiple selection of the list view...
java|android|checkbox|android-listview|listview-adapter
0
2022-06-28T21:22:40.803Z
2,022
6
21
1
11
0
351
52
5
2
true
true
false
false
false
false
zero
72,793,305
Android app slow to start (6s to 10s in cold start)
<p>What really kills me, I did changes and changes over again(from layouts ...) to fight against this, what's really strange my app does not do heavy stuff(minimum functionality).</p> <p>I use 7 fragments, and FragmentContainerView , the default fragment contains just buttons to navigate to other fragments and adview</...
What really kills me, I did changes and changes over again(from layouts ...) to fight against this, what's really strange my app does not do heavy stuff(minimum functionality). I use 7 fragments, and FragmentContainerView , the default fragment contains just buttons to navigate to other fragments and adview I cleared f...
android|kotlin|cold-start
0
2022-06-28T21:23:49.123Z
2,022
6
21
1
44
1
480
51
3
2
true
false
false
false
false
false
zero
72,793,496
Change return type to 'T' errror
<p>I override this function from <strong>ViewModelProvider.Factory</strong> but i get an error with the generic return type T Why ? <a href="https://i.stack.imgur.com/H3Gmg.png" rel="nofollow noreferrer">https://i.stack.imgur.com/H3Gmg.png</a></p> <pre><code>class NewsViewModelProviderFactory( val newsRepository: NewsR...
I override this function from ViewModelProvider.Factory but i get an error with the generic return type T Why ? https://i.stack.imgur.com/H3Gmg.png [CODE] }
kotlin|generics|kotlin-coroutines|android-mvvm
1
2022-06-28T21:47:53.670Z
2,022
6
21
1
45
1
156
32
4
1
true
false
false
false
false
false
low
72,793,596
Manipulating Android Sensors
<p>So, I want to fake a accelerometer and gyro sensors. Is there a way to fake android sensors so they count my steps without walking?</p> <p>I need to spoof sensors, not generate random value between 1 and 9999</p> <p>P.S. I have a root.</p>
So, I want to fake a accelerometer and gyro sensors. Is there a way to fake android sensors so they count my steps without walking? I need to spoof sensors, not generate random value between 1 and 9999 P.S. I have a root.
android|accelerometer|sensors|gyroscope
0
2022-06-28T22:01:26.037Z
2,022
6
22
1
12
0
221
28
4
0
false
true
false
false
false
false
zero
72,793,612
How to draw just the borders of a rectangle?
<p>I'm customizing a Xamarin.forms.control. I want to put it inside a &quot;box&quot;, we can call it rectangle.So all I want is the border.</p> <pre><code>this.Control.SetBackground(d); </code></pre> <p>here d has to be a Android.Graphics.Drawables.Drawable. How can I create such a drawable,just the borders of a box?...
I'm customizing a Xamarin.forms.control. I want to put it inside a &quot;box&quot;, we can call it rectangle.So all I want is the border. [CODE] here d has to be a Android.Graphics.Drawables.Drawable. How can I create such a drawable,just the borders of a box?
c#|android|xamarin.forms|mobile
0
2022-06-28T22:03:27.787Z
2,022
6
22
1
39
2
260
44
4
1
true
false
false
false
false
false
zero
72,793,686
MVVM: Set a getDrawable from a ViewModel
<p>I'm moving all my app's logic from the fragment to the ViewModel and cannot move those methods that set drawables. Example:</p> <pre><code>marker.icon = ContextCompat.getDrawable(requireContext(), R.drawable.waypoints_sq_blank) </code></pre> <p>The reason being that the <strong>context</strong> is not reachable from...
I'm moving all my app's logic from the fragment to the ViewModel and cannot move those methods that set drawables. Example: [CODE] The reason being that the context is not reachable from a ViewModel. Any way I can get this to work?
android|kotlin|mvvm
0
2022-06-28T22:13:15.947Z
2,022
6
22
1
48
1
231
40
3
1
true
false
false
false
false
false
zero
72,793,762
How to change Android WebView cache directory path? So I can save different caches folder for each WebView in my app?
<p>Right now I have this:</p> <pre><code>@SuppressLint({&quot;SetJavaScriptEnabled&quot;, &quot;ClickableViewAccessibility&quot;}) private void createWebViewer(WebView webView, FrameLayout frameLayout, String profile) { webView.setLayoutParams(new ViewGroup.LayoutParams( ViewGroup.LayoutPar...
Right now I have this: [CODE] But even tho I'm setting: webSettings.setAppCachePath(getCacheDir().getAbsolutePath() + &quot;/profiles/&quot; + profile); the cache still goes to the default cache location. Any ideas of what I'm doing wrong?
android|caching|webview
1
2022-06-28T22:23:55Z
-1
-1
-1
-1
68
0
239
117
3
1
true
true
false
false
false
false
low
72,793,868
Editing components in a Webview
<p>I have no deep knowledge of WebView, a beginner in Android Development. Just wanted to know, if one can edit the components in WebView like when a site is being called inside the WebView, can we disable or alter the components of that site visible inside the WebView?</p> <p>Like in the example below, I tried embeddi...
I have no deep knowledge of WebView, a beginner in Android Development. Just wanted to know, if one can edit the components in WebView like when a site is being called inside the WebView, can we disable or alter the components of that site visible inside the WebView? Like in the example below, I tried embedding a Grafa...
android|webview|grafana
0
2022-06-28T22:38:06.090Z
2,022
6
22
1
16
0
516
31
3
0
false
true
false
false
false
false
zero
72,794,233
CallbackFlow waiting for its inner flow to be collected
<p>I'm implementing firestore in my android app and I was wondering how I can make this code wait for its inner flow to be collected before running with the program. The trip.tripDays in the when expression is getting populated with data a time after Response.Success with my trips is already sent.</p> <pre><code>overri...
I'm implementing firestore in my android app and I was wondering how I can make this code wait for its inner flow to be collected before running with the program. The trip.tripDays in the when expression is getting populated with data a time after Response.Success with my trips is already sent. [CODE] [CODE] [CODE] One...
android|kotlin|google-cloud-firestore|kotlin-coroutines|coroutinescope
1
2022-06-28T23:33:44.350Z
2,022
6
23
1
183
0
457
55
5
4
true
true
false
false
false
false
low
72,794,300
Is there a way to filter the exposed dropdown menu options depending on the value of another exposed dropdown menu in compose?
<p>So for example lets say I wanted the user to select a car on a car selection screen. The user would first select the car make they want from the first dropdown and depending on what make they choose the second menu would update and would show all the possible models for that specific make.</p>
So for example lets say I wanted the user to select a car on a car selection screen. The user would first select the car make they want from the first dropdown and depending on what make they choose the second menu would update and would show all the possible models for that specific make.
android-studio|kotlin|drop-down-menu|android-jetpack-compose
1
2022-06-28T23:46:42.920Z
2,022
6
23
1
98
1
290
126
4
0
false
false
false
false
false
false
low
72,794,550
Android Studio profiling an app - is there a mapping somewhere for the adb commands it uses?
<p>I am interested in battery usage and memory usage for testing an app. I plan on using the profiler to get a good sense of what it can do. But eventually want to automate it.</p> <p>I know I can use <code>adb shell dumpsys battery stats | grep -A 1 &quot;Battery power use&quot;</code> - but other features like memory...
I am interested in battery usage and memory usage for testing an app. I plan on using the profiler to get a good sense of what it can do. But eventually want to automate it. I know I can use adb shell dumpsys battery stats | grep -A 1 &quot;Battery power use&quot; - but other features like memory and cpu/network. Is th...
android-studio|adb
0
2022-06-29T00:36:07.737Z
2,022
6
0
2
34
0
572
92
2
1
true
true
false
false
false
false
zero
72,794,557
¿Why is this function sleeping in different order? In Android Java Firebase Firestore
<p>I want my code to change a <code>TextView</code> and change its content that can be seen for the following 5s. Then the activity has to finish.</p> <pre><code>firestore.collection(&quot;Game&quot;).document(gameID).addSnapshotListener(new EventListener&lt;DocumentSnapshot&gt;() { @Override public void onEven...
I want my code to change a TextView and change its content that can be seen for the following 5s. Then the activity has to finish. [CODE] That's my code. I've done it inside a EventListener for changes in a document in Firestore. The problem is that first waits the 5s and then in the last moment apply the changes in th...
java|android|firebase|google-cloud-firestore
0
2022-06-29T00:37:26.837Z
2,022
6
0
2
33
0
437
85
4
1
true
true
false
false
false
false
zero
72,794,564
Source code for android.opengl.Matrix.multiplyMV() method
<p>I'm looking for the source code for <code>android.opengl.Matrix.multiplyMV()</code> method. Going through the source code of android opengl Matrix class (<a href="https://android.googlesource.com/platform/frameworks/base/+/master/opengl/java/android/opengl/Matrix.java" rel="nofollow noreferrer">here</a>), I can see ...
I'm looking for the source code for android.opengl.Matrix.multiplyMV() method. Going through the source code of android opengl Matrix class ( here ), I can see that multiplyMV is a native method. So, it would seem that the implementation must be written in some other language (maybe C or C++ ??). I have researched but ...
java|android|matrix|opengl-es
0
2022-06-29T00:38:49.357Z
2,022
6
0
2
67
0
433
57
4
0
false
true
false
false
false
false
zero
72,794,574
flutter File google-services.json is missing
<p>I followed the firebase configuration steps to the letter and as soon as I install the first dependency I get the error</p> <pre><code>What went wrong: Execution failed for task ':firebase_auth:processDebugGoogleServices'. &gt; File google-services.json is missing. The Google Services Plugin cannot function without ...
I followed the firebase configuration steps to the letter and as soon as I install the first dependency I get the error [CODE] And as for the google-services.json file I put it in android/app. I checked to see it is the name that is incorrect but it is not. enter image description here I searched for the solution in va...
android
0
2022-06-29T00:40:30.340Z
2,022
6
0
2
22
0
382
44
1
1
true
true
false
false
false
false
zero
72,794,646
Android Databinding not working to set dimens with ternary conditional
<p>I'm trying to use a boolean from a View Model to determine which dimension to use for certain attributes by using it in a ternary operation. The problem is the compiler says the attribute cannot be set with a float</p> <p>My Code:</p> <pre><code>android:layout_marginTop=&quot;@{landingManager.messageClickable ? @dim...
I'm trying to use a boolean from a View Model to determine which dimension to use for certain attributes by using it in a ternary operation. The problem is the compiler says the attribute cannot be set with a float My Code: [CODE] The Dimension Resources: [CODE] The Error: [CODE] Note: I can actually ctrl+click on the ...
android|data-binding|resources|dimensions
0
2022-06-29T00:56:03.117Z
2,022
6
0
2
24
0
621
70
4
4
true
true
false
false
false
false
zero