question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on Android 12

See original GitHub issue

According to Firebase Crashlytics users with Google Pixel Devices and Android 11 are experiencing crashes every time they start up our app. I belive that that data is not correct and its actually Android 12 Beta as a few users stated that they can’t start the app and I can’t see any A12 non fatal errors logged aswell.

Unfortunately I can’t reproduce the error on emulators or physical devices (including Pixel devices) running Android 11 or 12.

Fatal Exception: com.airbnb.epoxy.IllegalEpoxyUsage: You must set an id on a model before adding it. Use the @AutoModel annotation if you want an id to be automatically generated for you.
       at com.airbnb.epoxy.EpoxyController.addInternal(EpoxyController.java:502)
       at com.airbnb.epoxy.EpoxyModel.addTo(EpoxyModel.java:337)

The error is a bit missleading as I am setting an id via the builder pattern with .id("***") before calling .addTo(this) But I have no idea what the real cause is.

epoxy Version: 4.6.1 (it’s also happening on older versions e.g. 4.0.0-beta6)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:56 (7 by maintainers)

github_iconTop GitHub Comments

11reactions
xmaderacommented, Oct 21, 2021

We are also experiencing this issue using epoxy 4.6.3 on Android 12.

8reactions
voneskubacommented, Oct 21, 2021

Android 12 was released today, Has anyone tested the same issue Or confirm that this issue has been fixed? Many thanks in advance!

We have same issue with epoxy version 4.6.3 and stable AN12 @a10033135

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Frequent App Crashing Issues in Android 12?
1. Restart Your Phone · Press the power button of your mobile phone for few seconds, and a buttons tray will pop up...
Read more >
Android 12 is running slow, crashing apps, overheating, and ...
If you're seeing constant app crashes on Android 12, just go to the Settings menu, tap Apps, All apps, then scroll down to...
Read more >
Android 12 Apps Crashing after Update [8 Fixes] - DevsJournal
How to Fix Android 12 Apps Crashing Issue · 1. Restart your Android 12 device · 2. Reset Android System WebView · 3....
Read more >
How to Fix Android 12 Apps Crashing Issue 2022 ... - YouTube
How to Fix Android 12 Apps Crashing Issue 2022 Solved Apps Crashing Problem# android #appscrashingEmail For Collaboration ...
Read more >
Here's how to fix constant app crashes in Android 12 beta
If you're seeing constant app crashes on Android 12, just go to the Settings menu, tap Apps, All apps, then scroll down to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found