For questions regarding programming in Android 12 (a.k.a., Android S), the primary 2021 version update for the Android OS.
Questions tagged [android-12]
563 questions
0
votes
1 answer
Notification: Open different Activities dynamically on Android 12 - trampoline restrictions issue
Similar question: Android 12 - Notification trampoline restrictions
My question is slightly different from the above question because I am asking for a fundamental proper way to handle the deeplinks.
I am displaying the notification triggered by the…

jclova
- 5,466
- 16
- 52
- 78
0
votes
1 answer
READ_EXTERNAL_STORAGE Problem with android 12
I got an app to read pdf files it works fine until i installed android 12 on my device.
Manifest:

Carl MacDonald
- 1
- 1
- 2
0
votes
3 answers
"App not found" Toast message when click on the App icon
I'm updating the very old project to the latest SDK version 32. While updating IDE shows, If Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter…

KZoNE
- 1,249
- 1
- 16
- 27
0
votes
1 answer
Android 12 cannot download
I have noticed that the people that cannot install my app all have Android 12 (since there are no installations with Android 12 in the statistics)
Has anyone else experienced this issue? Is there something extra you need to add?
Lastly, the APK has…

NPovlsen
- 337
- 1
- 16
0
votes
0 answers
Animated splash screen for Android & iOS
To make an animation which can be used as splash screen for Android & iOS, I was thinking about using lotties (explained in this tutorial), but with Android 12 it seems like the tools used are deprecated and it's not really a good solution…

Yoann Far
- 322
- 4
- 12
0
votes
1 answer
Android 12 DualSense/ DualShock support via Bluetooth
Android 12 added some new nice features to the controller API like rumble support. In Android 12 it's also possible to process the gyroscope and touchpad inputs from a DualSense/ DualShock controller via Bluetooth. How can an app process touchpad…

grill2010
- 574
- 6
- 23
0
votes
1 answer
Android12 opengles3.0 glTexImage2D 0x502 error
I have 5 textures, such as diffuse specular normal roughness ao, roughness and ao are 8bit jpg.
I got glError 0x502 while loading rouggness/ao texture after call glTexImage2D, but other three texture is OK.
And this issue just occured with android…

zhangbaochong
- 170
- 1
- 9
0
votes
1 answer
Android 9 reboots after update to targetSDK 31
Since i updated my app to complie/tragetSDK 31 it is totaly crashing exclusively android 9 devices, the devices and the emulator is restarting if i try to start the app, the only log i got from the play store pre launch report was
Fatal…

ueen
- 692
- 3
- 9
- 21
0
votes
0 answers
okhttp3 .addHeader Parameter specified as non-null is null
A few users are experiencing constant app crashes since they updated to Android 12. Issue doesn't happen on any of my or my friends devices (also Android 12) so I can't figure out how to fix it. I don't pass a null value here so I'm not sure what is…

Craxx
- 23
- 1
- 6
0
votes
1 answer
Error when setting compileSdkVersion to Sv2 (Android 12L) - Unsupported value: Sv2. Format must be one of
I am trying to follow the setup guide for Android 12L here. But I get the following error when I sync gradle on the project:
Unsupported value: Sv2. Format must be one of:
- android-31
- android-31-ext2
- android-T
- vendorName:addonName:31
I am…

Furqan Khan
- 504
- 4
- 12
0
votes
0 answers
Android Webview shouldOverrideUrlLoading method not working Android 10 and onwards
Android Webview shouldOverrideUrlLoading method not working Android 10 and onwards, when a click triggered for anchor tag href link, which is a valid URL. The below code is working fine for android 8 and 9, where it gets called. The override gets…

Sun
- 1
- 3
0
votes
1 answer
I get android:exported error even though I set all
The error is this.
Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has…

c-an
- 3,543
- 5
- 35
- 82
0
votes
0 answers
"android:exported needs to be explicitly specified" when running assembleAndroidTest
I've adapted my main src set's manifest for SDK 31, and ./gradlew assembleDebug works fine.
./gradlew assembleAndroidTest fails with android:exported needs to be explicitly specified ...
It fails even if I remove all test dependencies from…

artem
- 16,382
- 34
- 113
- 189
0
votes
0 answers
How to get the android 12 clock's app BottomNavigationView?
I want to get the new BottomNavigationView in android studio.
Here is a new navigation photo.
This is the new BottomNavigationView design in the last update in clock apps in android.
I tried to get this BottomNavigationView but I couldn't find…

Mubarrat Hasan
- 156
- 13
0
votes
1 answer
In Android 12 DocumentFile toString() doesn't return text contrarely to previous versions
If I have a text file and i read it using DocumentFile when I call myDocumentFile.toString() I get its textual content as String.
In Android 12 if I call myDocumentFile.toString() on a text file loaded as DocumentFile rather than textual content I…

AndreaF
- 11,975
- 27
- 102
- 168