问题
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.
Any help would be much appreciated guys. Thanks.
回答1:
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...
来源:https://stackoverflow.com/questions/51949598/inappmessaging-display17-0-0-createprocess-error-206-the-filename-or-extensio