Questions tagged [google-pixel]

The Google Pixel is a line of consumer electronics from Google that either run Chrome OS or Android. The Pixel lineup includes tablets, computers, and cellular phones.

98 questions
37
votes
3 answers

How can I get the Google Pixel 3 emulator in Android Studio?

I'm currently running the latest version of Android Studio, v3.2.1. The virtual devices available only go up to the Pixel 2 (and the XL version). These do not suffice since I mainly need to test on the new Google Pixel 3 XL, due to its notch. Is it…
Fizzix
  • 23,679
  • 38
  • 110
  • 176
27
votes
4 answers

CannotDeliverBroadcastException only on Pixel devices running Android 12

I'm seeing a crash come through Crashlytics that I'm unable to reproduce or locate the cause of. The crash only ever happens on Google Pixel devices running Android 12, and the crash always happens in the background. This is the crash log from…
Tommy Jackson
  • 609
  • 7
  • 20
17
votes
7 answers

How to Connect Pixel 2 to ADB

I have a Pixel 2 that is unlocked and has USB debugging enabled. Yet if I plug it into my computer, it only ever shows charging. The USB cord works to connect other devices for data transfer no problem though, so it's not the cord. I have no trouble…
Elliptica
  • 3,928
  • 3
  • 37
  • 68
14
votes
6 answers

Why Android studio won't run app on Android Pie (9.0)?

I've upgraded my Google Pixel to Android 9.0/Pie. When I try to run an application from Android studio I don't see the Google Pixel in the list, there's only a null device named FA69R0306649. When I run my application, Android studio tries to…
12
votes
3 answers

How to prevent Screen Orientation change when Activity finishes on Android 8.1 Version Devices?

I'm working on an app and encountered a strange behavior on 8.1 Devices (Pixel2, Nexus5x), so I wrote a small App to verify this behavior. MainActivity is locked to portrait mode while LandscapeActivity is locked to landscape. MainActivity starts…
8
votes
1 answer

Restrictions when scanning in background on Android 10?

There seems to be a lot of "hidden features" regarding Bluetooth scanning on Android. For starters there is a "30s limit" (Android 7.0 ble scan no result). Then you have to set a ScanFilter in background mode otherwise you get no results (can't find…
Alix
  • 2,630
  • 30
  • 72
7
votes
1 answer

Create a Pixel 4 Virtual Device

I'm trying to create a Pixel 4 virtual device in Android Studio 3.6.2. However, the Pixel 4 doesn't appear to be an option. Is there any way to download the Hardware Profile for this device. Virtual Device Configuration Selection Screen Edit: As of…
7
votes
0 answers

Sideloading Error 21 Signature Verification Failed

I've read that it's because the bootloader is locked so I won't be able to flash the whole image. But if I unlock the bootloader, won't that wipe all my data? I would like to to see if sideloading can fix my issues (freezing, bootlooping) before…
BugOF
  • 71
  • 1
  • 2
6
votes
1 answer

Action Bar on Android is still showing despite using NoActionBar theme

I am using the theme Theme.MaterialComponents.DayNight.NoActionBar (docs) for my Android app. I am also calling getActionBar().hide() in the MainActivity. On nearly all my devices, the Action Bar is not displaying. However on one device, a Pixel 6…
5
votes
2 answers

Devices with Android 12 keep bluetooth LE connection even when app is closed

I'm experiencing an issue, where I can connect to bluetooth device once, but after I disconnect, I no longer see that device when scanning for bluetooth devices. If I completely close the app, device is still undiscoverable, but if I turn off the…
SMGhost
  • 3,867
  • 6
  • 38
  • 68
5
votes
1 answer

android.database.sqlite.SQLiteCantOpenDatabaseException on Android 9

My app is live and getting crashes of "Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException:" from Google Play Console. Mostly it is occurring on Android 9 OS and 50% of all devices on which it is coming are Google Pixel devices. I…
5
votes
1 answer

java.lang.IllegalStateException: SharedPreferences in credential encrypted storage are not available until after user is unlocked

Crashes are not getting logged in cashlytics on Google Pixel devices(OS 9.0-pie) and Playstore reports ANR&Crashes as java.lang.IllegalStateException: SharedPreferences in credential encrypted storage are not available until after user is…
Krishna Upadhya
  • 131
  • 2
  • 10
4
votes
1 answer

Why do Android 12, 12L, 13 Preview devices don't resolve local DNS anymore?

I have been having this strange issue for more than a couple weeks now: Android 12, 12L, 13 Preview devices (emulator & physical) don't resolve local DNS anymore. I started noticing this issue in my android app. Any url or API with a domain name…
ngaspama
  • 371
  • 4
  • 10
3
votes
0 answers

Google Sign In returns error 12501 when authenticating on Google Pixel but works on other devices

I have a problem getting a Google Sign in to work on a Google Pixel device using com.google.android.gms.auth.api.signin.GoogleSignIn. I can log in on other Android devices but when I try to log in on the Google Pixel device the sign in intent…
3
votes
2 answers

Media Query to differentiate Google Pixel 1/2 vs Google Pixel XL vs Google Pixel 2 XL

Im writing a cordova app and need to isolate these google phones to adjust styling given this: Im struggling to differentiate between any of the Google Pixel Phones. @media only screen and (min-width: 411px) and (max-width: 731px) { .myDiv{…
Dan
  • 3,755
  • 4
  • 27
  • 38
1
2 3 4 5 6 7