I am converting an app for Amazon Appstore that currently runs just fine over Google Play. I am in the testing process and and getting a crash. The log looks like this:
/Users/jenkins/slaveroot/workspace/Templates/label/android/librtt/Corona/CoronaLibrary.lua:94: ERROR: Could not load provider (admob) due to the following reason: /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:820: module ‘CoronaProvider.ads.admob’ not found:resource (CoronaProvider.ads.admob.lu) does not exist in archive
I/Corona (16018): no field package.preload[‘CoronaProvider.ads.admob’]
I/Corona (16018): no file ‘(null)/CoronaProvider.ads.admob.lua’
I/Corona (16018): no file ‘(null)/CoronaProvider.ads.admob.lua’
I/Corona (16018): no file ‘/data/app-lib/com.steelmangames.lou.rpgsidekick-1/libCoronaProvider.ads.admob.so’
I/Corona (16018): no file ‘./CoronaProvider.ads.admob.so’
I am testing on a galaxy s3, the same device I used for testing for the GP version. What appears to be going on is that the module is not getting loaded into the Amazon store build, is that right? I haven’t changed any of the admob code, I just built it for the Amazon store.
I’ve been researching this and have been seeing some conflicting info, one of the things I have seen is that Corona doesn’t support the Amazon ads system. That is fine with me as long as I can use admob. I have also seen other people having trouble getting admob to work on a kindle.
Can you advise about what is causing the admob module not to be loaded? What is the Corona way to make this work?
Thanks in advance.