use robolectric can't get admob ads

7 views
Skip to first unread message

徐志峰

unread,
Jul 24, 2019, 2:33:04 AM7/24/19
to Robolectric
Hi, 
  I had a problem for a long time, when I use robolectric framwork to test admob(google) ads, I run robolectric code in android stuido junit test,  but I can't get ads. I found robolectric can simulate test devices' environment, but when I use robolectric to request admob ads, I found admob ads don't callback any methods, so I want to ask you if robolectric can't support admob ads request. 
  Look forward for your feedback.
Reply all
Reply to author
Forward
0 new messages