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 v12, unable to create application *java.io.SyncFailedException: sync failed

See original GitHub issue

I am seeing crashes reported on Pixel 4a devices using android v12.

Crash logs,

Fatal Exception: java.lang.RuntimeException: Unable to create application com.simpl.android.MainApplication: java.lang.RuntimeException: java.io.SyncFailedException: sync failed
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6720)
       at android.app.ActivityThread.access$1300(ActivityThread.java:250)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2045)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7829)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982)

Versions React native : 0.63.4 soloader: 0.9.0

Any idea on what could be causing this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
capezzbrcommented, Aug 6, 2021

Same here issue for us.

  • SoLoader: 0.10.1
  • React native: 0.63.3
  • Operating system cashing: 100% Android 12
  • Stacktrace:
Fatal Exception: java.lang.RuntimeException: Unable to create application com.test.android.MainApplication: java.lang.RuntimeException: java.io.SyncFailedException: sync failed
       at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6720)
       at android.app.ActivityThread.access$1300(ActivityThread.java:250)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2045)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:201)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7829)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982)
1reaction
selva-at-simplcommented, Oct 8, 2021

Hey @simpleton, sorry for the delayed response. This error was reported by the firebase crash monitor and I am not sure how to reproduce this error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android App crashes when Targeting to Android 12 [duplicate]
My App crashed when targeting to Android 12. Here is the crash log: java.lang.RuntimeException: Unable to create service com.kdr.snipping.
Read more >
java.io.SyncFailedException: sync failed - Google Groups
I've been experiencing issues with my application, and finally managed to trap the error at its source. It doesn't manifest until the program...
Read more >
Crashes | Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Here's how to fix constant app crashes in Android 12 beta
It's an issue and a solution that might seem familiar.
Read more >
Added account causes system crash and ... - Issue Tracker
gmail.com created issue #1 ... application and add an account to the Android 2.0 phone. ... 01-21 12:42:17.503: ERROR/AndroidRuntime(1296): java.lang.
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