coronalabs / corona

Solar2D Game Engine main repository (ex Corona SDK)
https://solar2d.com/
MIT License
2.54k stars 273 forks source link

[LINUX]: runtime bug with admob #700

Open taikyrio opened 6 months ago

taikyrio commented 6 months ago

hey i got this bug when i want to implement admob i get this error

RROR: Runtime error /root/parts/solar2d/src/platform/resources/init.lua:964: module 'plugin_admob' not found: no field package.preload['plugin_admob'] no file '/home/acyd/snap/solar2d/x1/.Solar2D/Plugins/plugin_admob.lua' no file '/home/acyd/Documents/Solar2D Projects/rockstar 2/plugin_admob.lua' no file '/home/acyd/Documents/Solar2D Projects/rockstar 2/plugin_admob.lua' no file '/home/acyd/snap/solar2d/x1/.Solar2D/Plugins/plugin_admob.so' no file './plugin_admob.so' no file '/home/acyd/Documents/Solar2D Projects/rockstar 2/plugin_admob.so' no file '/home/acyd/snap/solar2d/x1/.Solar2D/Plugins/plugin_admob.so' no file './plugin_admob.so' no file '/home/acyd/Documents/Solar2D Projects/rockstar 2/plugin_admob.so' stack traceback: [C]: in function 'require' /root/parts/solar2d/src/platform/resources/init.lua:964: in function 'require' /home/acyd/Documents/Solar2D Projects/rockstar 2/main.lua:340: in main chunk

how can i fix it ? it only happens when i add admob if it's not added app works and everything in build.settings etc are setted up correctly i checked documentation and even used chatgpt if it would help but still same problem