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
but, unfortunately the old plugin version probably won't work with current Gideros version, so you would have to build .so files yourself as described here:
http://mobilepearls.com/labs/ndk-builder-in-eclipse/
Do I copy the file main.xml manually ?
I've copied the 2 .so file to the corresponding folder inside libs but I got the same error
https://www.facebook.com/lesptitboutchoux
I think last supported version was 2013.06 series
https://www.facebook.com/lesptitboutchoux