jeudi 20 avril 2017

Reflection is not working with proguard, when accessing Google AdSize class Fields. Getting NoSuchFieldException

AdSize adSize = (AdSize) AdSize.class.getDeclaredField("BANNER").get(AdSize.class));

and this is the Field declared in AdSize class

public static final AdSize BANNER = new AdSize(320, 50, "320x50_mb");





Aucun commentaire:

Enregistrer un commentaire