Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve constructor SendGrid(String, String) #2

Open
sandeepyohans opened this issue Oct 23, 2018 · 2 comments
Open

Cannot resolve constructor SendGrid(String, String) #2

sandeepyohans opened this issue Oct 23, 2018 · 2 comments

Comments

@sandeepyohans
Copy link

Hi! I'm using implementation 'com.sendgrid:sendgrid-java:4.3.0' in my android app. But there is no SendGrid constructor with two String parameters.

SendGrid sendgrid = new SendGrid( username, password );

I believe that these examples uses deprecated api and needs to be updated.

@sandeepyohans
Copy link
Author

I see that it is coming from the jar file:
implementation files('libs/sendgrid-0.1.2-jar.jar')

Can you provide a sample using implementation 'com.sendgrid:sendgrid-java:4.3.0' dependency instead?

@sandeepyohans
Copy link
Author

All I want to do is, send email from Android app using SendGrid API key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant