CoronaCards License on WP8 and build errors

Hi, I just installed CoronaCards and I’m trying to port an app from Corona SDK to CoronaCards so that it can run on Windows phone.

I’m getting error messages saying that the package ‘ads’ is not available. And also it says that I’m currently using a trial version. See log below.

I see in the CoronaCards buying page that CoronaCard for Windows is free. We don’t even have a ‘buy’ option nor a price. So why am I getting this trial notice when building de app?

Also, are the errors related to the trial version or I need to check something else?

Thank you.

Eric Chiesse.


Error log:

[CoronaCards Trial Notice]

   Corona is currently in trial mode. To obtain a valid license, please go here:

   http://coronacards.com/?utm_source=coronacards

The thread 0xc1c has exited with code 0 (0x0).

Runtime error

module ‘ads’ not found:

no field package.preload[‘ads’]

no file ‘C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\ads.lua’

no file ‘C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\Assets\Corona\ads.lua’

no file ‘C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\Assets\Corona\ads.lua’

no file ‘.\ads.lua’

no file ‘!\lua\ads.lua’

no file ‘!\lua\ads\init.lua’

no file ‘!\ads.lua’

no file ‘!\ads\init.lua’

no file ‘C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\ads.dll’

no file ‘.\ads.dll’

no file ‘C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\Assets\Corona\ads.dll’

no file ‘.\ads.dll’

no file ‘!\ads.dll’

no file ‘!\loadall.dll’

stack traceback:

[C]: in function ‘require’

?: in function ‘require’

C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\Assets\Corona\adsHelper.lua:1: in main chunk

[C]: in function ‘require’

?: in function ‘require’

C:\Data\Programs{D7C4DBDC-44FD-40DF-9DDC-3615142304A7}\Install\Assets\Corona\main.lua:1: in main chunk

The thread 0xeb8 has exited with code 0 (0x0).

The thread 0xf94 has exited with code 259 (0x103).

Hi @techiesse,

I think you’re using a very old version of CoronaCards. This product no longer requires a license to use with Windows Phone 8… it’s totally free.

Did you download CoronaCards from here?

http://developer.coronalabs.com/downloads/coronacards

Best regards,

Brent

Hi Brent,

I downloaded first from the pricing page (http://coronacards.com/pricing/).

It seems them that the download link there is not updated for a very long time. I found out that i actually downloaded a 2014 version.

I managed to get the latest build (no intuitive path for it, by the way, one have to figure out to click on “donwload trial”) but the problems with the ads are still happening. Same error messages.

Is there something else required in order to get the ‘ads’ package working with corona cards? Also, the same problem is happening with other plugins like ONESIGNAL. If I disable the ads package then runtime will complain about this other plugin.

In short, I get no trial message now but the ads package and other plugins are not getting loaded.

Thank you

CoronaCards does not support the “ads” library.  In fact, none of the Android or iOS plugins are supported.  And your “build.settings” file is ignored (that file is only used for builds via the Corona Simulator).  Please have a look at the following page for a list of Lua APIs supported…

   https://docs.coronalabs.com/daily/coronacards/wp8/support.html

And have a look at our porting guide via the link below.  I highly recommend that you read *all* of it.  It’ll prove quite useful to you.

   https://docs.coronalabs.com/daily/coronacards/wp8/portapp.html

So, if you want to integrate ads into your WP8 app, you’ll have to do that on the .NET side yourself.  But it’s not too bad.  If you search the WP8 forum here, you can see that plenty of Corona developers have done it.  The first thing you’ll need to learn in order to do this is how to communicate between Lua and .NET code.  We provide examples here…

   https://docs.coronalabs.com/daily/coronacards/wp8/communication.html

Regarding ads, most WP8 developers either use Microsoft’s ad network or Google AdMob.  Microsoft’s ad library comes with Visual Studio 2013 and is the easiest to integrate.  AdMob takes a bit more work, but another Corona developer @spacewolf was nice enough to write up a guide on how to do so here…

   http://www.spacewolfsoftware.com/blog/tutorial-add-admob-interstitial-ads-to-your-corona-windows-phone-8-app

Hi Joshua,

Thanks for the reply. This clarifies the whole situation.

And thanks for the links. I’ll study them when I have some time. By now I’ll disable these plugins for WP8 apps.

Best Regards.

Eric Chiesse.

Hi @techiesse,

I think you’re using a very old version of CoronaCards. This product no longer requires a license to use with Windows Phone 8… it’s totally free.

Did you download CoronaCards from here?

http://developer.coronalabs.com/downloads/coronacards

Best regards,

Brent

Hi Brent,

I downloaded first from the pricing page (http://coronacards.com/pricing/).

It seems them that the download link there is not updated for a very long time. I found out that i actually downloaded a 2014 version.

I managed to get the latest build (no intuitive path for it, by the way, one have to figure out to click on “donwload trial”) but the problems with the ads are still happening. Same error messages.

Is there something else required in order to get the ‘ads’ package working with corona cards? Also, the same problem is happening with other plugins like ONESIGNAL. If I disable the ads package then runtime will complain about this other plugin.

In short, I get no trial message now but the ads package and other plugins are not getting loaded.

Thank you

CoronaCards does not support the “ads” library.  In fact, none of the Android or iOS plugins are supported.  And your “build.settings” file is ignored (that file is only used for builds via the Corona Simulator).  Please have a look at the following page for a list of Lua APIs supported…

   https://docs.coronalabs.com/daily/coronacards/wp8/support.html

And have a look at our porting guide via the link below.  I highly recommend that you read *all* of it.  It’ll prove quite useful to you.

   https://docs.coronalabs.com/daily/coronacards/wp8/portapp.html

So, if you want to integrate ads into your WP8 app, you’ll have to do that on the .NET side yourself.  But it’s not too bad.  If you search the WP8 forum here, you can see that plenty of Corona developers have done it.  The first thing you’ll need to learn in order to do this is how to communicate between Lua and .NET code.  We provide examples here…

   https://docs.coronalabs.com/daily/coronacards/wp8/communication.html

Regarding ads, most WP8 developers either use Microsoft’s ad network or Google AdMob.  Microsoft’s ad library comes with Visual Studio 2013 and is the easiest to integrate.  AdMob takes a bit more work, but another Corona developer @spacewolf was nice enough to write up a guide on how to do so here…

   http://www.spacewolfsoftware.com/blog/tutorial-add-admob-interstitial-ads-to-your-corona-windows-phone-8-app

Hi Joshua,

Thanks for the reply. This clarifies the whole situation.

And thanks for the links. I’ll study them when I have some time. By now I’ll disable these plugins for WP8 apps.

Best Regards.

Eric Chiesse.