Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
admob plugin how to integrate it? — Gideros Forum

admob plugin how to integrate it?

anneMurielleanneMurielle Member
edited January 2014 in Bugs and issues
I'm trying to integrate the admob plugin to my app but I must have done something wrong because I could not do it running...

I did everything that was describe here: http://appcodingeasy.com/Gideros-Mobile/AdMob-plugin-for-Android

First error I've got in Eclipse:

"layout cannot be resolved or is not a field", same error message for id

(setContentView(R.layout.main);
FrameLayout layout = (FrameLayout)findViewById(R.id.layout_main);
)

for resolving these errors I've copied the file main.xml from the AdMobAndroid into my project res/layout... not sure that it was a good idea (isn't this file created automatically normally ?). Certainly adding it like that will hide some other problems because after that, the 2 errors have disapeared but I've got the following error:

E/AndroidRuntime(6290): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load admob: findLibrary returned null

that happens because of the line: System.loadLibrary("admob");

Does someone have an idea ? I don't know what to do anymore :(

Comments

Sign In or Register to comment.