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

谁说胖子不能爱 提交于 2019-12-08 07:04:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!