Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] java – Presentation is being dismissed because the display metrics have changed since it was created

Posted on November 11, 2022 By

Solution 1 :

I’ve faced the same issue and found out that it is being caused by incorrect changing the base context of the activity (in our case for localization purposes).

Try to find out an override of attachBaseContext(newBase: Context) method in your activities hierarchy and temporarily comment it. If it helps then you have to fix your implementation to avoid setting context with incorrect display configuration.

Problem :

I am facing error in dual screen POS system. Presentation view is not working in Android 7.1.2 Nougat.

Below one message shown in android logcat window:

Presentation is being dismissed because the display metrics have changed since it was created.

Also it is displayed same content in both side in dual POS screen. Presentation is already working in Android 6.0 version.

READ  [FIXED] java - Binary XML file line #24: Error inflating class com.google.android.material.navigation.NavigationView
Powered by Inline Related Posts
Android Tags:android, java, presentation

Post navigation

Previous Post: [FIXED] activity_main.xml for android studio stuck on loading
Next Post: Can a beginner learn Moonlight Sonata 1st Movement?

Related Posts

[FIXED] android – NotificationCompat.Action shows only one action button FCM Push Notification Android
[FIXED] android – Implement Load More function in getItemCount, is it possible? Android
[FIXED] Does adding “minifyEnabled true” and ‘proguard-android-optimize.txt’ obfuscate the sqlite database and make it incompatible with previous versions? Android
[FIXED] android – Why does v1SigningEnabled not working for AGP 7.1.3 Android
[FIXED] running a javascript code while in background android Android
[FIXED] android – ArrayList$Itr.next throwing error concurrentModificationException Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • What color are dead flea eggs?
  • What is Indiana vine?
  • What’s the downside of a Chromebook?
  • Is phosphide the same as phosphorus?
  • Why do you need an S bend?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme