Questions tagged [android-7.1-nougat]

Android 7.1 Nougat MR1 (API level 25), successor of Android 7.0 Nougat.

257 questions
106
votes
6 answers

Android 7 Native Crash: libc.so tgkill

I'm seeing this native crash with the following stack trace. This happens in Android 7.0 & 7.1 only. Nothing new has been added to the app, which has been in production for a few years, but with more devices being updated to Nougat this crash…
AlexVPerl
  • 7,652
  • 8
  • 51
  • 83
79
votes
1 answer

E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY) android os 7.1 nougat

I am getting the following error while running my app on Android OS 7.1 Nougat. E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)[ 04-21 10:19:18.788 4410: 4622 D/ ] HostConnection::get() New Host Connection established…
KUSHA B K
  • 1,489
  • 13
  • 20
45
votes
2 answers

ANR error "Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT" ... "FirebaseInstanceIdInternalReceiver" for Android 7.1 and 8.0

We have an Android app that have many ANR errors reported lately. This only occurs on Android 7.1 and 8.0 (not on e.g. 4.4, 5.0 or 6.0). The ANR is: Broadcast of Intent { act=com.google.firebase.INSTANCE_ID_EVENT flg=0x14…
35
votes
5 answers

IllegalArgumentException: column '_data' does not exist

In Nougat, this function is not working. String path = getRealPathFromURI(this, getIntent().getParcelableExtra(Intent.EXTRA_STREAM)); public String getRealPathFromURI(Context context, Uri contentUri) { Cursor cursor = null; try { …
vidha
  • 1,257
  • 2
  • 14
  • 22
32
votes
7 answers

Pixel launcher keeps stopping issue in Android 7.1.1 (API 25) emulator

I have created an Emulator using android 7.1.1 (API 25) CPU X86. When I start the emulator its showing pixel launcher keeps stopping issue. I have checked with CPU x86_64 also but same issue. Here is the screenshot: Here is my details config:
0xAliHn
  • 18,390
  • 23
  • 91
  • 111
30
votes
2 answers

Android FileProvider for CACHE DIR : Failed to find configured root that contains

I found so many links which is related to FileProvider, but I didn't found solution for cache directory java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/pkg name/cache/1487876607264.png I want to use…
29
votes
5 answers

Android Nougat: TextureView doesn't support displaying a background drawable

I have been using a TextureView in my android app, and it was working fine. Just recently I tested my code on an Android device with Android API 25 (7.1.2). Same code now does not work and throws the error, java.lang.UnsupportedOperationException:…
22
votes
1 answer

Icon is not getting displayed in notification in Android nougat

I researched about this and found out that addAction (int icon, CharSequence title, PendingIntent intent) is deprecated, so I used addAction (Notification.Action action) . In both the cases, icon cant be seen. NotificationCompat.Action action = new…
MrRobot9
  • 2,402
  • 4
  • 31
  • 68
21
votes
0 answers

TYPE_TOAST alternative that will not request permission?

I'm working on an SDK that is putting a popup view on the WindowManager using the TYPE_TOAST LayoutParams type. The last version of Android Nougat (7.1.1) made some change to the WindowManager (I don't know yet what change exactly - would be…
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
20
votes
4 answers

Programmatically accept call in Nougat

From one year, I have been working over IOT product and the application attached was working fine. Now I am not able to accept call programmatically in higher versions of android. Feature is very important to product. Any help is highly…
20
votes
2 answers

list certificate stored in user credentials

In Android 7 Nougat, user installed certificate goes to "User credentials" instead of "Trusted credentials"(which consists of system credential & user credential). I used to access "Trusted credentials" by: KeyStore keystore =…
Mellon
  • 37,586
  • 78
  • 186
  • 264
18
votes
2 answers

Android Nougat 7.1 resets Locale after launching WebView

We got a weird behavior with Android N 7.1 ( API-25 ) That after Launching WebView, system enforces reseting Locale to device locale. That overrides used locale (for localization) on application. Easy way to reproduce that is to get a localization…
Maher Abuthraa
  • 17,493
  • 11
  • 81
  • 103
17
votes
2 answers

Android SDK Version 25 - android.support v7:25 gives "No resource found that matches @color/hint_foreground_material_light" Adobe Creative SDK?

I get the following error while the gradle sync/build after switching the compileSdkVersion to 25 and using the latest android.support library versions. compile 'com.android.support:appcompat-v7:25.0.0' compile…
14
votes
2 answers

Activity Lifecycle changed with API 25 (7.1.1)

In my MainActivity, I have a dialog which is opened if a flag in the intent is set. If the dialog was created, it is dismissed in onPause() @Override public void onPause() { super.onPause(); if (_dialog!= null) { _dialog.dismiss(); …
12
votes
1 answer

Shortcuts for Nougat version

I'm catching this fatal exception when I try to pass an Serializable inside an Intent bundle, and I think is related with the nougat shortcuts that I'm trying to implement. here the exception: 12-16 16:17:32.972 20461-20461/***.****.******.debug…
rafaelasguerra
  • 2,685
  • 5
  • 24
  • 56
1
2 3
17 18