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.

EXPO 45 - Standalone App crash on startup in Android 12 device/emulator

See original GitHub issue

Summary

I have created a demo expo project with expo45 (With some of packages that I am using in my project) and created a build with EAS. Now I have installed APK on many Android 12 devices. and On startup of app, it is crashing.

  • Working fine with expo channel with Android 10, 11, 12
  • Not working with standalone apk with Android 12
  • Working with standalone apk with Android 10,12

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

Android

SDK Version (managed workflow only)

EXPO 45

Environment

expo-env-info 1.0.3 environment info: System: OS: Windows 10 10.0.19044 Binaries: Node: 14.17.6 - C:\Program Files\nodejs\node.EXE npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 2020.3.0.0 AI-203.7717.56.2031.7678000 npmPackages: expo: ^45.0.0 => 45.0.3 react: 17.0.2 => 17.0.2 react-dom: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 react-native-web: 0.17.7 => 0.17.7 Expo Workflow: managed

Reproducible demo

Reproducible Git - https://github.com/viveksc1994/demo_crash_expo45_android12

APK of same repo - https://turtle-v2-artifacts.s3.amazonaws.com/android/ad877365-a48a-4060-b2a6-d3f8f72a3829-2670e568f5a14571b2e1c7449f71991e.apk

When you try to install APK in Android 12 it is going to crash.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
tknutscommented, May 12, 2022

I have the same issue, but just checked your Git, aren’t you missing this:

https://docs.expo.dev/build-reference/migrating/#custom--main--entry-point-in

1reaction
ScreamZcommented, May 15, 2022

Check my workaround for this issue on #17432

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android standalone app crashes on start - Expo Forums
Open Android studio emulator or connect your device and make sure it's connected properly then run adb logcat from your terminal then run...
Read more >
Expo React Native App crashing on android - Stack Overflow
I'm running into the same issue right now. In my situation I've narrowed it down to the android adaptiveIcon configuration.
Read more >
Send emulator console commands - Android Developers
Rotates the AVD counterclockwise in 45 degree increments. Crash the emulator, Description. crash, Crashes the emulator during app execution.
Read more >
expo app crashes, no dialog, can't debug : r/reactnative - Reddit
Hi - I'm working on my first Android app using Expo and React Native and recently it started randomly crashing. There's no "Such...
Read more >
Expo built app crash on Testflight | Apple Developer Forums
Expo built app crash on Testflight ... /Application/096290B1-599F-46D0-BFB9-789BFBCFAD45/GreenAct.app/GreenAct Identifier: xyz.greenact ...
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