55 questions
1
vote
0
answers
105
views
Android 15 & 16 - 3 Button Navigation - Icon Color Problem
Is there a way to change the icon color of the 3-button navigation bar on Android 15 & 16? I’ve already changed the background color of the status bar, the icon color of the status bar, and the ...
0
votes
0
answers
48
views
Unable to view screen mirroring on android studio with samsung device
I am using Android Studio's latest version, but when I connect my Samsung device with android os 15, then i'm unable to view the screen(via the screen mirroring feature) on Android Studio. What I am ...
1
vote
0
answers
67
views
A textView display issue after upgrading to Android SDK 35
After upgrading MODULE_TARGET_SDK_VERSION to 35, AutoCompleteTextView does not center the text up and down on Android 15 devices (the cursor position is correct), but it displays normally on Android ...
0
votes
1
answer
88
views
AccessibilityService not reconnecting (onServiceConnected not called) after app restart on Android 15
I have an AccessibilityService that works fine right after requesting the permission.
When the user grants Accessibility permission, the service connects and onServiceConnected() is called.
At this ...
1
vote
0
answers
57
views
Android ModalBottomSheet in API 35+
As you may know starting with SDK 35 Google decided that apps should be "edge-to-edge" now.
So I'm working on adapting my old app to edge-to-edge.
I've encountered a problem with Material3 ...
-1
votes
1
answer
77
views
Make the application display fit on the screen (between the status bar and navigation bar) on Android 15 and above
How to make the application display fit on the screen (between the status bar and navigation bar) on Android 15 and above Because on Android 14 and bellow my application display is okey.
Please help ...
0
votes
1
answer
86
views
BroadcastReceiver for PACKAGE_ADDED and PACKAGE_REMOVED not working on Android 15 and OEM devices (Redmi, Oppo, etc.)
<receiver
android:name=".service.PackageMonitorReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action ...
7
votes
1
answer
5k
views
Flutter app is not supporting 16KB Page Size
I am using Flutter version 3.27.4. I recently released my Flutter app to the Play Store. The latest version of the app is not working on devices with a 16KB page size—it crashes immediately after ...
2
votes
1
answer
1k
views
env(safe-area) not working with android 15 (Samsung One UI 7) Cordova Quasar
In my Cordova application that I created with Quasar, I use this CSS style:
padding-top: env(safe-area-inset-top, 0px);
padding-bottom: env(safe-area-inset-bottom, 0px);
...
0
votes
1
answer
271
views
How to build an eng or userdebug aosp kernel (android-15)?
I want to build an eng or userdebug kernel for a pixel 6a.
I read https://source.android.com/docs/setup/build/building-pixel-kernels#supported-kernel-branches but it does not mention how to change the ...
-1
votes
1
answer
666
views
Flutter app not launch on some devices with android 15. On pixel 6,7 and Samsung s24+
I'm encountering a strange issue where my Flutter app fails to launch on some Android 15 devices. It affects both Samsung (One UI) and Pixel devices. However, the app works correctly on many other ...
1
vote
1
answer
285
views
Android 15, API35, Permission Denial: not allowed to send broadcast ACTION_GATT_CONNECTED
I'm having a weird problem, with the BLE bluetooth connection, this problem only happens with Android 15 and only on some phones, for example, Poco Phone and all Motorola with Android 15. Any Samsung ...
0
votes
0
answers
61
views
Android 15 devices can't initiate instant app
I have published regular app and instant app. The instant app can be initiated by Android devices including Android 16 emulator except for Android 15 devices. I personally tested on Android 12, 13, 14,...
1
vote
0
answers
170
views
Bluetooth Scanning not working on Android 15 - Samsung Galaxy S24 & S25
Our mobile application is scanning the IOT devices' data continuously over Bluetooth. The Bluetooth data is scanning in foreground and background.
Only Samsung Galaxy S24 & S25 devices having ...
1
vote
2
answers
97
views
System bar paddings are not applied to FloatingActionButton in landscape orientation - how to fix it?
System bar paddings are not applied to FloatingActionButton in landscape orientation even though composable is placed into Scaffold and contentWindowInsets of Scaffold set to WindowInsets.safeDrawing. ...
0
votes
1
answer
326
views
Window inset edge-toedge not working in xml based in Android
To understand Display content edge-to-edge in views, I created a sample project with API 34. I have a home activity with sample, and title is showing below statusbar, this is expected. I migrated to ...
1
vote
1
answer
807
views
How to fix status bar icons being invisible in app starting from Android 15
The status bar in my app until Android 14 had a gray (default) background so the icons were always visible. Starting from Android 15, the status bar is now transparent and uses edge-to-edge, and the ...
0
votes
0
answers
115
views
Android 15 - Foreground Service with Microphone Crashes After Long Background Running
I am developing an Android app that runs a foreground service to track location and record audio continuously on an Android 15 (Motorola) device.
The service works fine when started, but after ...
0
votes
1
answer
134
views
FirebaseMessaging.onMessageOpenedApp not triggered on Android 15, getInitialMessage returns null
I'm working with Firebase Cloud Messaging in a Flutter project, and I have an issue where FirebaseMessaging.onMessageOpenedApp is not triggered on Android 15, and FirebaseMessaging.instance....
3
votes
1
answer
259
views
How can you detect real boot on Android 15, as ACTION_BOOT_COMPLETED is broken on it?
Background
Up until Android 14, using ACTION_BOOT_COMPLETED worked fine to detect the OS boot, to start doing things there:
BootReceiver.kt
class BootReceiver : BroadcastReceiver() {
@...
0
votes
0
answers
78
views
Why decorView applies additional frameOffests (like top padding) after theme swithing in Android 15?
I'm trying to prepare my app to Android 15, including support edge2edge mode.
I use google extensions to enable edge2edge for Android < 15 and everything works perfectly.
fun ComponentActivity....
0
votes
0
answers
54
views
Can't root cause an Android Resource Not Found Exception
I'm having a hard time resolving a Resource ID Exception for a dimension in an App I'm working on. I can not reproduce it locally, but a lot of users are seeing it. Interestingly, it only seems to be ...
0
votes
1
answer
50
views
What's the max size limit on android.net.wifi.aware.DiscoverySession.sendMessage?
Unknown size limit of API: android.net.wifi.aware.DiscoverySession.sendMessage causes System.err
Link to documentation: https://developer.android.com/reference/android/net/wifi/aware/DiscoverySession#...
8
votes
0
answers
448
views
Android 15 navigation bar icons appear dark even on a dark background
My app uses this theme (it has no light variant):
<style name="AppBase" parent="@android:style/Theme.Material.NoActionBar">
...
<item name="android:...
2
votes
1
answer
625
views
How to prevent app installation in Android 15 Private Space when using `ADB install`?
Android 15 introduces Private Space, which allows users to keep certain apps separate from the main user profile. When I install an app using the adb install command, the app gets installed in both ...
1
vote
1
answer
296
views
How to detect "sensitive notification content hidden" on Android 15?
my app uses a NotificationListener. Android 15 now removes sensitive information like OTP codes from the notification. My NotificationListener only sees "sensitive notification content hidden&...
0
votes
1
answer
611
views
WebView polling breaks on Android 15 after opening Chrome Custom Tabs
WebView polling breaks on Android 15 after opening Chrome Custom Tabs
I'm encountering an issue where polling in a WebView stops working on Android 15 after opening Chrome Custom Tabs. The polling ...
3
votes
3
answers
2k
views
Toolbar menu get overlapped with Android 15 system icons
I used a toolbar in my Android application for years and never had a problem with it, but starting with Android 15 (API Level 35) my toolbar icons got overlayed with system Android icons on the top of ...
1
vote
0
answers
691
views
How to update a local Shared Library for compatibility with Android 15 16KB Devices?
We're using the Ananas library in our app. Following the official documentation to test the Ananas demo in an Android 15 Emulator with a 16-KB based system image, we found the app getting stuck (no ...
7
votes
4
answers
2k
views
Edge-to-edge doesn't work when activity recreated or AppCompatDelegate.setDefaultNightMode() applied
I have this code for enabling edge-to-edge in my BaseActivity.kt class
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Log.d(Const.TAG_ACTIVITY, String....
4
votes
0
answers
236
views
After setting 'compileSdk = 35', warning message about UI in Play Console
I am a developer using Android Studio. After compiling the app I developed with the targetSdk and compileSdk versions set to 35 and releasing the app, the following recommendation is displayed in the ...
1
vote
1
answer
4k
views
Flutter app not compiling because some lib is expecting SDK 35?
I am receiving this error (error: style attribute 'android:attr/windowOptOutEdgeToEdgeEnforcement' not found.) while building my app, seems image_cropper is expecting target sdk to be 35, while I have ...
0
votes
2
answers
2k
views
Navigation Bar showing black strip when bottom Sheet opens in android 15
I am trying to updated to android 15. I have few BottomSheets in app. All of them are showing a strip at bottom which is not part of Bottom sheet in android 15 device.
The current theme i m using for ...
18
votes
7
answers
8k
views
Actionbar in Android 15 is overlapping activity contents
I'm not defining any Toolbar in my XML files and I'm using the default ActionBar defined at theme:
<style name="AppBaseTheme" parent="@style/Theme.AppCompat.DayNight.DarkActionBar&...
1
vote
2
answers
1k
views
Keyboard hides layout in Android 15
I have upgraded my project to Android 15. I am using scrollview with some edittexts. While I click on edittext, keyboard hides view behind in Android 15. I have enable enableEdgeToEdge() with onCreate ...
0
votes
1
answer
927
views
Jetpack Compose: Apply color contrast dynamically based on system
With the new color contrast feature in android 15, I have now defined a new color palette for low, medium and high color contrast for both light and dark scheme. How can I apply this dynamically based ...
1
vote
0
answers
131
views
OTP Autofill not working with User Consent API on Android 15
I have implemented OTP Autofill & its working fine in all android version below 15 but for Android 15 its not working, Any possible way to make it working on Android 15
One-tap SMS verification ...
4
votes
1
answer
916
views
Android 15 forced fullscreen mode Google AdMob
I've adapted my activity to respect insets (system bars) using the common suggested approach (sharing for reference):
ViewCompat.setOnApplyWindowInsetsListener(root, new OnApplyWindowInsetsListener() {...
2
votes
1
answer
1k
views
How to layout a webview for Android 15 edge to edge
I have an app consisting only of a webview. I'm trying it to update for Android 15 with edge to edge.
Below the current code from layout/webview.xml and MainActivity.kt.
It worked well on Android 14.
&...
1
vote
2
answers
433
views
With enableEdgeToEdge, dark mode doesn't work properly
According to this documentation, if we want to enable edge-to-edge on API 34 and lower devices, we must call this method in the activity:
override fun onCreate(savedInstanceState: Bundle?) {
...
10
votes
3
answers
3k
views
windowSoftInputMode adjustResize doesn't work in target sdk 35
When I increased the target SDK of the app from 34 to 35, the windowSoftInputMode in adjustResize mode no longer worked. I have tested everything and found that it is only related to the target SDK. ...
0
votes
1
answer
196
views
Android 15 Tooltip bottom is truncated when it exceeds the screen height
The code below works fine on Android 14-, but on Android 15, the bottom of the Tooltip is truncated:
The bottom of the red border is missing, and only the top part of the letter 'g' is visible.
Looks ...
16
votes
3
answers
20k
views
Android 15. Edge to edge mode hide a top View
I have a Pixel 6 device and updated today Android version to 15.
I test a simple activity for Android 15 and see that a part of top TextView is hiden.
I guess this is a bug of edge-to-edge mode.
How ...
13
votes
2
answers
3k
views
Change navigation bar buttons and status bar icons colors
As apps with targetSdk 35 are edge-to-edge by default on Android 15, so I encountered a problem with navigation bar and status bar icons colors.
When running my app on android 15, navigation bar ...
2
votes
0
answers
953
views
Android 15 Edge-to-edge enforcement
About android 15 behavior changes, one of them is edge-to-edge enforcement.
I have a project with targetSDK 34, I wanna upgrade it to targetSDK 35.
project with targetSDK 34 run in avd is like
...
1
vote
2
answers
6k
views
How can I support Android's 16KB page size in my Flutter app?
Currently my Flutter app doesn't work on devices that support 16KB page size (I checked it on the simulator). What can I do to fix this? My current version of Flutter is 3.19.4.
Error log:
Failure [...
1
vote
1
answer
140
views
SocketException: Connection timed out (OS Error: Connection timed out, errno = 110)
Recently, I am doing Flutter compatibility verification on Android 15(<15 is OK), when I upload image, it will sometimes report: 2024-08-13T16:14:21.838249 - [ERROR] [NET] NoNetworkError - ...
19
votes
5
answers
19k
views
How to preserve the space of the status bar? (Android 15+)
Android 15 suggests to use enableEdgeToEdge(), but this removes the top offset of the status bar, causing the main content to overlap with it.
What is the best way to preserve the height of the status ...
67
votes
18
answers
51k
views
How to change the status bar color in Android 15+?
For Android 14 or below, it can be done with: window.statusBarColor = Color.RED, after upgrading to Android 15, this is deprecated and doesn't work.
In Android Studio, it recommends to use:
Draw ...
0
votes
0
answers
1k
views
React Native app crashes on launch on emulator with 16 KB page size support
As we know that, beginning with Android 15, the Android system supports development devices that are configured to use a page size of 16 KB. If any android app uses native code (C/C++ code), then ...