Error when app is launched

I got the following error when my app is launched in Android (5.0 and 6.0). Any idea of what is causing the error?

java.lang.RuntimeException: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ansca/corona/permissions/PermissionsServices;

Java Stack Trace:

plugin.facebook.v4.FacebookController.facebookInit(FacebookController.java:693)

plugin.facebook.v4.LuaLoader.invoke(LuaLoader.java:71)

com.ansca.corona.JavaToNativeShim.nativeResize(Native Method)

com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:372)

com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:374)

com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1612)

com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)

stack traceback:

C: in function ‘require’

/Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:835: in function ‘require’

?: in main chunk

 

 

 

My build settings for Android look:

usesPermissions =

          {

                “android.permission.INTERNET”,

                “com.android.vending.CHECK_LICENSE”,

                “android.permission.ACCESS_NETWORK_STATE”,

                “com.android.vending.BILLING”,

          },

my plugins:

           [“plugin.OneSignal”] =

            {

                publisherId = “com.onesignal”,

            },

            [“plugin.google.play.services”] =

            {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { iphone=true, android=true, [“android-kindle”]=true }

            },

            [“CoronaProvider.gameNetwork.apple”] =

            {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { iphone=true, [“iphone-sim”]=true },

            },   

            [“plugin.facebook.v4”] =

            {

              publisherId = “com.coronalabs”

            },            

            [“CoronaProvider.ads.iads”] =

            {

                publisherId = “com.coronalabs”,

                supportedPlatforms = { iphone=true }

            },

            [“plugin.google.iap.v3”] =

            {

                publisherId = “com.coronalabs”,

                supportedPlatforms = { android=true }

            },

I’m using Corona simulator v2015.2731

Hi oquesada,

The missing Java class that you’re seeing was added to Corona in daily build 2016.2828. If you upgrade your Corona version to the latest public release (2016.2906), this error should go away.

Looks like this is a bug on our end that this updated version of the Facebook-v4 plugin was even distributed to build 2015.2731.

Hi oquesada,

The missing Java class that you’re seeing was added to Corona in daily build 2016.2828. If you upgrade your Corona version to the latest public release (2016.2906), this error should go away.

Looks like this is a bug on our end that this updated version of the Facebook-v4 plugin was even distributed to build 2015.2731.