1

When I add implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.0' to my gradle file, Android Studio cannot generate apk, instead it gives this error:

CreateProcess error=206, The filename or extension is too long.

Android Studio Detailed Errors

Any help would be much appreciated guys. Thanks.

Sagar Zala
  • 4,854
  • 9
  • 34
  • 62
Joseph Wambura
  • 2,732
  • 2
  • 21
  • 24

1 Answers1

0

I had to remove these two libraries

implementation 'com.google.android.gms:play-services-auth:16.0.0'

Also, I found it crashes when you are using Picasso library, you might want to downgrade it or remove it all. it is already installed in the inappmessaging library

implementation 'com.squareup.picasso:picasso:2.71828'

Don't forget to change the

Picasso.get() to Picasso.with(getContext)

Now it builds fine... Though my answer needs more research from you guys...

Joseph Wambura
  • 2,732
  • 2
  • 21
  • 24