Cant press on my play button on menu after integrating admob?

Hey there and Merry Christmas!

I just finished my first app(yay!) and now i want to integrate the admob interstitial with the corona plugin.
Everything seems to be fine and when i open the game in the simulator everything works and the console shows it cant load the admob plugin in the simulator which makes sense.

But when i install the apk i can open every menu button except the play one which wont react at all.
I am initiating the ads from there so that might be the problem?

Could someone who has already been succesful in installing admob help me out please!

Regards,

Danny

@Danny,

That’s not enough info to help you.  We’ll need to see the code for your button and the ad code.

The only way any ad unit would block a button is if the ad were to display over the button.  Other than that, you’ve probably got an error associated with that button and the ad initiating code.  If your code threw an error during initialization, it may have caused the rest of your button creation/initialization code to skip execution.  i.e. If your touch setup is after the error, you’d have no touches set up for that button.

I suggest you look at the console output using log cat.  My guess is you’ll see one or more error messages that should help you find the problem.

See the ‘Android Devices’ section at the bottom of this article for more leads on using log cat: http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

@Danny,

That’s not enough info to help you.  We’ll need to see the code for your button and the ad code.

The only way any ad unit would block a button is if the ad were to display over the button.  Other than that, you’ve probably got an error associated with that button and the ad initiating code.  If your code threw an error during initialization, it may have caused the rest of your button creation/initialization code to skip execution.  i.e. If your touch setup is after the error, you’d have no touches set up for that button.

I suggest you look at the console output using log cat.  My guess is you’ll see one or more error messages that should help you find the problem.

See the ‘Android Devices’ section at the bottom of this article for more leads on using log cat: http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/