inappmessaging-display:17.0.0' CreateProcess error=206, The filename or extension is too long

422 Views Asked by At

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.

1

There are 1 best solutions below

0
On BEST ANSWER

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...