Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK crashes on launch on android #104

Open
AhmedBeheiri1996 opened this issue Jan 15, 2025 · 3 comments
Open

SDK crashes on launch on android #104

AhmedBeheiri1996 opened this issue Jan 15, 2025 · 3 comments
Assignees

Comments

@AhmedBeheiri1996
Copy link

using 4.3.3 version of the SDK causes the app to crash on android with the following in the log
E/AndroidRuntime( 4048): at com.appcues.AppcuesKt.$r8$lambda$WFI3x3UcjFqKMV6O9Uam_fySFz8(Unknown Source:0) E/AndroidRuntime( 4048): at com.appcues.AppcuesKt$$ExternalSyntheticLambda0.onComplete(D8$$SyntheticClass:0) E/AndroidRuntime( 4048): at com.google.android.gms.tasks.zzi.run(com.google.android.gms:play-services-tasks@@18.1.0:1) E/AndroidRuntime( 4048): at android.os.Handler.handleCallback(Handler.java:959) E/AndroidRuntime( 4048): at android.os.Handler.dispatchMessage(Handler.java:100) E/AndroidRuntime( 4048): at android.os.Looper.loopOnce(Looper.java:232) E/AndroidRuntime( 4048): at android.os.Looper.loop(Looper.java:317) E/AndroidRuntime( 4048): at android.app.ActivityThread.main(ActivityThread.java:8705) E/AndroidRuntime( 4048): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 4048): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) E/AndroidRuntime( 4048): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)

@andretortolano andretortolano self-assigned this Jan 15, 2025
@andretortolano
Copy link
Contributor

Thanks for reporting this issue @AhmedBeheiri1996.

I believe you are first time trying to install appcues on your app, this error probably indicates a conflict with some of your other dependencies in some way, or more specifically play-services libraries. we are currently on classpath "com.google.gms:google-services:4.4.1" REF

google play dependencies 2.0.1 REF

See if you can identify any discrepancy between versions on your side and let us know if updating those solves the issue

@AhmedBeheiri1996
Copy link
Author

@andretortolano we are actually using id 'com.google.gms.google-services' version '4.4.2' and we don't have any google play dependencies

@andretortolano
Copy link
Contributor

it could be that some of your other imports use it, you can try to check this if you run ./gradlew build --scan from your app folder, you can search for google dependencies and see if there is any coming from other libraries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants