Binding admob in moe

Hello, everyone. I am a new and ask for help when I have a problem. I dragged into framework in Xcode and generated code with nbc in androidstudio. It can be compiled successfully. But there was an error “+[GADMobileAds configureWithApplicationID:]: unrecognized selector sent to class 0x60000005c440 “in executing GADMobileAds.configureWithApplicationID (””). Please help me.thank you.xcode error

1 Like

Same issue :confused:
You have to use this

GADMobileAds.alloc().init();
GADMobileAds.configureWithApplicationID("…");

If still doesn’t work try adding

@Runtime(ObjCRuntime.class)
@ObjCClassName("[class_name]")
@RegisterOnStartup

to your binded class and remove the previous selector,
like this
09