Firebaselistadapter错误
更新我的应用程序以使用新的Firebase之后,我开始收到以下错误
java.lang.RuntimeException:java.lang.InstantiationException:无法在com.google.android上com.google.android.gms.internal.zzaix $ zza.zze(未知源代码)实例化抽象类java.util.Dictionary。请访问com.google.android.gms.internal.zzaix.zzb(未知源代码)com.google.android.gms.internal.zzaix.zza(未知源代码)中的gms.internal.zzaix.zza(未知源代码)。 google.android.gms.internal.zzaix $ zza.zze(未知来源),位于com.google.android.gms.internal.zzaix $ zza.zzaC(未知来源),位于com.google.android.gms.internal.zzaix。 com.google.android.gms.internal.zzaix.zzb(未知来源)的com.google.android.gms.internal.zzaix.zza(未知来源)的com.google.firebase.database中的zzd(未知来源)。在com.firebase.ui.database.FirebaseListAdapter.getItem(FirebaseListAdapter.java:102)上com.firebase处的com.firebase.ui.database.FirebaseListAdapter.parseSnapshot(FirebaseListAdapter.java:113)处的DataSnapshot.getValue(Unknown Source)。 ui.database.FirebaseListAdapter.getView(FirebaseListAdapte r.java:130)在android.widget.AbsListView.obtainView(AbsListView.java:2842)在android.widget.ListView.makeAndAddView(ListView.java:1884)在android.widget.ListView.fillDown(ListView.java:713) )在android.widget.ListView.onLayout(AbsListView.java:2632)上android.widget.ListView.fillFromTop(ListView.java:779)在android.widget.ListView.layoutChildren(ListView.java:1679) .view.layout(View.java:16550)at android.view.ViewGroup.layout(ViewGroup.java:5303)at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)at android.view.View.layout( View.java:16550)在android.widget.FrameLayout.onLayout(FrameLayout.java:508)android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)android.view.ViewGroup.layout(ViewGroup.java:5303) )在android.widget上的android.widget.LinearLayout.setChildFrame(LinearLayout.java:2102)上的android.view.ViewGroup.layout(ViewGroup.java:5303)上的android.view.View.layout(View.java:16550) .LinearLayout.layoutVertical(LinearLayout.java :1956)在android.view.View.layout(ViewGroup.java:5303)android.view.View.layout(View.java:16550)android.widget.LinearLayout.onLayout(LinearLayout.java:1865) .widget.FrameLayout.layoutChildren(FrameLayout.java:573)在android.view.ViewGroup的android.view.View.layout(View.java:16550)android.widget.FrameLayout.onLayout(FrameLayout.java:508)。在android.widget.LineoutLayout.setLayout.onLayout上的android.widget.LinearLayout.layoutVertical(LinearLayout.java:1956)android.widget.LinearLayout.setChildFrame(LinearLayout.java:2102)上的布局(ViewGroup.java:5303) :1865)at android.view.View.layout(View.java:16550)at android.view.ViewGroup.layout(ViewGroup.java:5303)at android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)at android .widget.FrameLayout.onLayout(FrameLayout.java:508)at android.view.View.layout(View.java:16550)at android.view.ViewGroup.layout(ViewGroup.java:5303)at android.view.ViewRootImpl。在andr处执行布局(ViewRootImpl.java:2308) oid.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2021)at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1180)at android.view.ViewRootImpl $ TraversalRunnable.run(ViewRootImpl.java:6558)at android.view .Choreographer $ CallbackRecord.run(Choreographer.java:777)at android.view.Choreographer.doCallbacks(Choreographer.java:590)at android.view.Choreographer.doFrame(Choreographer.java:560)at android.view.Choreographer $在android.os.Handler.handleCallback(Handler.java:739)上的android.os.Handler.dispatchMessage(Handler.java:95)android.os.Looper.loop(Looper)上的FrameDisplayEventReceiver.run(Choreographer.java:763) .java:145)at android.app.ActivityThread.main(ActivityThread.java:5834)at java.lang.reflect.Method.invoke(Native Method)at java.lang.reflect.Method.invoke(Method.java:372 )at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run(ZygoteInit.java:1399)at com.android.internal.os.Z
我无法找到我的代码中对该错误负责的位置。
链接地址: http://www.djcxy.com/p/93145.html