Admob does not work

mouflon

  • Posts: 28
Hello,

I am trying to get Admob to work on the android build of my latest game. Unfortunately, it just does not work. I tried installing the latest build (nightly), but when updating the game I just get a load of errors thrown up about sending actors to layers, which didn't happen in 3.1.

So I tried the include.nmml fix for 3.1 (http://community.stencyl.com/index.php/topic,34882.0.html)
But that just throws up this when attempting to run a debug build on android:

[LOG] -compile:
[LOG]     [javac] Compiling 18 source files to C:\Users\XXXX\AppData\Roaming\Stencyl\stencylworks\games-generated\PixelNinja\Export\android\bin\bin\classes
[LOG]     [javac] C:\Users\XXXX\AppData\Roaming\Stencyl\stencylworks\games-generated\PixelNinja\Export\android\bin\src\AdWhirl.java:77: AdRequest() has private access in com.google.ads.AdRequest
[LOG]     [javac]              AdRequest adRequest = new AdRequest();
[LOG]     [javac]                                    ^
[LOG]     [javac] C:\Users\XXXX\AppData\Roaming\Stencyl\stencylworks\games-generated\PixelNinja\Export\android\bin\src\AdWhirl.java:136: AdRequest() has private access in com.google.ads.AdRequest
[LOG]     [javac]             AdRequest adRequest = new AdRequest();
[LOG]     [javac]                                   ^
[LOG]     [javac] Note: Some input files use or override a deprecated API.
[LOG]     [javac] Note: Recompile with -Xlint:deprecation for details.
[LOG]     [javac] 2 errors
[LOG] BUILD FAILED

When will this be fixed? Will there be other support for ads? To be honest, I am finding the implementation side of adverts in both Flash and mobile versions difficult and buggy, making publication a real trial.

I am using the studio version which claims "Ad Support: iAd, AdMob, and more", but the program clearly doesn't deliver on those promises. If I can't make an app that supports paying ads, then I can't pay $199 a year for Stencyl!

rob1221

  • *
  • Posts: 9473
Stencyl had to update to support Google's changes, so you must use the the 3.2 beta to use Admob.  If your layer issue isn't fixed by the time you download 3.2 again, make a separate thread reporting it.

Abliblablobla

  • *
  • Posts: 524
I just want to add that when you install Stencyl 3.2 for the first time, you have to do a clean install of Stencyl. To do a clean install, delete/unistall your current version of Stencyl from your computer, download the latest private release and install it. It should fix your issue.

Quote
When will this be fixed?
This issue was fixed on June 20th. Many users are using the AdMob extension 3.0 (and other ads extension such as rob1221's Chartboost extension) without issues and earning money from them. If you are experiencing some issues, feel free to ask here on the forums as you did so that other people who are using those extension can help you!
.: BuruBuru :.