Math2D Plugin does not exist in Android build

Hi guys,

Today I’m having problems with the Android build for my game. It kept giving me this runtime error “module: ‘plugin.math2d’ not found:resource(plugin.math2d.lu) does not exist in archive”.

It was working fine yesterday and there are no issues running the same build on the simulator and on iOS devices. 

I’m currently using build 2966 on my Mac. I tried running the latest corona build on my other laptop but the problem persists.   

Is the problem from my side or it has something to do with the build server?

** Problems resolved as of 1210 PST - 15 OCT 2016 **

@dylestorm,

That is my fault.  I’m updating the plugin to native and I must have messed something up.

First, let me say, " I sincerely apologize for any trouble this has caused you."

Second, I have a solution:

  1. Download math2d.lua here: https://github.com/roaminggamer/math2d_legacy

  2. Copy math2d.lua to your root folder (same as main.lua)

  3. Change your require statements from:

    require “plugin.math2d”

to:

require "math2d"
  1. In build.settings, comment out the plugins line for math2d:

    –[“plugin.math2d”] = { publisherId = “com.roaminggamer” },

Again, my most sincere apologies.  This is my fault and I’m working to rectify it.

-Ed M. (AKA The Roaming Gamer)

Note: Good post by the way.  

  1. You used the name of the plugin in the post title

  2. You elaborated on the issue w/o giving excessive detail.

  3. You told me your SDK build version (very important)

Thanks!

This problems has been resolved.

Builds with math2d should now work correctly.  

@roaminggamer

Thank you so much for the prompt reply and solution. The Android build of my game is working fine now. 

Cheers  :slight_smile:

** Problems resolved as of 1210 PST - 15 OCT 2016 **

@dylestorm,

That is my fault.  I’m updating the plugin to native and I must have messed something up.

First, let me say, " I sincerely apologize for any trouble this has caused you."

Second, I have a solution:

  1. Download math2d.lua here: https://github.com/roaminggamer/math2d_legacy

  2. Copy math2d.lua to your root folder (same as main.lua)

  3. Change your require statements from:

    require “plugin.math2d”

to:

require "math2d"
  1. In build.settings, comment out the plugins line for math2d:

    –[“plugin.math2d”] = { publisherId = “com.roaminggamer” },

Again, my most sincere apologies.  This is my fault and I’m working to rectify it.

-Ed M. (AKA The Roaming Gamer)

Note: Good post by the way.  

  1. You used the name of the plugin in the post title

  2. You elaborated on the issue w/o giving excessive detail.

  3. You told me your SDK build version (very important)

Thanks!

This problems has been resolved.

Builds with math2d should now work correctly.  

@roaminggamer

Thank you so much for the prompt reply and solution. The Android build of my game is working fine now. 

Cheers  :slight_smile: