[iOS & Android] AdMob Extension [2.1] [DEPRECATED]

Konig Studios

  • Posts: 76
So the problem surfaces when you use the AdMob and the Facebook extensions at the same time?

That is correct. When I disable the Facebook Extension, the Admob extension works perfect.

MurrayZero

  • Posts: 154
I have a problem with Admob.

Every time I export my Android game, is in a state of "compilation" and never leaves it. The CPU of my PC is idle up. And when I export the same game, only without any code from Admob, will normally.

And I've done the above tip dictates the Run> Clean Project, and it did not work!

QkyGames

  • Posts: 125
Hi,

I get this error...

 The following build commands failed:
[LOG]    Ld "build/Release-iphoneos/Extension Test.app/Extension Test" normal armv7
[LOG] (1 failure)

I use Stencyl 3.0 (OpenFL)

regards.
Maxi.

Abliblablobla

  • *
  • Posts: 524
@MurrayZero
It would be very helpful if you could post here the logs generated when you try to compile your game.

@QkyGames
I suppose you are trying to compile your game for iOS devices. Do you still get this error when running your game on the iOS simulator? And flash? It would be really helpful if you could post your full logs.
.: BuruBuru :.

QkyGames

  • Posts: 125
I am compiling the game for ios ... Publish -> Mobile -> iOS (xCode 4.2)
the error occurs while compiling the game.
flash version compiles perfect.


[LOG]     /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk "-L/Users/Maxi/stencylworks/games-generated/Extension Test/Export/ios/build/Release-iphoneos" "-L/Users/Maxi/stencylworks/games-generated/Extension Test/Export/ios/Extension Test/lib/armv7" "-F/Users/Maxi/stencylworks/games-generated/Extension Test/Export/ios/build/Release-iphoneos" -filelist "/Users/Maxi/stencylworks/games-generated/Extension Test/Export/ios/build/Extension Test.build/Release-iphoneos/Extension Test.build/Objects-normal/armv7/Extension Test.LinkFileList" -dead_strip -lstd -lregexp -lzlib -lcurl_ssl -lpng -ljpeg -lfreetype -logg -lvorbis -lnme -lstd -lregexp -lzlib -lcurl_ssl -lpng -ljpeg -lfreetype -logg -lvorbis -lnme -lads -lgamecenter -lpurchases -lnative -lmyadmob -lGoogleAdMobAds -lApplicationMain -stdlib=libc++ -v -fobjc-arc -force_load /Users/Maxi/stencylworks/games-generated/Extension Test/Export/ios/Extension Test/lib/armv7/libGoogleAdMobAds.a -miphoneos-version-min=5 -framework UIKit -framework OpenAL -framework OpenGLES -framework QuartzCore -framework CoreAudio -framework CoreGraphics -framework AudioToolbox -framework AVFoundation -framework Foundation -framework iAd -framework GameKit -framework StoreKit -framework SystemConfiguration -framework AdSupport -framework AVFoundation -framework AudioToolbox -framework SystemConfiguration -framework MessageUI -framework StoreKit -framework CoreGraphics -o "/Users/Maxi/stencylworks/games-generated/Extension Test/Export/ios/build/Release-iphoneos/Extension Test.app/Extension Test"
[LOG] Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed with exit code 1
[LOG]
[LOG]
[LOG] ** BUILD FAILED **
[LOG]
[LOG]
[LOG] The following build commands failed:
[LOG]    Ld "build/Release-iphoneos/Extension Test.app/Extension Test" normal armv7
[LOG] (1 failure)

« Last Edit: February 11, 2014, 06:11:10 am by QkyGames »

Konig Studios

  • Posts: 76
So the problem surfaces when you use the AdMob and the Facebook extensions at the same time?

That is correct. When I disable the Facebook Extension, the Admob extension works perfect.

@Abliblablobla
Any time frame on this fix?

Abliblablobla

  • *
  • Posts: 524
@Konig Studios
It would be helpful if you could provide me more details. For example, if you disable the Facebook extension does AdMob work? I have to reproduce your problem so that I can understand what is going wrong in your game. Are you able to reproduce your problem adding the Facebook extension to the sample game I have provided in the first post? If so, it would the most helpful thing!

@Qky Games
What version of Stencyl are you using? I see from the logs that you are compiling the project using Xcode 4.2 against iOS 5.0.
.: BuruBuru :.

QkyGames

  • Posts: 125
@Abliblablobla
I'm using Stencyl 3.0 (OpenFL), I download it 2 or 3 months ago.

Konig Studios

  • Posts: 76
@Konig Studios
It would be helpful if you could provide me more details. For example, if you disable the Facebook extension does AdMob work? I have to reproduce your problem so that I can understand what is going wrong in your game. Are you able to reproduce your problem adding the Facebook extension to the sample game I have provided in the first post? If so, it would the most helpful thing!

@Qky Games
What version of Stencyl are you using? I see from the logs that you are compiling the project using Xcode 4.2 against iOS 5.0.

@Abliblablobla
I have already stated in my post above that when I disable the Facebook extension, Admob works.

I tested with the sample game in the first post and still the same result. When the Facebook extension is enabled, it crashes when I tap the "Show Banner" button. When I disable the Facebook extension, Admob works fine when the "Show Banner" button is pressed.

Abliblablobla

  • *
  • Posts: 524
Thanks!
Now I have a point to start from, but it will require me some time to find what's wrong because I have to understand how the Facebook extension works.
.: BuruBuru :.

Konig Studios

  • Posts: 76
Thanks!
Now I have a point to start from, but it will require me some time to find what's wrong because I have to understand how the Facebook extension works.

Completely understandable. Thanks for the help. Let me know if you need anything else to move this along.

MurrayZero

  • Posts: 154
Well here's the logs, as I said, is when I'm trying to export the APK, and happens only in that I have a new extension of admob, which has no works perfectly!

[LOG] Building APK for Android.
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>set PLATPATH=C:\Program Files (x86)\Stencyl\plaf\
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>set HAXEPATH=C:\Program Files (x86)\Stencyl\plaf\haxe
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>set HAXE_LIBRARY=C:\Program Files (x86)\Stencyl\plaf\haxe\lib
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>set HAXE_LIB=C:\Program Files (x86)\Stencyl\plaf\haxe\lib
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>set PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Adobe\AGL\;C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program Files (x86)\Stencyl\runtimes\jre-win\bin;C:\Program Files (x86)\Stencyl\plaf\haxe;C:\Program Files (x86)\Stencyl\plaf\neko-win;
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>haxelib setup "C:\Program Files (x86)\Stencyl\plaf\haxe\lib"
[LOG] Please enter haxelib repository path with write access
[LOG] Hit enter for default (C:\Program Files (x86)\Stencyl\plaf\haxe\lib)
[LOG] haxelib repository is now C:\Program Files (x86)\Stencyl\plaf\haxe\lib/
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>haxelib run nme setup
[LOG] cd C:\Program Files (x86)\Stencyl\plaf\haxe\lib/nme/3,4,2/
[LOG] No setup is required for , or it is not a valid target
[LOG]
[LOG] D:\Documents\Stencyl\stencylworks\games-generated\BubbleRainAndroidFree>haxelib run nme build -release project.nmml android
[LOG] cd C:\Program Files (x86)\Stencyl\plaf\haxe\lib/nme/3,4,2/
[LOG] Called from ? line 1
[LOG] Called from InstallTool.hx line 599
[LOG] Called from InstallTool.hx line 119
[LOG] Called from installers/InstallerBase.hx line 109
[LOG] Called from installers/InstallerBase.hx line 1251
[LOG] Called from installers/InstallerBase.hx line 1358
[LOG] Called from /usr/lib/haxe/std/neko/_std/sys/io/File.hx line 36
[LOG] Uncaught exception - [file_contents,C:\Program Files (x86)\Stencyl\plaf\haxe\extensions/admob]

Abliblablobla

  • *
  • Posts: 524
Which version of Stencyl are you using?
.: BuruBuru :.


Abliblablobla

  • *
  • Posts: 524
Which version of Stencyl 3.0? NME or OpenFL?
.: BuruBuru :.