使用Java的Android SendGrid API [英] SendGrid API for Android using Java

查看:51
本文介绍了使用Java的Android SendGrid API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过深入研究,我无法在Android应用程序中集成和发送来自SendGrid的电子邮件.SendGrid具有用于发送电子邮件的Java API,但是在进行构建时,在Android Studio中添加依赖项会引发错误.另外,还有一个 Dany Santiyago在GitHub 中提供的库,但遗憾的是它也无法正常工作.抛出错误

Upon deep research, I was unable to integrate and send emails from SendGrid in the Android Application. SendGrid has Java API for sending emails but adding the dependency in Android Studio throws errors when a build is made. Also, there was a library by Dany Santiyago in GitHub but sadly it doesn't work too. It throws an error saying

发现有多个文件具有与操作系统无关的路径"META-INF/LICENSE"

More than one file was found with OS independent path 'META-INF/LICENSE'

我遵循了

I followed the guidelines in the question in Stack Overflow but again a new error came saying unable to merge dex. Please suggest a way to integrate SendGrid to the Android Application.

推荐答案

没有完美的解决方法,因为SendGrid没有Android API或SDK.

There is no perfect workaround as SendGrid doesn't have an Android API or SDK.

这篇关于使用Java的Android SendGrid API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆