How to install email client on emulator

别来无恙 提交于 2019-12-13 00:44:19

问题


I have to build an email sending sending program and now i want to test it. but emulator is saying that "Their is no app to perform this action".

So how can i install gmail or some other email client on the emulator.

Thanks in advance.


回答1:


Open the Email app, and configure an account with it. Then you will be able to send email intents.




回答2:


Configure your Emulator with "Google API" rather than just choose "Android"




回答3:


You need to enable "Allow less secure apps: ON" in Sign-in & security settings in your gmail account before you use gmail account for Standard Email client in Android Emulator




回答4:


Using normal Gmail account from browser or Gmail app, from settings enable "install insecure applications" and the go to tab "Forwarding and POP/IMAP" and set "IMAP access enabled" then on theAVD use an IMAP account on the virtual device with your usual login and password but don't forget that when that fails to set the server to m.google.com. Worked for me.



来源:https://stackoverflow.com/questions/13107457/how-to-install-email-client-on-emulator

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