简体   繁体   English

由于Firebase(生产版本),Android应用无法启动

[英]Android app does not start because of Firebase (On Production Release)

I have 5 app with Firebase SDK installed and they are not working right now. 我有5个安装了Firebase SDK的应用程序,它们现在无法正常工作。 3 of them are currently on the market. 目前有3个在市场上。 ( I think this is a very important issue. I am considering to remove Firebase from all of my apps ) 我认为这是一个非常重要的问题。我正在考虑从所有应用程序中删除Firebase

In the Firebase website, it is known that the Crash Service has an issue. 在Firebase网站上,众所周知崩溃服务存在问题。 But this kills the app. 但这会杀死应用程序。 It seems they did not tested this well. 看来他们测试得不好。 It is the worst bug that it can have. 这是它可能遇到的最严重的错误。

Note: 注意:

  • Samsung S4 no problem. 三星S4没问题。 (Google Play Services-Version 9.4.52) (Google Play服务版本9.4.52)
  • Samsung S6 has this issue. 三星S6有此问题。 (Google Play Services-Version 9.6.80) (Google Play服务版本9.6.80)

I don't know what to do. 我不知道该怎么办。 I use Google products because I trust them, but this is not what I expected. 我之所以使用Google产品,是因为我信任它们,但这并不是我所期望的。 Here is a copy part from an ANR report that belongs to this problem: 这是属于此问题的ANR报告的副本部分:

"main" prio=5 tid=1 TimedWaiting
  | group="main" sCount=1 dsCount=0 obj=0x772656c8 self=0x7f83df4a00
  | sysTid=31731 nice=0 cgrp=default sched=0/0 handle=0x7f87e16fc8
  | state=S schedstat=( 0 0 0 ) utm=4 stm=3 core=7 HZ=100
  | stack=0x7fcb72d000-0x7fcb72f000 stackSize=8MB
  | held mutexes=
  at java.lang.Object.wait!(Native method)
  - waiting on <0x0b2c7b14> (a java.lang.Object)
  at java.lang.Thread.parkFor$(Thread.java:1220)
  - locked <0x0b2c7b14> (a java.lang.Object)
  at sun.misc.Unsafe.park(Unsafe.java:299)
  at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2053)
  at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:372)
  at com.google.android.gms.chimera.container.GmsModuleFinder$StageFileApksResultReceiver.a(:com.google.android.gms:476)
  at com.google.android.gms.chimera.container.GmsModuleFinder.c(:com.google.android.gms:2458)
  at com.google.android.gms.chimera.container.DynamiteLoaderImpl.getModuleVersion2(:com.google.android.gms:42)
  at mgq.onTransact(:com.google.android.gms:83)
  at android.os.Binder.transact(Binder.java:387)
  at com.google.android.gms.internal.eo$a$a.a(unavailable:-1)
  at com.google.android.gms.internal.eg.a(unavailable:-1)
  at com.google.android.gms.internal.eh.a(unavailable:-1)
  at com.google.android.gms.internal.ei.a(unavailable:-1)
  at com.google.android.gms.internal.eg.a(unavailable:-1)
  at com.google.android.gms.internal.er.a(unavailable:-1)
  - locked <0x04e8afbd> (a com.google.android.gms.internal.er)
  at com.google.firebase.crash.internal.config.flag.Flags.a(unavailable:-1)
  at com.google.firebase.crash.FirebaseCrash.getInstance(unavailable:-1)
  at java.lang.reflect.Method.invoke!(Native method)
  at q.a.a(unavailable:-1)
  at q.a.a(unavailable:-1)
  at q.a.a(unavailable:-1)
  at com.google.firebase.provider.FirebaseInitProvider.onCreate(unavailable:-1)
  at android.content.ContentProvider.attachInfo(ContentProvider.java:1789)
  at android.content.ContentProvider.attachInfo(ContentProvider.java:1764)
  at com.google.firebase.provider.FirebaseInitProvider.attachInfo(unavailable:-1)
  at android.app.ActivityThread.installProvider(ActivityThread.java:6762)
  at android.app.ActivityThread.installContentProviders(ActivityThread.java:6357)
  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6297)
  at android.app.ActivityThread.access$1800(ActivityThread.java:221)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:158)
  at android.app.ActivityThread.main(ActivityThread.java:7224)
  at java.lang.reflect.Method.invoke!(Native method)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

I contacted Firebase support and here is their answer: 我联系了Firebase支持人员,这是他们的答案:

Hi David,

Thanks for reaching out to us, and sorry if you're having problem with this.

We're currently testing potential fix for this issue. This has been introduced with the Google Play Services 9.6.80, and affects all the apps using the Firebase Crash reporting.
For temporary workaround, you'll have to disable crash reporting on your app. You can remove its entry "com.google.firebase:firebase-crash:9.4.0" on your build.gradle file. 

As posted in our dashboard, all affected customers should expect a new version of Google Play services (9.6.83) by 9/17.
You can follow these links for further updates:
Firebase Status Dashboard
Google Group Discussion
Stack Overflow post
Again, apologies for the inconvenience here, David. 

Regards,
∞Allen

So there should be a new version of GPS fixing this tomorrow. 因此,明天应该有一个新版本的GPS修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android 应用程序未使用 firebase 启动意图 - Android app does not start intent with firebase Android AppLinks是否需要App的正式版? - Do Android AppLinks require a production release of App? Firebase应用启动时间分析在Android上如何工作? - How does Firebase app start time profiling work on Android? 仅在发行版上导入Firebase时,在启动时反应本机android应用程序崩溃 - React native android app crash on start when import firebase on release only 由于Firebase,Android App在启动时崩溃 - Android App crash on startup because of Firebase 日志记录会降低生产Android应用的速度吗? - Does logging slow down a production Android app? 当版本代码似乎高于生产时,“被生产取代”会阻止测试 Android Xamarin 应用程序的 Alpha 版本 - "Superseded by production" prevents testing of Alpha release of Android Xamarin app when version code appears to be higher than production Android App无法启动方法() - Android App does not start methods () Android 应用程序未连接到 Firebase - Android app does not connect to Firebase Android应用程序构建由于firebase-storage:11.0.2依赖关系而失败 - Android App build fail because of firebase-storage:11.0.2 dependency
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM