This article shows how to add admob banner in your libgdx game through robovm. https://github.com/libgdx/libgdx/wiki/Admob-in-libgdx It actually did.But when I open my game,admob banner will appear at the top of the view and can't be removed.That is a problem because I plan to use IAP to remove ad in my game.I have tried a lot of functions and they could not solve the problem. the functions include:
adview.setFrame(new CGRect(0, -bannerHeight, bannerWidth, bannerHeight));
adview.close();
adview.release();
adview.dispose();
adview.removeFromSuperview();
I have no idea now.can you help me? Thanks you in advance.