You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully implemented this library on Android, however after fixing my previous issue (explained here and here) my Android app crashes, with the following error:
03-01 13:17:50.125 28438-28438/com.myapp D/AbstractTracker: Event success
03-01 13:17:50.185 28438-28479/com.myapp E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #4
Process: com.myapp, PID: 28438
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:309)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.IncompatibleClassChangeError: com.google.android.gms.internal.zzbz$zza
at com.google.android.gms.auth.zze$1.zzat(Unknown Source)
at com.google.android.gms.auth.zze$1.zzau(Unknown Source)
at com.google.android.gms.auth.zze.zza(Unknown Source)
at com.google.android.gms.auth.zze.zzc(Unknown Source)
at com.google.android.gms.auth.zze.getToken(Unknown Source)
at com.google.android.gms.auth.zze.getToken(Unknown Source)
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.reactlibrary.googlesignin.RNGoogleSignInModule.getAccessToken(RNGoogleSignInModule.java:296)
at com.reactlibrary.googlesignin.RNGoogleSignInModule.access$100(RNGoogleSignInModule.java:44)
at com.reactlibrary.googlesignin.RNGoogleSignInModule$2.doInBackground(RNGoogleSignInModule.java:343)
at com.reactlibrary.googlesignin.RNGoogleSignInModule$2.doInBackground(RNGoogleSignInModule.java:340)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
03-01 13:17:50.185 28438-28479/com.myapp E/AbstractTracker: Can't create handler inside thread that has not called Looper.prepare()
03-01 13:17:50.185 28438-28479/com.myapp D/AppTracker: App Event: crash
03-01 13:17:50.189 28438-28479/com.myapp E/AbstractTracker: mTrackerAsyncQueryHandler is null
03-01 13:17:50.192 1780-3891/? W/ActivityManager: Force finishing activity com.myapp/.MainActivity
03-01 13:17:50.242 1780-1919/? V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@844cf41
03-01 13:17:50.242 1780-1919/? V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@9b83ce6
03-01 13:17:50.260 28438-28438/com.myapp D/AppTracker: App Event: stop
03-01 13:17:50.261 28438-28438/com.myapp E/DeviceManagerUtil: RunningAppProcessInfo is null
Any idea on how to solve this and what does it mean exactly ?
I see the line Caused by: java.lang.IncompatibleClassChangeError: com.google.android.gms.internal.zzbz$zza and I can make some sense of it, but honestly I don't know how to fix it.
This happens onPress of:
import GoogleSignIn from 'react-native-google-sign-in';
import { AUTH_ANDROID_CLIENT_ID } from 'react-native-dotenv';
...
async handleGoogleAuth() {
await GoogleSignIn.configure({
webClientId: AUTH_ANDROID_CLIENT_ID,
offlineAccess: false
});
const user = await GoogleSignIn.signInPromise();
console.log(user);
}
In addition I also get this often (but not related): (node:57155) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit
I am using the latest Google Sign-In OAuth SDK: 4.1.2.
Android: 6.0.1 / OxygenOS: 3.1.4
react-native-cli: 2.0.1
react-native: 0.53.0
node: 8.9.3
npm: 5.6.0
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello everyone,
I have successfully implemented this library on Android, however after fixing my previous issue (explained here and here) my Android app crashes, with the following error:
Any idea on how to solve this and what does it mean exactly ?
I see the line
Caused by: java.lang.IncompatibleClassChangeError: com.google.android.gms.internal.zzbz$zza
and I can make some sense of it, but honestly I don't know how to fix it.This happens
onPress
of:In addition I also get this often (but not related):
(node:57155) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit
I am using the latest Google Sign-In OAuth SDK: 4.1.2.
Android: 6.0.1 / OxygenOS: 3.1.4
react-native-cli: 2.0.1
react-native: 0.53.0
node: 8.9.3
npm: 5.6.0
Thanks in advance!
The text was updated successfully, but these errors were encountered: