The builder return Null when work with Admob

Hello, I have a problem when trying to build the sample code about Admob Ads from this link

https://github.com/coronalabs/plugins-sample-ads-admob

 

The builder return (null) :((

 

I have a URGENT project with Admob ads need to finish tmr, please help me. I used Version 2013.2100 (2013.12.7) Corona SDK

 

This is what happened in the Corona Terminal

 

http://s159.photobucket.com/user/luudui/media/ScreenShot2014-02-18at64328PM.png.html

 

 

if I removed this lines in  build.settings, it will work

 

 [“CoronaProvider.ads.admob”] =

        {

            – required

            publisherId = “com.coronalabs”,

        },

 

Please help me, plz plz plzzzzzz

 

Thank you

maybe if you also post the code that is reported to cause the error it will be easier for people to help you.

Hello Borgb, thanks for your reply I just used source from this linkhttps://github.com/coronalabs/plugins-sample-ads-admobI means I didn’t change anything, just extract it, replace publisherID and build, that’s all Plz help me, tell me if you need anything to find the reason, I wonder the reason is the new version of corona sdk?

if you are using a new corona version then:

:setReferencePoint

dosent work anymore, try removing any code that uses this and see if it works. I see its alot of those in the github code.

and I belive that the publisherId in buildsettings is to be left as “com.coronalabs”, but not sure about this? maybe someone else knows for sure.

edit:

Just checked and in build settings you have to have:

        [“CoronaProvider.ads.admob”] =

        {

           – required

            publisherId = “com.coronalabs”,

        },

Thanks for quick reply.

I have removed the setReferencePoint before cause when I run the source it warning the error at these lines have that code, also the builder still return null. So like you said, I need to replace the line “com.coronalabs” by another string, hope it work :slight_smile:

Also, thank you very much, I’ll update the status soon to you, friend

This is final update! After few hours with crazy feeling, I tried to reinstall Xcode and it work prefect @@, I have no idea about it. Thank you Borgb for your advice

maybe if you also post the code that is reported to cause the error it will be easier for people to help you.

Hello Borgb, thanks for your reply I just used source from this linkhttps://github.com/coronalabs/plugins-sample-ads-admobI means I didn’t change anything, just extract it, replace publisherID and build, that’s all Plz help me, tell me if you need anything to find the reason, I wonder the reason is the new version of corona sdk?

if you are using a new corona version then:

:setReferencePoint

dosent work anymore, try removing any code that uses this and see if it works. I see its alot of those in the github code.

and I belive that the publisherId in buildsettings is to be left as “com.coronalabs”, but not sure about this? maybe someone else knows for sure.

edit:

Just checked and in build settings you have to have:

        [“CoronaProvider.ads.admob”] =

        {

           – required

            publisherId = “com.coronalabs”,

        },

Thanks for quick reply.

I have removed the setReferencePoint before cause when I run the source it warning the error at these lines have that code, also the builder still return null. So like you said, I need to replace the line “com.coronalabs” by another string, hope it work :slight_smile:

Also, thank you very much, I’ll update the status soon to you, friend

This is final update! After few hours with crazy feeling, I tried to reinstall Xcode and it work prefect @@, I have no idea about it. Thank you Borgb for your advice