Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app crash and can't open after installing from play store #32325

Closed
sharifashraful opened this issue Oct 3, 2021 · 6 comments
Closed

app crash and can't open after installing from play store #32325

sharifashraful opened this issue Oct 3, 2021 · 6 comments
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. Resolution: Locked This issue was locked by the bot.

Comments

@sharifashraful
Copy link

sharifashraful commented Oct 3, 2021

Type
java.lang.RuntimeException
java.lang.RuntimeException:
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7532)
at android.app.ActivityThread.access$1400 (ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2150)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8587)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: java.lang.RuntimeException:
at com.facebook.soloader.SoLoader.init (SoLoader.java:12)
at com.reactnativenavigation.NavigationApplication.onCreate (NavigationApplication.java:6)
at com.pathabo.MainApplication.onCreate (MainApplication.java)
at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1192)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7527)
at android.app.ActivityThread.access$1400 (ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2150)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8587)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: java.io.FileNotFoundException:
at libcore.io.IoBridge.open (IoBridge.java:492)
at java.io.FileOutputStream. (FileOutputStream.java:236)
at java.io.FileOutputStream. (FileOutputStream.java:186)
at com.facebook.soloader.FileLocker. (FileLocker.java:5)
at com.facebook.soloader.FileLocker.lock (FileLocker.java:2)
at com.facebook.soloader.UnpackingSoSource.prepare (UnpackingSoSource.java:22)
at com.facebook.soloader.SoLoader.initSoSources (SoLoader.java:390)
at com.facebook.soloader.SoLoader.init (SoLoader.java:13)
at com.facebook.soloader.SoLoader.init (SoLoader.java:1)
at com.facebook.soloader.SoLoader.init (SoLoader.java:5)
at com.reactnativenavigation.NavigationApplication.onCreate (NavigationApplication.java:6)
at com.pathabo.MainApplication.onCreate (MainApplication.java)
at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1192)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7527)
at android.app.ActivityThread.access$1400 (ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2150)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8587)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: android.system.ErrnoException:
at libcore.io.Linux.open (Native Method)
at libcore.io.ForwardingOs.open (ForwardingOs.java:166)
at libcore.io.BlockGuardOs.open (BlockGuardOs.java:254)
at libcore.io.ForwardingOs.open (ForwardingOs.java:166)
at android.app.ActivityThread$AndroidOs.open (ActivityThread.java:8448)
at libcore.io.IoBridge.open (IoBridge.java:478)
at java.io.FileOutputStream. (FileOutputStream.java:236)
at java.io.FileOutputStream. (FileOutputStream.java:186)
at com.facebook.soloader.FileLocker. (FileLocker.java:5)
at com.facebook.soloader.FileLocker.lock (FileLocker.java:2)
at com.facebook.soloader.UnpackingSoSource.prepare (UnpackingSoSource.java:22)
at com.facebook.soloader.SoLoader.initSoSources (SoLoader.java:390)
at com.facebook.soloader.SoLoader.init (SoLoader.java:13)
at com.facebook.soloader.SoLoader.init (SoLoader.java:1)
at com.facebook.soloader.SoLoader.init (SoLoader.java:5)
at com.reactnativenavigation.NavigationApplication.onCreate (NavigationApplication.java:6)
at com.pathabo.MainApplication.onCreate (MainApplication.java)
at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1192)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7527)
at android.app.ActivityThread.access$1400 (ActivityThread.java:301)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2150)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8587)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)

E:\mobile apps\Pathabo>react-native info
info Fetching system and libraries information...
(node:7596) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Memory: 8.38 GB / 15.91 GB
Binaries:
Node: 14.16.0 - D:\Program Files\nodejs\node.EXE
Yarn: 1.15.2 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.11 - D:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 21, 23, 25, 26, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3
System Images: android-21 | ARM EABI v7a, android-21 | Intel x86 Atom, android-21 | Google APIs ARM EABI v7a, android-21 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 1.8.0_111
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. and removed Needs: Triage 🔍 labels Oct 3, 2021
@github-actions
Copy link

github-actions bot commented Oct 3, 2021

⚠️ Missing Environment Information
ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

@sharifashraful
Copy link
Author

info Fetching system and libraries information...
(node:7596) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
System:
OS: Windows 10 10.0.18362
CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Memory: 8.38 GB / 15.91 GB
Binaries:
Node: 14.16.0 - D:\Program Files\nodejs\node.EXE
Yarn: 1.15.2 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.11 - D:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 21, 23, 25, 26, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3
System Images: android-21 | ARM EABI v7a, android-21 | Intel x86 Atom, android-21 | Google APIs ARM EABI v7a, android-21 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 1.8.0_111
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Oct 3, 2021
@SudoPlz
Copy link
Contributor

SudoPlz commented Oct 20, 2021

I'm seeing the same error:

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7532)
  at android.app.ActivityThread.access$1500 (ActivityThread.java:301)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2150)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:246)
  at android.app.ActivityThread.main (ActivityThread.java:8587)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
Caused by: java.lang.RuntimeException: 
  at com.facebook.soloader.SoLoader.init (SoLoader.java:219)
  at com.reactnativenavigation.NavigationApplication.onCreate (NavigationApplication.java:26)
  at com.acuityscheduling.app.android.MainApplication.onCreate (MainApplication.java:116)
  at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1192)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7527)
Caused by: java.io.FileNotFoundException: 
  at libcore.io.IoBridge.open (IoBridge.java:492)
  at java.io.FileOutputStream.<init> (FileOutputStream.java:236)
  at java.io.FileOutputStream.<init> (FileOutputStream.java:186)
  at com.facebook.soloader.FileLocker.<init> (FileLocker.java:36)
  at com.facebook.soloader.FileLocker.lock (FileLocker.java:32)
  at com.facebook.soloader.UnpackingSoSource.prepare (UnpackingSoSource.java:430)
  at com.facebook.soloader.SoLoader.initSoSources (SoLoader.java:327)
  at com.facebook.soloader.SoLoader.init (SoLoader.java:207)
  at com.facebook.soloader.SoLoader.init (SoLoader.java:189)
  at com.facebook.soloader.SoLoader.init (SoLoader.java:217)
Caused by: android.system.ErrnoException: 
  at libcore.io.Linux.open (Native Method)
  at libcore.io.ForwardingOs.open (ForwardingOs.java:166)
  at libcore.io.BlockGuardOs.open (BlockGuardOs.java:254)
  at libcore.io.ForwardingOs.open (ForwardingOs.java:166)
  at android.app.ActivityThread$AndroidOs.open (ActivityThread.java:8448)
  at libcore.io.IoBridge.open (IoBridge.java:478)

did you figure this out @sharifashraful ?

What soloader version are you using on your build.gradle?
I'm using implementation 'com.facebook.soloader:soloader:0.9.0+'

I wonder if upgrading to soloader 0.10.1 would fix the issue.

@SudoPlz
Copy link
Contributor

SudoPlz commented Oct 20, 2021

I think it's related to facebook/SoLoader#74

@sharifashraful
Copy link
Author

No. it's a soloader issue. i tested with 0.10.1 but does not work for some devices/android 11. that's why I back to RN 0.61.5 there i used soloader 0.8.2 and it's work on all devices and all android version

@kimihiro64
Copy link

This is fixed in soloader 0.10.3, as mentioned in facebook/SoLoader#74. We have over 5k crashes caused by this. As a workaround, clearing storage and restarting the app will bypass the crash.

@facebook facebook locked as resolved and limited conversation to collaborators Jan 20, 2023
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jan 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants