本文介绍了使用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

我遵循了,但又出现一个新错误,提示无法合并dex.请提出一种将SendGrid集成到Android应用程序的方法.

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 19:23