Unity Firebase Auth Freeze Catch Exception

2,432 views
Skip to first unread message

dev fanzhi

unread,
Dec 28, 2016, 10:45:36 AM12/28/16
to Firebase Google Group
Hi guys.
Does anyone know how catch a Firebase Auth Exception?

I am a newbie about Firebase. I downloaded quickstart-unity from github(lastest).
Open auth-project, Import Auth package, Database Package, Storage Package, Messaging Package.
My unity version is 5.4.2.
Google Services, Repository is lasteset.

And then I build the project. but it doesn't works all time.

Sometimes it don't works weel, app freeze, occur not responding.
I don't know what is problem, it looks exception is occured in Jar.
How can i catch these exceptions.

Besides I can find created user on Firebase console/authentication, although app freeze while create user.

Can Anyone hlep me with this? Thanks in advance.

I attached log.
auth_error_log.txt

Stewart Miles

unread,
Dec 28, 2016, 12:52:56 PM12/28/16
to fireba...@googlegroups.com
We discovered a bug in the Auth module that causes completion callbacks to occasionally fail.  We have a solution internally and are working on getting an update released asap.  Hold tight.

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/a9541231-1cd7-4589-87f8-4858c5db5a7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stewart Miles

unread,
Jan 19, 2017, 7:18:56 AM1/19/17
to Firebase Google Group
We have released version 1.1.1 of the Firebase Unity SDK, which fixes this issue. You can view the release notes and download the new version from http://firebase.google.com/docs/unity/setup.

Cheers,
Stewart
Message has been deleted

Johan Gustafsson

unread,
Jan 20, 2017, 3:38:36 PM1/20/17
to Firebase Google Group
Hello Stewart,

I just wanted to let you know that even after updating to 1.1.1 (removing any trace of the firebase plugin and then reimporting from scratch) did not completely fix this issue for me.
I am using the FacebookProvider to login and every now and then I get an ANR error when trying to authenticate.
Since I just upgraded today I haven't gotten around to test it thoroughly so I can't say exactly what is causing this or exactly under what circumstances yet.

I'll get back at ya when I have some more information to give.

This is the adb log just when it crashes:

01-20 18:35:36.242 30681-30701/? W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
01-20 18:35:36.243 30681-30701/? W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
01-20 18:35:36.307 7729-8495/? E/AsyncOperation: serviceID=16, operation=ValidateAuthServiceOperation
                                                 java.lang.NullPointerException: onPostInitComplete can be called only once per call to getRemoteService
                                                     at kpd.a(:com.google.android.gms:74)
                                                     at kme.a(:com.google.android.gms:987)
                                                     at kna.a(:com.google.android.gms:66)
                                                     at kvb.a(:com.google.android.gms:284)
                                                     at ekn.a(:com.google.android.gms:125)
                                                     at ekn.a(:com.google.android.gms:113)
                                                     at kvi.run(:com.google.android.gms:113)
                                                     at kyl.run(:com.google.android.gms:450)
                                                     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
                                                     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
                                                     at lco.run(:com.google.android.gms:17)
                                                     at java.lang.Thread.run(Thread.java:761)
01-20 18:35:36.307 7729-8495/? I/AuthChimeraService: Executing request: ProxyRequest[ url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyAssertion?key="My key", method: 1 ]
01-20 18:35:36.952 3787-3883/? I/ThermalEngine: ACTION: GPU - Setting GPU[0] to 510000000
01-20 18:35:36.993 7729-8495/? I/AuthChimeraService: Executing send connection operation
01-20 18:35:37.002 7444-8191/? W/ContentTaskController: Invalid task was provided to stopTracking.
01-20 18:35:37.008 7729-25400/? I/AuthChimeraService: Executing request: ProxyRequest[ url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/getAccountInfo?key="My key", method: 1 ]
01-20 18:35:37.063 7444-8191/? W/ContentTaskController: Invalid newTask was provided to startTracking.
01-20 18:35:37.222 7729-25400/? I/AuthChimeraService: Executing send connection operation
01-20 18:35:37.243 30681-31282/? D/FirebaseAuth: Notifying listeners about user ( tUVgQsYmcKRxmkuT0L9bVnju7Ou2 ).
01-20 18:35:37.243 30681-30681/? D/FirebaseApp: Notifying auth state listeners.
01-20 18:35:37.243 30681-30681/? D/FirebaseApp: Notified 0 auth state listeners.
01-20 18:35:38.953 3787-3883/? I/ThermalEngine: ACTION: GPU - Setting GPU[0] to 600000000
01-20 18:35:46.269 30452-30452/? I/Atfwd_Sendcmd: AtCmdFwd service not ready - Exhausted retry attempts - :6
01-20 18:35:46.270 30452-30452/? I/Atfwd_Daemon: result : -1 ,Init step :2 ,qmiErrorCode: 0
01-20 18:35:46.333 30681-30701/? W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
01-20 18:35:54.359 4878-6728/? I/InputDispatcher: Application is not responding: Window{"My package name"}.  It has been 5006.8ms since event, 5005.4ms since wait started.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 9.  Wait queue head age: 10542.5ms.


On Thursday, 19 January 2017 13:18:56 UTC+1, Stewart Miles wrote:
We have released version 1.1.1 of the Firebase Unity SDK, which fixes this issue. You can view the release notes and download the new version from http://firebase.google.com/docs/unity/setup.

Cheers,
Stewart

On Wednesday, December 28, 2016 at 5:52:56 PM UTC, Stewart Miles wrote:
We discovered a bug in the Auth module that causes completion callbacks to occasionally fail.  We have a solution internally and are working on getting an update released asap.  Hold tight.

Cheers,
Stewart
On Tue, Dec 27, 2016 at 10:46 PM, dev fanzhi <fanzh...@gmail.com> wrote:
Hi guys.
Does anyone know how catch a Firebase Auth Exception?

I am a newbie about Firebase. I downloaded quickstart-unity from github(lastest).
Open auth-project, Import Auth package, Database Package, Storage Package, Messaging Package.
My unity version is 5.4.2.
Google Services, Repository is lasteset.

And then I build the project. but it doesn't works all time.

Sometimes it don't works weel, app freeze, occur not responding.
I don't know what is problem, it looks exception is occured in Jar.
How can i catch these exceptions.

Besides I can find created user on Firebase console/authentication, although app freeze while create user.

Can Anyone hlep me with this? Thanks in advance.

I attached log.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

Benjamin Wulfe

unread,
Jan 20, 2017, 4:50:08 PM1/20/17
to Firebase Google Group
Hi Johan.

I believe this is a different issue.
Maybe you are using a pattern with multiple nested calls? 

Nicklas Ruiterman

unread,
Jan 23, 2017, 3:09:12 AM1/23/17
to Firebase Google Group
i have the same issue

it happens on Android when a token refresh is needed:
we get the CurrentUser
get a value that's not ".info/connected"
ContinueWith when completed use a delayed call before listening to ".info/connected" and getting user data
then Firebase does it's token refresh
we get a new CurrentUser object
and freeze

here's another issue related to auth:
the internet disconnects
a token refresh is triggered
best to simulate a realistic time delay here
the internet reconnects
and now ".info/connected" stays false

this ones on Android and iOS in 1.1.1

Stewart Miles

unread,
Jan 23, 2017, 5:46:45 AM1/23/17
to fireba...@googlegroups.com
Johan, Nicklas any chance you could share the code that reproduces this or you could describe how we could modify our quickstart sample to reproduce this?

Looking the log Johan posted there isn't information that points us to where the hang is occurring in Firebase, i.e no stack trace etc.

Cheers,
Stewart

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Johan Gustafsson

unread,
Jan 23, 2017, 8:33:29 AM1/23/17
to Firebase Google Group
Hello Benjamin,

I just wanted to let you know that I always get the "java.lang.NullPointerException: onPostInitComplete can be called only once per call to getRemoteService" error. Both when it works and when it crashes.
I'm not doing any nested calls as far as I know and I just downloaded the "https://github.com/firebase/quickstart-unity/tree/master/auth/testapp" and if I build it and run it just as it is without any modification(running 1.1.1) it will also produce the
same error and the same adb logcat output. So I'm not sure if the error is even related to the problem at all.

Nicklas Ruiterman

unread,
Jan 23, 2017, 8:33:34 AM1/23/17
to Firebase Google Group
i should of also mentioned that this is from starting the app up with a Firebase cached user that has an expired token

Joe Roy

unread,
Jan 24, 2017, 2:26:47 AM1/24/17
to Firebase Google Group
I'm having issues with the same thing. Running on Genymotion emulator(emulated nexus 5, android 5.0.0, api 21, google play services 10.0.84). My unity project is made from unity  5.5.0f3, firebase 1.1.1, only using auth and database modules. Note that when I import the firebase asset, I need to run the google play services resolver thing and then delete 2 of the generated files(android-support-v4 files). I'm not sure if this is relevant but I thought I'd mention it anyways. The code that does the sign in is:

 
            auth.SignInWithEmailAndPasswordAsync("CUSTOMEMAILHERE", "CUSTOMPASSWORDHERE").ContinueWith(task =>
                {
                    if (task.IsCompleted && !task.IsCanceled && !task.IsFaulted)
                    {
                        // User is now signed in.
                        emailFieldLogin.text = email;
                        passwordFieldLogin.text = password;
                        authView.SetActive(false);
                        mainView.SetActive(true);

                    }
                    else if(task.IsCanceled || task.IsFaulted){

                    }
                });

When I call the function, my app freeze most of the time and then I get the following logcat:

D/        ( 5110): HostConnection::get() New Host Connection established 0xe35160f0, tid 5127
D/        ( 1987): HostConnection::get() New Host Connection established 0xefd06140, tid 5189
D/        ( 5110): HostConnection::get() New Host Connection established 0xe3716260, tid 5126
D/Unity   ( 5110): Platform assembly: /data/app/com.Digizor.Graffiti-1/base.apk/assets/bin/Data/Managed/System.Configuration.dll (this message is harmless)
D/Unity   ( 5110): Platform assembly: /data/app/com.Digizor.Graffiti-1/base.apk/assets/bin/Data/Managed/System.Xml.dll (this message is harmless)
D/Unity   ( 5110): Setting up 1 worker threads for Enlighten.
D/Unity   ( 5110):   Thread -> id: ffffffffef994080 -> priority: 1
D/Unity   ( 5110): Unable to lookup library path for 'libc', native render plugin support disabled.
E/Unity   ( 5110): Unable to find libc
W/DynamiteModule( 5110): Local module descriptor class for com.google.firebase.auth not found.
W/DynamiteModule( 5110): Local module descriptor class for com.google.firebase.auth not found.
W/DynamiteModule( 5110): Local module descriptor class for com.google.firebase.auth not found.
E/AsyncOperation( 3023): serviceID=16, operation=ValidateAuthServiceOperation
E/AsyncOperation( 3023): java.lang.NullPointerException: onPostInitComplete can be called only once per call to getRemoteService
E/AsyncOperation( 3023):        at kqa.a(:com.google.android.gms:74)
E/AsyncOperation( 3023):        at kna.a(:com.google.android.gms:987)
E/AsyncOperation( 3023):        at knw.a(:com.google.android.gms:66)
E/AsyncOperation( 3023):        at kvy.a(:com.google.android.gms:284)
E/AsyncOperation( 3023):        at elj.a(:com.google.android.gms:125)
E/AsyncOperation( 3023):        at elj.a(:com.google.android.gms:113)
E/AsyncOperation( 3023):        at kwf.run(:com.google.android.gms:113)
E/AsyncOperation( 3023):        at kzi.run(:com.google.android.gms:450)
E/AsyncOperation( 3023):        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AsyncOperation( 3023):        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AsyncOperation( 3023):        at ldm.run(:com.google.android.gms:17)
E/AsyncOperation( 3023):        at java.lang.Thread.run(Thread.java:818)
I/AuthChimeraService( 3023): Executing request: ProxyRequest[ url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyCA4_A5sBxIqwFqqme_puJkDN-Zhx342-g, method: 1 ]
E/Drm     ( 1987): Failed to find drm plugin
W/DG.WV   ( 4145): Widevine DRM not supported on this device
W/DG.WV   ( 4145): android.media.UnsupportedSchemeException: Failed to instantiate drm object.
W/DG.WV   ( 4145):      at android.media.MediaDrm.native_setup(Native Method)
W/DG.WV   ( 4145):      at android.media.MediaDrm.<init>(MediaDrm.java:180)
W/DG.WV   ( 4145):      at obk.a(:com.google.android.gms:119)
W/DG.WV   ( 4145):      at nyd.run(:com.google.android.gms:1092)
W/DG.WV   ( 4145):      at kzi.run(:com.google.android.gms:450)
W/DG.WV   ( 4145):      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
W/DG.WV   ( 4145):      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
W/DG.WV   ( 4145):      at ldm.run(:com.google.android.gms:17)
W/DG.WV   ( 4145):      at java.lang.Thread.run(Thread.java:818)
W/Conscrypt( 2770): Could not set socket write timeout: null
W/Conscrypt( 2770): Could not set socket write timeout: null
W/GLSUser ( 2770): [AppCertManager] IOException while requesting key:
W/GLSUser ( 2770): java.io.IOException: Invalid device key response.
W/GLSUser ( 2770):      at enr.a(:com.google.android.gms:282)
W/GLSUser ( 2770):      at enr.a(:com.google.android.gms:4237)
W/GLSUser ( 2770):      at enr.a(:com.google.android.gms:167)
W/GLSUser ( 2770):      at enq.a(:com.google.android.gms:65)
W/GLSUser ( 2770):      at eno.onTransact(:com.google.android.gms:58)
W/GLSUser ( 2770):      at android.os.Binder.execTransact(Binder.java:446)
W/ContentTaskController( 2770): Invalid task was provided to stopTracking.
W/ContentTaskController( 2770): Invalid newTask was provided to startTracking.
W/Conscrypt( 3023): Could not set socket write timeout: null
W/Conscrypt( 3023): Could not set socket write timeout: null
I/AuthChimeraService( 3023): Executing send connection operation
I/AuthChimeraService( 3023): Executing request: ProxyRequest[ url: https://www.googleapis.com/identitytoolkit/v3/relyingparty/getAccountInfo?key=AIzaSyCA4_A5sBxIqwFqqme_puJkDN-Zhx342-g, method: 1 ]
I/AuthChimeraService( 3023): Executing send connection operation
D/FirebaseAuth( 5110): Notifying listeners about user ( SqmcZYUrLlNL4Yi05ZzFwsTtEF32 ).
D/FirebaseApp( 5110): Notifying auth state listeners.
D/FirebaseApp( 5110): Notified 0 auth state listeners.
W/DynamiteModule( 5110): Local module descriptor class for com.google.firebase.auth not found.
I/PlayCommon( 2971): [95] com.google.android.play.a.g.e(900): Preparing logs for uploading
I/PlayCommon( 2971): [95] com.google.android.play.a.g.e(902): No file ready to send
E/BluetoothAdapter( 2770): Bluetooth binder is null
I/art     ( 2770): Explicit concurrent mark sweep GC freed 55222(3MB) AllocSpace objects, 31(498KB) LOS objects, 40% free, 9MB/16MB, paused 414us total 19.415ms
E/DataBuffer( 2770): Internal data leak within a DataBuffer object detected!  Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@22b5bb15)



Looks very similar to the log of Johan. I've only managed to log the user once but it is unclear under what circumstances the app allowed it and unfortunately I do not have the log of it. Try and retry as I may, it doesn't seem to want to do it. I usually test with the same user credentials but trying to log with another user produces the same behavior. Please help guys, this is becoming painful. 

Stewart Miles

unread,
Jan 24, 2017, 8:05:26 AM1/24/17
to fireba...@googlegroups.com
Johan / Joe, I've been trying to reproduce this issue (random hang on sign-in) with the 1.1.1 SDK with no luck so far.

I started out by modifying the quickstart (see attached UIHandler.cs) and ran sign-in with email / password in a loop either with just sign-in repeating or sign-in / sign-out repeating.  I tested this out on:
  • Nexus 5 API 21 (L), Google Play Services 10.0.84 emulator / AVD (via Android Studio)
  • Nexus 4 API 19 (K), Google Play Services 10.2.91 physical device
In both cases the app happily continues to log in / out with no hangs.


Joe w.r.t deleting packages that are included by the Jar Resolver, sounds like a very bad idea things could fail in all sort of mysterious ways.  Could you elaborate why you felt like you needed to do this to get things to work?  As I mentioned I'm able to use the stock Android Virtual Device with no modifications to a Unity produced APK.

Nicklas, do you happen to have a trace from the failure you're seeing that we could inspect to see how the SDK is ending up in a potentially bad state?

Also, are all of you using StateChanged to track Auth state changes?  When you say your app hangs (ANR sounds very worrying indeed) are you seeing a Task never completing (e.g the result of SignInWithEmailAndPasswordAsync()) or are you seeing a hang when you call a specific method which results in a crash?   In either case, it would be great to get the logs, if you're hitting an ANR then we're blocking the main thread some how.

Cheers,
Stewart



--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
UIHandler.cs

Joe Roy

unread,
Jan 24, 2017, 10:29:58 AM1/24/17
to Firebase Google Group
Hey Stewart,

The reason I delete the files added by the jar resolver is because otherwise I can't compile the code in unity. I get some kind of DEX format error(unable to convert classes into DEX format) and my understanding of the error was that there was some duplicated classes contained in the android-support-v4 files. Deleting the files allow compilation. Apparently some other people I found after googling had the same issue and they are the ones who found this "solution". It seems to work apart from the auth problem which may be unrelated.

Also, I can't compile without running the jar resolver first either. If I just import the firebase assets, compile and run on device then the app crashes and gives some missing file error(can't recall the specifics). So I have to run the resolver and then, as pointed before, I have to delete the android-support-v4 files.

Would it help if you had a project created in a similar way? I can try to create a new project with similar code to my main project and follow the same creation process and then put it on dropbox or something.

As for your other question; I don't use statechanged and the app hangs following 
SignInWithEmailAndPasswordAsync().

Stewart Miles

unread,
Jan 24, 2017, 11:11:14 AM1/24/17
to fireba...@googlegroups.com
Any chance you could share the duplicated DEX errors you're running into?  It's possible you have included another plugin that is causing the conflict, it may also be the root cause of the problems you're seeing.

In terms of the Jar Resolver, yes it needs to be executed as we depend upon Android specific components distributed in the Android SDK (Google Play Services to be specific) as AARs.  In the happy path, the Jar Resolver is enabled to auto-execute when background resolution is enabled under Assets --> Play Services Resolver --> Android Resolver --> Settings, when this option is disabled because you're hacking around another plugin then, yes you'll need to manually executed it.

It would certainly help to share a minimal project that reproduces the problem.  We've been hacking on our quickstart sample and haven't reproduced the issue yet.

Interesting that simply calling SignInWithEmailAndPasswordAsync() causes a hang.  Do you mean that if you call SignInWithEmailAndPasswordAsync() in your game, ignoring the task result that it still hangs or do you mean that the task never completes?

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

Esteban Gaete Flores

unread,
Jan 24, 2017, 11:19:49 AM1/24/17
to Firebase Google Group
Hello everyone.

I'm facing similar problems here implementing Firebase in Unity and running in Android. I'm using the Firebase Analytics, Auth, Database and Invite packages. I already updated Firebase to 1.1.1 (doing a clean update) and I'm running in Unity 5.5.0f3.

The problem that I'm facing is that if I use FirebaseAuth.DefaultInstance.CreateUserWithEmailAndPasswordAsync(email, password) the app freezes even though if I check the console the user has been created. I've double checked and I do initialize Firebase before doing this.

Also I tried to ignore this meanwhile so I then used FirebaseAuth.DefaultInstance.SignInWithEmailAndPasswordAsync(email, password) and the app freezes too.

This is becoming really problematic as I'm trying to finalize the whole user creation process of my app and this is the only conflicting part. If having the logcat would help please let me know, yet I check it and I coudn't find any substantial information or stacktree. 

I would really like to know how to work around this, we are planning to integrate all our server communication using Firebase, we have really like it so far, but if something like this doesn't work it is going to be really problematic. I hope you can understand.

PD: When I first updated to 1.1.1 it worked very well (this was yesterday) today it freeze all the time.

Esteban Gaete Flores

unread,
Jan 24, 2017, 11:20:02 AM1/24/17
to Firebase Google Group
I faced the same problem with android-support-v4 duplicated files introduced by other plugins, but I did it the other way arround: delete the others plugin support files. It really doesn't make any difference.

Joe Roy

unread,
Jan 24, 2017, 11:31:03 AM1/24/17
to Firebase Google Group
The first error is the following:

CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.8.0_112\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="D:/Androidsdk\tools" -Dfile.encoding=UTF8 -jar "D:\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/BuildConfig;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoIcsImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoStubImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorCompatHelper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorListenerCompat;

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:613)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
at com.android.dx.command.dexer.Main.run(Main.java:277)
at com.android.dx.command.dexer.Main.main(Main.java:245)
at com.android.dx.command.Main.main(Main.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at SDKMain.main(SDKMain.java:129)
Caused by: java.lang.InterruptedException: Too many errors
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:605)
... 9 more
]
stdout[
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\armeabi-v7a\libApp.so
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\armeabi-v7a\libAuth.so
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\x86\libApp.so
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\x86\libAuth.so
processing archive D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\firebase-app-unity-1.1.1\libs\.\classes.jar...
processing archive D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\firebase-auth-10.0.1\libs\.\classes.jar...
ignored resource META-INF/
ignored resource META-INF/MANIFEST.MF
ignored resource com/
ignored resource com/google/
ignored resource com/google/android/
ignored resource com/google/android/gms/
ignored resource com/google/android/gms/internal/
processing com/google/android/gms/internal/zzbit.class...
processing com/google/android/gms/internal/zzbiu.class...
processing com/google/android/gms/internal/zzbiu$zza.class...
processing com/google/android/gms/internal/zzbiu$zzb.class...
processing com/google/android/gms/internal/zzbiu$zzc.class...
processing com/google/android/gms/internal/zzbiu$zzd.class...
processing com/google/android/gms/internal/zzbiu$zze.class...
processing com/google/android/gms/internal/zzbiu$zzf.class...
processing com/google/android/gms/internal/zzbiu$zzg.class...
processing com/google/android/gms/internal/zzbiu$zzh.class...
processing com/google/android/gms/internal/zzbiu$zzi.class...
processing com/google/android/gms/internal/zzbiu$zzj.class...
processing com/google/android/gms/internal/zzbiu$zzk.class...
processing com/google/android/gms/internal/zzbiu$zzl.class...
processing com/google/android/gms/internal/zzbiu$zzm.class...
processing com/google/android/gms/internal/zzbiu$zzn.class...
processing com/google/android/gms/internal/zzbiu$zzo.class...
processing com/google/android/gms/internal/zzbiu$zzp.class...
processing com/google/android/gms/internal/zzbiu$zzq.class...
processing com/google/android/gms/internal/zzbiu$zzr.class...
processing com/google/android/gms/internal/zzbiu$zzs.class...
processing com/google/android/gms/internal/zzbiu$zzt.class...
processing com/google/android/gms/internal/zzbiu$zzu.class...
processing com/google/android/gms/internal/zzbiu$zzv.class...
processing com/google/android/gms/internal/zzbiu$zzw.class...
processing com/google/android/gms/internal/zzbiu$zzx.class...
processing com/google/android/gms/internal/zzbiu$zzy.class...
processing com/google/android/gms/internal/zzbiv.class...
processing com/google/android/gms/internal/zzbiw.class...
processing com/google/android/gms/internal/zzbix.class...
processing com/google/android/gms/internal/zzbiy.class...
processing com/google/android/gms/internal/zzbiz.class...
processing com/google/android/gms/internal/zzbja.class...
processing com/google/android/gms/internal/zzbja$zza.class...
processing com/google/android/gms/internal/zzbja$zza$zza.class...
processing com/google/android/gms/internal/zzbjb.class...
processing com/google/android/gms/internal/zzbjb$zza.class...
processing com/google/android/gms/internal/zzbjb$zza$zza.class...
processing com/google/android/gms/internal/zzbjc.class...
processing com/google/android/gms/internal/zzbjc$1.class...
processing com/google/android/gms/internal/zzbjc$zza.class...
processing com/google/android/gms/internal/zzbjc$zza$zza.class...
processing com/google/android/gms/internal/zzbjd.class...
processing com/google/android/gms/internal/zzbje.class...
processing com/google/android/gms/internal/zzbjf.class...
processing com/google/android/gms/internal/zzbjf$1.class...
processing com/google/android/gms/internal/zzbjf$zza.class...
processing com/google/android/gms/internal/zzbjg.class...
processing com/google/android/gms/internal/zzbjh.class...
processing com/google/android/gms/internal/zzbji.class...
processing com/google/android/gms/internal/zzbjj.class...
processing com/google/android/gms/internal/zzbjk.class...
processing com/google/android/gms/internal/zzbjl.class...
processing com/google/android/gms/internal/zzbjm.class...
processing com/google/android/gms/internal/zzbjn.class...
processing com/google/android/gms/internal/zzbjo.class...
processing com/google/android/gms/internal/zzbjp.class...
processing com/google/android/gms/internal/zzbjq.class...
processing com/google/android/gms/internal/zzbjr.class...
processing com/google/android/gms/internal/zzbjs.class...
processing com/google/android/gms/internal/zzbjt.class...
processing com/google/android/gms/internal/zzbju.class...
processing com/google/android/gms/internal/zzbjv.class...
processing com/google/android/gms/internal/zzbjw.class...
processing com/google/android/gms/internal/zzbjx.class...
processing com/google/android/gms/internal/zzbjy.class...
processing com/google/android/gms/internal/zzbjz.class...
processing com/google/android/gms/internal/zzbka.class...
processing com/google/android/gms/internal/zzbkb.class...
processing com/google/android/gms/internal/zzbkc.class...
processing com/google/android/gms/internal/zzbkd.class...
processing com/google/android/gms/internal/zzbke.class...
processing com/google/android/gms/internal/zzbkf.class...
processing com/google/android/gms/internal/zzbkg.class...
processing com/google/android/gms/internal/zzbkh.class...
processing com/google/android/gms/internal/zzbki.class...
processing com/google/android/gms/internal/zzbkj.class...
processing com/google/android/gms/internal/zzbkk.class...
processing com/google/android/gms/internal/zzbkl.class...
processing com/google/android/gms/internal/zzbkm.class...
processing com/google/android/gms/internal/zzbrg.class...
processing com/google/android/gms/internal/zzbrh.class...
processing com/google/android/gms/internal/zzbri.class...
processing com/google/android/gms/internal/zzbrj.class...
processing com/google/android/gms/internal/zzbrj$1.class...
processing com/google/android/gms/internal/zzbrj$2.class...
processing com/google/android/gms/internal/zzbrj$3.class...
processing com/google/android/gms/internal/zzbrj$4.class...
processing com/google/android/gms/internal/zzbrj$5.class...
processing com/google/android/gms/internal/zzbrk.class...
processing com/google/android/gms/internal/zzbrl.class...
processing com/google/android/gms/internal/zzbrl$1.class...
processing com/google/android/gms/internal/zzbrl$2.class...
processing com/google/android/gms/internal/zzbrl$3.class...
processing com/google/android/gms/internal/zzbrl$4.class...
processing com/google/android/gms/internal/zzbrl$5.class...
processing com/google/android/gms/internal/zzbrl$zza.class...
processing com/google/android/gms/internal/zzbrm.class...
processing com/google/android/gms/internal/zzbrn.class...
processing com/google/android/gms/internal/zzbro.class...
processing com/google/android/gms/internal/zzbrp.class...
processing com/google/android/gms/internal/zzbrq.class...
processing com/google/android/gms/internal/zzbrr.class...
processing com/google/android/gms/internal/zzbrs.class...
processing com/google/android/gms/internal/zzbrt.class...
processing com/google/android/gms/internal/zzbru.class...
processing com/google/android/gms/internal/zzbrv.class...
processing com/google/android/gms/internal/zzbrw.class...
processing com/google/android/gms/internal/zzbrx.class...
processing com/google/android/gms/internal/zzbry.class...
processing com/google/android/gms/internal/zzbrz.class...
processing com/google/android/gms/internal/zzbsa.class...
processing com/google/android/gms/internal/zzbsb.class...
processing com/google/android/gms/internal/zzbsb$1.class...
processing com/google/android/gms/internal/zzbsb$2.class...
processing com/google/android/gms/internal/zzbsc.class...
processing com/google/android/gms/internal/zzbsc$1.class...
processing com/google/android/gms/internal/zzbsc$zza.class...
processing com/google/android/gms/internal/zzbsd.class...
processing com/google/android/gms/internal/zzbse.class...
processing com/google/android/gms/internal/zzbsf.class...
processing com/google/android/gms/internal/zzbsg.class...
processing com/google/android/gms/internal/zzbsh.class...
processing com/google/android/gms/internal/zzbsi.class...
processing com/google/android/gms/internal/zzbsj.class...
processing com/google/android/gms/internal/zzbsk.class...
processing com/google/android/gms/internal/zzbsk$zza.class...
processing com/google/android/gms/internal/zzbsk$zzb.class...
processing com/google/android/gms/internal/zzbsk$zzc.class...
processing com/google/android/gms/internal/zzbsl.class...
processing com/google/android/gms/internal/zzbsl$1.class...
processing com/google/android/gms/internal/zzbsl$10.class...
processing com/google/android/gms/internal/zzbsl$11.class...
processing com/google/android/gms/internal/zzbsl$12.class...
processing com/google/android/gms/internal/zzbsl$2.class...
processing com/google/android/gms/internal/zzbsl$3.class...
processing com/google/android/gms/internal/zzbsl$4.class...
processing com/google/android/gms/internal/zzbsl$5.class...
processing com/google/android/gms/internal/zzbsl$6.class...
processing com/google/android/gms/internal/zzbsl$7.class...
processing com/google/android/gms/internal/zzbsl$8.class...
processing com/google/android/gms/internal/zzbsl$9.class...
processing com/google/android/gms/internal/zzbsm.class...
processing com/google/android/gms/internal/zzbsm$1.class...
processing com/google/android/gms/internal/zzbsn.class...
processing com/google/android/gms/internal/zzbso.class...
processing com/google/android/gms/internal/zzbsp.class...
processing com/google/android/gms/internal/zzbsp$1.class...
processing com/google/android/gms/internal/zzbsp$zza.class...
processing com/google/android/gms/internal/zzbsp$zza$1.class...
processing com/google/android/gms/internal/zzbsp$zzb.class...
processing com/google/android/gms/internal/zzbsp$zzb$1.class...
processing com/google/android/gms/internal/zzbsp$zzc.class...
processing com/google/android/gms/internal/zzbsp$zzd.class...
processing com/google/android/gms/internal/zzbsq.class...
processing com/google/android/gms/internal/zzbsr.class...
processing com/google/android/gms/internal/zzbss.class...
processing com/google/android/gms/internal/zzbss$1.class...
processing com/google/android/gms/internal/zzbss$zza.class...
processing com/google/android/gms/internal/zzbss$zza$zza.class...
processing com/google/android/gms/internal/zzbst.class...
processing com/google/android/gms/internal/zzbst$1.class...
processing com/google/android/gms/internal/zzbst$2.class...
processing com/google/android/gms/internal/zzbst$3.class...
processing com/google/android/gms/internal/zzbst$4.class...
processing com/google/android/gms/internal/zzbsu.class...
processing com/google/android/gms/internal/zzbsu$1.class...
processing com/google/android/gms/internal/zzbsv.class...
processing com/google/android/gms/internal/zzbsv$zza.class...
processing com/google/android/gms/internal/zzbsw.class...
processing com/google/android/gms/internal/zzbsw$1.class...
processing com/google/android/gms/internal/zzbsx.class...
processing com/google/android/gms/internal/zzbsy.class...
processing com/google/android/gms/internal/zzbsy$1.class...
processing com/google/android/gms/internal/zzbsz.class...
processing com/google/android/gms/internal/zzbsz$1.class...
processing com/google/android/gms/internal/zzbta.class...
processing com/google/android/gms/internal/zzbta$zza.class...
processing com/google/android/gms/internal/zzbtb.class...
processing com/google/android/gms/internal/zzbtb$1.class...
processing com/google/android/gms/internal/zzbtb$2.class...
processing com/google/android/gms/internal/zzbtc.class...
processing com/google/android/gms/internal/zzbtc$1.class...
processing com/google/android/gms/internal/zzbtc$zza.class...
processing com/google/android/gms/internal/zzbtc$zzb.class...
processing com/google/android/gms/internal/zzbtd.class...
processing com/google/android/gms/internal/zzbtd$1.class...
processing com/google/android/gms/internal/zzbte.class...
processing com/google/android/gms/internal/zzbte$1.class...
processing com/google/android/gms/internal/zzbtf.class...
processing com/google/android/gms/internal/zzbtg.class...
processing com/google/android/gms/internal/zzbtg$1.class...
processing com/google/android/gms/internal/zzbtg$10.class...
processing com/google/android/gms/internal/zzbtg$11.class...
processing com/google/android/gms/internal/zzbtg$12.class...
processing com/google/android/gms/internal/zzbtg$13.class...
processing com/google/android/gms/internal/zzbtg$14.class...
processing com/google/android/gms/internal/zzbtg$15.class...
processing com/google/android/gms/internal/zzbtg$15$1.class...
processing com/google/android/gms/internal/zzbtg$16.class...
processing com/google/android/gms/internal/zzbtg$17.class...
processing com/google/android/gms/internal/zzbtg$18.class...
processing com/google/android/gms/internal/zzbtg$19.class...
processing com/google/android/gms/internal/zzbtg$2.class...
processing com/google/android/gms/internal/zzbtg$20.class...
processing com/google/android/gms/internal/zzbtg$21.class...
processing com/google/android/gms/internal/zzbtg$22.class...
processing com/google/android/gms/internal/zzbtg$23.class...
processing com/google/android/gms/internal/zzbtg$24.class...
processing com/google/android/gms/internal/zzbtg$25.class...
processing com/google/android/gms/internal/zzbtg$26.class...
processing com/google/android/gms/internal/zzbtg$27.class...
processing com/google/android/gms/internal/zzbtg$28.class...
processing com/google/android/gms/internal/zzbtg$<message truncated>

The 2nd error is the following:

CommandInvokationFailure: Unable to convert classes into dex format.
C:/Program Files/Java/jdk1.8.0_112\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="D:/Androidsdk\tools" -Dfile.encoding=UTF8 -jar "D:\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/BuildConfig;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoIcsImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoStubImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorCompatHelper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorListenerCompat;

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:613)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
at com.android.dx.command.dexer.Main.run(Main.java:277)
at com.android.dx.command.dexer.Main.main(Main.java:245)
at com.android.dx.command.Main.main(Main.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at SDKMain.main(SDKMain.java:129)
Caused by: java.lang.InterruptedException: Too many errors
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:605)
... 9 more
]
stdout[
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\armeabi-v7a\libApp.so
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\armeabi-v7a\libAuth.so
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\x86\libApp.so
ignored resource D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\Firebase\libs\.\x86\libAuth.so
processing archive D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\firebase-app-unity-1.1.1\libs\.\classes.jar...
processing archive D:\Unity projects\FirebaseAR\Temp\StagingArea\android-libraries\firebase-auth-10.0.1\libs\.\classes.jar...
ignored resource META-INF/
ignored resource META-INF/MANIFEST.MF
ignored resource com/
ignored resource com/google/
ignored resource com/google/android/
ignored resource com/google/android/gms/
ignored resource com/google/android/gms/internal/
processing com/google/android/gms/internal/zzbit.class...
processing com/google/android/gms/internal/zzbiu.class...
processing com/google/android/gms/internal/zzbiu$zza.class...
processing com/google/android/gms/internal/zzbiu$zzb.class...
processing com/google/android/gms/internal/zzbiu$zzc.class...
processing com/google/android/gms/internal/zzbiu$zzd.class...
processing com/google/android/gms/internal/zzbiu$zze.class...
processing com/google/android/gms/internal/zzbiu$zzf.class...
processing com/google/android/gms/internal/zzbiu$zzg.class...
processing com/google/android/gms/internal/zzbiu$zzh.class...
processing com/google/android/gms/internal/zzbiu$zzi.class...
processing com/google/android/gms/internal/zzbiu$zzj.class...
processing com/google/android/gms/internal/zzbiu$zzk.class...
processing com/google/android/gms/internal/zzbiu$zzl.class...
processing com/google/android/gms/internal/zzbiu$zzm.class...
processing com/google/android/gms/internal/zzbiu$zzn.class...
processing com/google/android/gms/internal/zzbiu$zzo.class...
processing com/google/android/gms/internal/zzbiu$zzp.class...
processing com/google/android/gms/internal/zzbiu$zzq.class...
processing com/google/android/gms/internal/zzbiu$zzr.class...
processing com/google/android/gms/internal/zzbiu$zzs.class...
processing com/google/android/gms/internal/zzbiu$zzt.class...
processing com/google/android/gms/internal/zzbiu$zzu.class...
processing com/google/android/gms/internal/zzbiu$zzv.class...
processing com/google/android/gms/internal/zzbiu$zzw.class...
processing com/google/android/gms/internal/zzbiu$zzx.class...
processing com/google/android/gms/internal/zzbiu$zzy.class...
processing com/google/android/gms/internal/zzbiv.class...
processing com/google/android/gms/internal/zzbiw.class...
processing com/google/android/gms/internal/zzbix.class...
processing com/google/android/gms/internal/zzbiy.class...
processing com/google/android/gms/internal/zzbiz.class...
processing com/google/android/gms/internal/zzbja.class...
processing com/google/android/gms/internal/zzbja$zza.class...
processing com/google/android/gms/internal/zzbja$zza$zza.class...
processing com/google/android/gms/internal/zzbjb.class...
processing com/google/android/gms/internal/zzbjb$zza.class...
processing com/google/android/gms/internal/zzbjb$zza$zza.class...
processing com/google/android/gms/internal/zzbjc.class...
processing com/google/android/gms/internal/zzbjc$1.class...
processing com/google/android/gms/internal/zzbjc$zza.class...
processing com/google/android/gms/internal/zzbjc$zza$zza.class...
processing com/google/android/gms/internal/zzbjd.class...
processing com/google/android/gms/internal/zzbje.class...
processing com/google/android/gms/internal/zzbjf.class...
processing com/google/android/gms/internal/zzbjf$1.class...
processing com/google/android/gms/internal/zzbjf$zza.class...
processing com/google/android/gms/internal/zzbjg.class...
processing com/google/android/gms/internal/zzbjh.class...
processing com/google/android/gms/internal/zzbji.class...
processing com/google/android/gms/internal/zzbjj.class...
processing com/google/android/gms/internal/zzbjk.class...
processing com/google/android/gms/internal/zzbjl.class...
processing com/google/android/gms/internal/zzbjm.class...
processing com/google/android/gms/internal/zzbjn.class...
processing com/google/android/gms/internal/zzbjo.class...
processing com/google/android/gms/internal/zzbjp.class...
processing com/google/android/gms/internal/zzbjq.class...
processing com/google/android/gms/internal/zzbjr.class...
processing com/google/android/gms/internal/zzbjs.class...
processing com/google/android/gms/internal/zzbjt.class...
processing com/google/android/gms/internal/zzbju.class...
processing com/google/android/gms/internal/zzbjv.class...
processing com/google/android/gms/internal/zzbjw.class...
processing com/google/android/gms/internal/zzbjx.class...
processing com/google/android/gms/internal/zzbjy.class...
processing com/google/android/gms/internal/zzbjz.class...
processing com/google/android/gms/internal/zzbka.class...
processing com/google/android/gms/internal/zzbkb.class...
processing com/google/android/gms/internal/zzbkc.class...
processing com/google/android/gms/internal/zzbkd.class...
processing com/google/android/gms/internal/zzbke.class...
processing com/google/android/gms/internal/zzbkf.class...
processing com/google/android/gms/internal/zzbkg.class...
processing com/google/android/gms/internal/zzbkh.class...
processing com/google/android/gms/internal/zzbki.class...
processing com/google/android/gms/internal/zzbkj.class...
processing com/google/android/gms/internal/zzbkk.class...
processing com/google/android/gms/internal/zzbkl.class...
processing com/google/android/gms/internal/zzbkm.class...
processing com/google/android/gms/internal/zzbrg.class...
processing com/google/android/gms/internal/zzbrh.class...
processing com/google/android/gms/internal/zzbri.class...
processing com/google/android/gms/internal/zzbrj.class...
processing com/google/android/gms/internal/zzbrj$1.class...
processing com/google/android/gms/internal/zzbrj$2.class...
processing com/google/android/gms/internal/zzbrj$3.class...
processing com/google/android/gms/internal/zzbrj$4.class...
processing com/google/android/gms/internal/zzbrj$5.class...
processing com/google/android/gms/internal/zzbrk.class...
processing com/google/android/gms/internal/zzbrl.class...
processing com/google/android/gms/internal/zzbrl$1.class...
processing com/google/android/gms/internal/zzbrl$2.class...
processing com/google/android/gms/internal/zzbrl$3.class...
processing com/google/android/gms/internal/zzbrl$4.class...
processing com/google/android/gms/internal/zzbrl$5.class...
processing com/google/android/gms/internal/zzbrl$zza.class...
processing com/google/android/gms/internal/zzbrm.class...
processing com/google/android/gms/internal/zzbrn.class...
processing com/google/android/gms/internal/zzbro.class...
processing com/google/android/gms/internal/zzbrp.class...
processing com/google/android/gms/internal/zzbrq.class...
processing com/google/android/gms/internal/zzbrr.class...
processing com/google/android/gms/internal/zzbrs.class...
processing com/google/android/gms/internal/zzbrt.class...
processing com/google/android/gms/internal/zzbru.class...
processing com/google/android/gms/internal/zzbrv.class...
processing com/google/android/gms/internal/zzbrw.class...
processing com/google/android/gms/internal/zzbrx.class...
processing com/google/android/gms/internal/zzbry.class...
processing com/google/android/gms/internal/zzbrz.class...
processing com/google/android/gms/internal/zzbsa.class...
processing com/google/android/gms/internal/zzbsb.class...
processing com/google/android/gms/internal/zzbsb$1.class...
processing com/google/android/gms/internal/zzbsb$2.class...
processing com/google/android/gms/internal/zzbsc.class...
processing com/google/android/gms/internal/zzbsc$1.class...
processing com/google/android/gms/internal/zzbsc$zza.class...
processing com/google/android/gms/internal/zzbsd.class...
processing com/google/android/gms/internal/zzbse.class...
processing com/google/android/gms/internal/zzbsf.class...
processing com/google/android/gms/internal/zzbsg.class...
processing com/google/android/gms/internal/zzbsh.class...
processing com/google/android/gms/internal/zzbsi.class...
processing com/google/android/gms/internal/zzbsj.class...
processing com/google/android/gms/internal/zzbsk.class...
processing com/google/android/gms/internal/zzbsk$zza.class...
processing com/google/android/gms/internal/zzbsk$zzb.class...
processing com/google/android/gms/internal/zzbsk$zzc.class...
processing com/google/android/gms/internal/zzbsl.class...
processing com/google/android/gms/internal/zzbsl$1.class...
processing com/google/android/gms/internal/zzbsl$10.class...
processing com/google/android/gms/internal/zzbsl$11.class...
processing com/google/android/gms/internal/zzbsl$12.class...
processing com/google/android/gms/internal/zzbsl$2.class...
processing com/google/android/gms/internal/zzbsl$3.class...
processing com/google/android/gms/internal/zzbsl$4.class...
processing com/google/android/gms/internal/zzbsl$5.class...
processing com/google/android/gms/internal/zzbsl$6.class...
processing com/google/android/gms/internal/zzbsl$7.class...
processing com/google/android/gms/internal/zzbsl$8.class...
processing com/google/android/gms/internal/zzbsl$9.class...
processing com/google/android/gms/internal/zzbsm.class...
processing com/google/android/gms/internal/zzbsm$1.class...
processing com/google/android/gms/internal/zzbsn.class...
processing com/google/android/gms/internal/zzbso.class...
processing com/google/android/gms/internal/zzbsp.class...
processing com/google/android/gms/internal/zzbsp$1.class...
processing com/google/android/gms/internal/zzbsp$zza.class...
processing com/google/android/gms/internal/zzbsp$zza$1.class...
processing com/google/android/gms/internal/zzbsp$zzb.class...
processing com/google/android/gms/internal/zzbsp$zzb$1.class...
processing com/google/android/gms/internal/zzbsp$zzc.class...
processing com/google/android/gms/internal/zzbsp$zzd.class...
processing com/google/android/gms/internal/zzbsq.class...
processing com/google/android/gms/internal/zzbsr.class...
processing com/google/android/gms/internal/zzbss.class...
processing com/google/android/gms/internal/zzbss$1.class...
processing com/google/android/gms/internal/zzbss$zza.class...
processing com/google/android/gms/internal/zzbss$zza$zza.class...
processing com/google/android/gms/internal/zzbst.class...
processing com/google/android/gms/internal/zzbst$1.class...
processing com/google/android/gms/internal/zzbst$2.class...
processing com/google/android/gms/internal/zzbst$3.class...
processing com/google/android/gms/internal/zzbst$4.class...
processing com/google/android/gms/internal/zzbsu.class...
processing com/google/android/gms/internal/zzbsu$1.class...
processing com/google/android/gms/internal/zzbsv.class...
processing com/google/android/gms/internal/zzbsv$zza.class...
processing com/google/android/gms/internal/zzbsw.class...
processing com/google/android/gms/internal/zzbsw$1.class...
processing com/google/android/gms/internal/zzbsx.class...
processing com/google/android/gms/internal/zzbsy.class...
processing com/google/android/gms/internal/zzbsy$1.class...
processing com/google/android/gms/internal/zzbsz.class...
processing com/google/android/gms/internal/zzbsz$1.class...
processing com/google/android/gms/internal/zzbta.class...
processing com/google/android/gms/internal/zzbta$zza.class...
processing com/google/android/gms/internal/zzbtb.class...
processing com/google/android/gms/internal/zzbtb$1.class...
processing com/google/android/gms/internal/zzbtb$2.class...
processing com/google/android/gms/internal/zzbtc.class...
processing com/google/android/gms/internal/zzbtc$1.class...
processing com/google/android/gms/internal/zzbtc$zza.class...
processing com/google/android/gms/internal/zzbtc$zzb.class...
processing com/google/android/gms/internal/zzbtd.class...
processing com/google/android/gms/internal/zzbtd$1.class...
processing com/google/android/gms/internal/zzbte.class...
processing com/google/android/gms/internal/zzbte$1.class...
processing com/google/android/gms/internal/zzbtf.class...
processing com/google/android/gms/internal/zzbtg.class...
processing com/google/android/gms/internal/zzbtg$1.class...
processing com/google/android/gms/internal/zzbtg$10.class...
processing com/google/android/gms/internal/zzbtg$11.class...
processing com/google/android/gms/internal/zzbtg$12.class...
processing com/google/android/gms/internal/zzbtg$13.class...
processing com/google/android/gms/internal/zzbtg$14.class...
processing com/google/android/gms/internal/zzbtg$15.class...
processing com/google/android/gms/internal/zzbtg$15$1.class...
processing com/google/android/gms/internal/zzbtg$16.class...
processing com/google/android/gms/internal/zzbtg$17.class...
processing com/google/android/gms/internal/zzbtg$18.class...
processing com/google/android/gms/internal/zzbtg$19.class...
processing com/google/android/gms/internal/zzbtg$2.class...
processing com/google/android/gms/internal/zzbtg$20.class...
processing com/google/android/gms/internal/zzbtg$21.class...
processing com/google/android/gms/internal/zzbtg$22.class...
processing com/google/android/gms/internal/zzbtg$23.class...
processing com/google/android/gms/internal/zzbtg$24.class...
processing com/google/android/gms/internal/zzbtg$25.class...
processing com/google/android/gms/internal/zzbtg$26.class...
processing com/google/android/gms/internal/zzbtg$27.class...
processing com/google/android/gms/internal/zzbtg$28.class...
processing com/google/android/gms/internal/zzbtg$<message truncated>

And yes, I ignore the task results of SignInWithEmailAndPasswordAsync(). I have not implemented yet some UI control that waits for the task to complete. I basically just have 2 input field and a button that when pressed call signIn with the inputs of the 2 field. I'll try to see if I can make a project and upload it as mentioned earlier.

Stewart Miles

unread,
Jan 24, 2017, 11:43:39 AM1/24/17
to fireba...@googlegroups.com
Joe, you should try to follow Esteban's lead :)

If you could remove the duplicate aars / jars from the other plugins that would be great as it would synchronize to the correct revision of the support library (and whatever else you're deleting) in addition to keeping everything up to date as we upgrade the SDK.


Esteban, any logs you can share would be appreciated.  Similar to Joe I was wondering whether the hang you're seeing is simply the entire application stops or you never get a callback on the task returned by FirebaseAuth.DefaultInstance.CreateUserWithEmailAndPasswordAsync(email, password) or  FirebaseAuth.DefaultInstance.SignInWithEmailAndPasswordAsync(email, password) ?




--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

Juan Bayona Beriso

unread,
Jan 24, 2017, 3:54:48 PM1/24/17
to Firebase Google Group
I'm having the same issue when trying to auth with google (firebase 1.1.1 and unity 5.5.0f3), the game freezes and I get an ANR.

I think it has something to do if you try to auth when you are already authed, if I try to auth when I am already authed my app crashes and I receive the ANR.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Joe Roy

unread,
Jan 24, 2017, 3:54:48 PM1/24/17
to Firebase Google Group
I've created a package with limited stuff that produce the error: https://www.dropbox.com/s/2wlu20a0b4g2prd/testFirebase.unitypackage?dl=0

You need to add a firebase config json and also click on the FirebaseController gameobject and set the databaseURL string variable. Let me know if you have any issue.

As for deleting the other plugin file, I think the classes are referenced from inside the 2nd plugin I use so I'd have to open the jar and mess with the code (I think? not really familiar with this). Basically, there is not a duplicate android-support-v4 file to delete. Thankfully I only need this plugin for now so in the future I'll just use whatever the resolver give me.

With that said, I did try to remove the 2nd plugin completely, run the resolver and finally try to run the app again. It still hanged with the same kind of error.

Simon Hopkin

unread,
Jan 24, 2017, 3:54:48 PM1/24/17
to Firebase Google Group
I'm facing the same issue with Unity 5.5.0f3 and Firebase 1.1.1 running on Android 6.0.1 Samsung Galaxy S6.

I perform an auth.SignInWithCredentialAsync and the task completes but as soon as I access auth.CurrentUser the app freezes.  The same code works perfectly fine in the Unity Editor and on iOS devices.

Esteban Gaete Flores

unread,
Jan 24, 2017, 3:54:49 PM1/24/17
to Firebase Google Group
In my case the whole application freezes for several seconds until it crashes (this can take quite a while sometimes).

By the way I want to share a find I just had: If you read from the database (GetValue) and after that (In my case I'm not using continue with on this, but just clicking another button on the screen) you make the CreateUserWithEmailAndPasswordAsync or SignInWithEmailAndPasswordAsync the calls work perfectly, no app freezes, all calbacks done and console updated with excepted information. So it may be that if you use the auth methods before connecting and handshaking to firebase server that the freeze trigger.

About the log, I will try to get you one tomorrow! 


El martes, 24 de enero de 2017, 17:43:39 (UTC+1), Stewart Miles escribió:
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Juan Bayona Beriso

unread,
Jan 24, 2017, 3:54:50 PM1/24/17
to Firebase Google Group
I was having this issue even with 1.1.1 and it was because I was trying to auth when I was already authed or I was using an empty accesstoken with google sign in


El martes, 24 de enero de 2017, 17:43:39 (UTC+1), Stewart Miles escribió:
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Joe Roy

unread,
Jan 26, 2017, 3:46:04 PM1/26/17
to Firebase Google Group
Juan, I checked and even if I signout the user before calling signin, it freezes.

Esteban, reading from the db just before doesn't seem to work for me. Does it work for any value?

Joe Roy

unread,
Jan 26, 2017, 4:28:14 PM1/26/17
to Firebase Google Group
Guys, I finally found a way to avoid the issue. Just don't use continueWith() after your signin call...the freeze seems to be caused by continuewith(). But if I don't use that call and instead rely on the authstatechanged listener for my logic then I don't experience any freeze. For the time being, I suggest you all stick with that.

Stewart Miles

unread,
Jan 27, 2017, 10:52:52 AM1/27/17
to fireba...@googlegroups.com
FYI We think we were able to reproduce the issue - we definitely found a hang - and have tracked down the deadlock.  We have a patch that we're testing at the moment, stay tuned for updates :)

On Thu, Jan 26, 2017 at 8:48 PM, Joe Roy <joe2...@gmail.com> wrote:
Guys, I finally found a way to avoid the issue. Just don't use continueWith() after your signin call...the freeze seems to be caused by continuewith(). But if I don't use that call and instead rely on the authstatechanged listener for my logic then I don't experience any freeze. For the time being, I suggest you all stick with that.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

Esteban Gaete Flores

unread,
Jan 27, 2017, 1:53:14 PM1/27/17
to Firebase Google Group
Hey Stewart, thanks for the update!

It seems like reading from DB before trying Auth is not a consistent work around as it has failed me a couple of times now.

I'm trying Joe Roy suggestion and is working. The only down part of this is that I cannot catch errors on the auth (like someone trying to create an account with a email already in the system). But for now I can ignore that. Thanks!


El viernes, 27 de enero de 2017, 16:52:52 (UTC+1), Stewart Miles escribió:
FYI We think we were able to reproduce the issue - we definitely found a hang - and have tracked down the deadlock.  We have a patch that we're testing at the moment, stay tuned for updates :)
On Thu, Jan 26, 2017 at 8:48 PM, Joe Roy <joe2...@gmail.com> wrote:
Guys, I finally found a way to avoid the issue. Just don't use continueWith() after your signin call...the freeze seems to be caused by continuewith(). But if I don't use that call and instead rely on the authstatechanged listener for my logic then I don't experience any freeze. For the time being, I suggest you all stick with that.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Pius Uzamere

unread,
Feb 2, 2017, 9:28:09 PM2/2/17
to Firebase Google Group
Any updates on a fix? Even avoiding ContinueWith isn't foolproof for me.

Joe Roy

unread,
Feb 2, 2017, 9:28:14 PM2/2/17
to Firebase Google Group
Hey Stewart,

When can we expect a new release?

Esteban Gaete Flores

unread,
Feb 3, 2017, 10:32:40 AM2/3/17
to Firebase Google Group
Yes Stewart! We are waiting :D

As Pius said the Joe Roy suggestion is not bullet proof. Works most of the time, but still freezes.

Joe Roy

unread,
Feb 3, 2017, 8:45:57 PM2/3/17
to Firebase Google Group
I can confirm on my side too that using the method I proposed doesn't appear to work all the time... It freezes a lot less than when using "continue with" but it still happen. Has anyone tried putting the sign in method on a separate thread? It might bypass the issue. I'll try that today if I have the time.

Joe Roy

unread,
Feb 3, 2017, 8:45:57 PM2/3/17
to Firebase Google Group
Nevermind, I tried calling sign in on a different thread but that didn't work. I guess we'd have to put the auth oject on that 2nd thread. Maybe that would work. 

Simon Hopkin

unread,
Feb 6, 2017, 10:55:05 AM2/6/17
to Firebase Google Group
Hi Stewart, do you have an ETA on the fix for this issue?

Jon Simantov

unread,
Feb 6, 2017, 8:18:53 PM2/6/17
to Firebase Google Group
Hi Simon and others,

Version 1.1.2 of the Firebase Unity SDK has been released, which fixes the deadlock in Firebase Authentiation.


And download the new version from here: https://firebase.google.com/docs/unity/setup

Simon Hopkin

unread,
Feb 7, 2017, 10:07:57 AM2/7/17
to Firebase Google Group
Thanks Jon, I will try the new version later on today.

Joe Roy

unread,
Feb 7, 2017, 12:20:05 PM2/7/17
to Firebase Google Group
Hey Jon,

Thanks for the work. It still freezes with the auth listener so far using 1.1.2. I'll investigate to make sure it's not something on my side and I'll also switch back to the "continuewith" method and see what happens.

Simon Hopkin

unread,
Feb 7, 2017, 5:23:04 PM2/7/17
to Firebase Google Group
Hi Jon, it's working for me, thanks for the update.

For anyone trying the update please note I had to remove all firebase files from my assets before I imported the updated packages in order to get it working.

Pius Uzamere

unread,
Feb 7, 2017, 5:52:37 PM2/7/17
to fireba...@googlegroups.com
This fixes the issue for me as well, thanks for the update!

On Tue, Feb 7, 2017 at 11:51 AM, Simon Hopkin <simon...@gmail.com> wrote:
Hi Jon, it's working for me, thanks for the update.

For anyone trying the update please note I had to remove all firebase files from my assets before I imported the updated packages in order to get it working.

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/F350FTdEeHA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Joe Roy

unread,
Feb 8, 2017, 10:34:14 AM2/8/17
to Firebase Google Group
After removing all previous firebase files I believe it works now. Thanks a lot!

Esteban Gaete Flores

unread,
Feb 8, 2017, 10:34:14 AM2/8/17
to Firebase Google Group
Hey Jon thanks!

I did a clean updated and so far is working as intended. Thanks!

Davida Ratsimbazafy

unread,
Mar 16, 2017, 12:04:07 AM3/16/17
to Firebase Google Group
Hi
with 3.0.0 is it working? mine freeze and crash
thanks

Stewart Miles

unread,
Apr 5, 2017, 5:19:44 PM4/5/17
to fireba...@googlegroups.com
Hi David,

Did 3.0.1 work for you?  What crashes / freezes exactly?

Cheers,
Stewart

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

Davida Ratsimbazafy

unread,
Apr 6, 2017, 10:01:45 AM4/6/17
to Firebase Google Group
Hi Stewart,
thanks for your reply,
it works now even with the 3.0.0

thanks


On Thursday, April 6, 2017 at 12:19:44 AM UTC+3, Stewart Miles wrote:
Hi David,

Did 3.0.1 work for you?  What crashes / freezes exactly?

Cheers,
Stewart
On Wed, Mar 15, 2017 at 5:58 PM, Davida Ratsimbazafy <cybe...@gmail.com> wrote:
Hi
with 3.0.0 is it working? mine freeze and crash
thanks

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages