Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Admob plugin with Corona Enterprise
Started by DragonGameStudio Apr 17 2017 01:21 AM

6 replies to this topic
admob corona enterprise plugin
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

DragonGameStudio

[GLOBAL: userInfoPane.html]
DragonGameStudio
  • Enthusiast

  • 65 posts
  • Corona SDK

hello, 
is there any special file that need to be included when i am trying to use admob plugin with corona enterprise?

 

because whenever i build and run it on a device it keep telling me this
 

ERROR: Runtime error
module 'plugin.admob' not found:resource (plugin.admob.lu) does not exist in archive
no field package.preload['plugin.admob']

or 
 
any documentation about how to use admob plugin with corona enterprise?
 
thank you :)


[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

Have you bought the admob plugin? You still have to buy the plugin from corona marketplace and ask for a copy

https://marketplace.coronalabs.com/plugin/admob

[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,925 posts
  • Enterprise

Send an email to support AT coronalabs.com and ask them to send you the files.

 

Rob



[TOPIC: post.html]
#4

DragonGameStudio

[GLOBAL: userInfoPane.html]
DragonGameStudio
  • Enthusiast

  • 65 posts
  • Corona SDK

Send an email to support AT coronalabs.com and ask them to send you the files.

 

Rob

 

Thanks Rob, we mailed support over 24h ago but still no reply ..... And yes Scott, we bought the plugin, just didn't know you had to ask for a copy if you are using Enterprise   :)



[TOPIC: post.html]
#5

DragonGameStudio

[GLOBAL: userInfoPane.html]
DragonGameStudio
  • Enthusiast

  • 65 posts
  • Corona SDK

I already received the Admob Plugin from Corona Support, but I still get the same error when build using XCode... :(
On XCode, I already put the plugin on Linked Framework and Libraries on General tab, and also set Library Search Paths on Build Settings tab... Then I build it, but still got error...
I also try to build Samples code on the Admob Plugin, and still got same error,, :(

This is the error : 
 

2017-04-19 14:25:24.983 App[7577:96581] ERROR: Runtime error
module 'plugin.admob' not found:resource (plugin.admob.lu) does not exist in archive
  no field package.preload['plugin.admob']
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/corona-plugins/plugin/admob.lua'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin/admob.lua'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin/admob.lua'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/corona-plugins/plugin/admob.so'
  no file './plugin/admob.so'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin/admob.so'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/corona-plugins/plugin.so'
  no file './plugin.so'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin.so'plugin.admobluaopen_plugin_admob
stack traceback:
  [C]: in function 'require'
  ?: in function 'require'
  /Users/Panda/Documents/21 Truth od Dare/Code/ios/../Corona/main.lua:13: in main chunk
2017-04-19 14:25:24.984 App[7577:96581] Runtime Error: Runtime error: module 'plugin.admob' not found:resource (plugin.admob.lu) does not exist in archive
  no field package.preload['plugin.admob']
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/corona-plugins/plugin/admob.lua'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin/admob.lua'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin/admob.lua'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/corona-plugins/plugin/admob.so'
  no file './plugin/admob.so'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin/admob.so'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/corona-plugins/plugin.so'
  no file './plugin.so'
  no file '/Users/Panda/Library/Developer/CoreSimulator/Devices/2F337A93-16E6-465A-B01B-80C228764D1C/data/Containers/Bundle/Application/812E27FE-C6F2-4569-9314-9BDD21449AEE/App.app/plugin.so'plugin.admobluaopen_plugin_admob

stack traceback:
  [C]: in function 'require'
  ?: in function 'require'
  /Users/Panda/Documents/21 Truth od Dare/Code/ios/../Corona/main.lua:13: in main chunk


[TOPIC: post.html]
#6

ingemar_cl

[GLOBAL: userInfoPane.html]
ingemar_cl
  • Contributor

  • 673 posts
  • Alumni

It sounds like you've done everything correct.

 

However, for iOS, keep in mind that the libraries for device and simulator are split into two. 'iphone' contains the static libs for armv7 and arm64 (device), and 'iphone-sim' contains the static libs for i386 and x86_64 (Xcode simulator). You can use 'lipo' to join these libraries if you want...

 

I've sent you a PM with an Xcode project for reference that successfully builds for and runs on device.



[TOPIC: post.html]
#7

DragonGameStudio

[GLOBAL: userInfoPane.html]
DragonGameStudio
  • Enthusiast

  • 65 posts
  • Corona SDK

Dear ingemar_cl,

Thank you for your information and suggestion,, :)
It works now,,, :)
I'm sorry because I only test with XCode simulator before,,
After I did your suggestion for test on device it works,, :)

Thank you again ingemar_cl and all,, :)




[topic_controls]
[/topic_controls]