Fuse Plugin - error on android device

Hi,

My app builds fine for android but when I run it on a device I get the following error;

/Users/jenkins/slaveroot … init.lua:835: module ‘plugin.fuse’ not found: resource (plugin.fuse.lu) does not exist in archive 

no field package.preload[‘plugin.fuse’]

any ideas?

it used to work.

Can you post your build.settings?

Are you part of the Fuse beta?

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {

    orientation = {

            default = “portrait”,

            supported = { “portrait” }

    },

    plugins =

    {

        – share native popup

        [“CoronaProvider.native.popup.social”] =

        {

            publisherId = “com.coronalabs”

        },

        

        – facebook api, invite frds, etc

        [“plugin.facebook.v4”] =

        {

            publisherId = “com.coronalabs”

        },

        

        – corona allow notifications

        [“plugin.notifications”] =

        {

            publisherId = “com.coronalabs”,

        },

        

        – push notification provider

        [“plugin.OneSignal”] =

        {

            publisherId = “com.onesignal”,

        },

        

        – used by OneSignal, googles push infrastructure

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

        {

            publisherId = “com.coronalabs”,

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

        },

        

    },

  

    iphone = 

    {

            plist = 

            {

                UIBackgroundModes = {“remote-notification”},

                UIStatusBarHidden = false,

                UIPrerenderedIcon = true, – set to false for “shine” overlay

                – this setting must be false, because various plugins

                – put suspend the app while they do their business

                – then resume the app

                --UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend

                --facebookAppId =“165360666152xxxx”, – TEST

                FacebookAppID = “163291933359xxxx”,

                – iOS app URL schemes:

                – basically these are ways of invoking an app using a url

                – and can therefore be used to pass control between apps

                CFBundleURLTypes =

                {

                    {

                        CFBundleURLSchemes =

                        {

                            --facebookAppId =“fb165360666152xxxx”, – TEST

                            “fb163291933359xxxx”, – example scheme for facebook

                            --“coronasdkapp”, – example second scheme

                        }

                    }

                },

                

                

                – Whitelist Facebook Servers for Network Requests

                NSAppTransportSecurity = 

                {

                    NSExceptionDomains = 

                    {

                        [“fbcdn.net”] = 

                        {

                            NSIncludesSubdomains = true,

                            NSExceptionRequiresForwardSecrecy = false,

                        },

                        [“facebook.com”] = 

                        {

                            NSIncludesSubdomains = true,

                            NSExceptionRequiresForwardSecrecy = false,

                        },

                        [“akamaihd.net”] = 

                        {

                            NSIncludesSubdomains = true,

                            NSExceptionRequiresForwardSecrecy = false,

                        },

                    },

                },

                – Whitelist Facebook Apps

                LSApplicationQueriesSchemes = 

                {

                    “fb”,

                    “fbapi20130xxx”,

                    “fbapi20130xxx”,

                    “fbapi20140xxx”,

                    “fbapi20140xxx”,

                    “fbapi20150xxx”,

                    “fbapi20150xxx”,

                    “fbauth”,

                    “fbauth2”,

                    “fb-messenger-api20140xxx”,

                },

            }

    },

    android =

    {

        facebookAppId = “163291933359xxxx”,  

        --facebookAppId =“165360666152xxxx”, – TEST

            

        permissions =

        {

          { name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },

        },

        

        usesPermissions =

        {

          “android.permission.INTERNET”,

          “android.permission.GET_ACCOUNTS”,

          “android.permission.RECEIVE_BOOT_COMPLETED”,

          “com.google.android.c2dm.permission.RECEIVE”,

          “.permission.C2D_MESSAGE”,

        },

    },

   

}

I do not know if I was part of the beta, about 3 month a ago I emailed them and they set it up for me - so probably yes.

if there are instructions for the beta, send me the link and i will double check everything is still setup my side as it should be.

everything works great when i build for iOS on my Mac… the problem comes when i build on W7 for Android.

What happens if you try and build for Android from your Mac?

Rob

that works.

I’ve asked Engineering about this. But you can build for Android from OS-X, so do that for now.

One of the things that may be a problem is your network connection from your PC. If its going through a proxy (which Windows likes to do), it sometimes can’t reach the server to download the plugin.

Rob

thanks, I am using my Mac for both as you suggest. 

Can you post your build.settings?

Are you part of the Fuse beta?

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {

    orientation = {

            default = “portrait”,

            supported = { “portrait” }

    },

    plugins =

    {

        – share native popup

        [“CoronaProvider.native.popup.social”] =

        {

            publisherId = “com.coronalabs”

        },

        

        – facebook api, invite frds, etc

        [“plugin.facebook.v4”] =

        {

            publisherId = “com.coronalabs”

        },

        

        – corona allow notifications

        [“plugin.notifications”] =

        {

            publisherId = “com.coronalabs”,

        },

        

        – push notification provider

        [“plugin.OneSignal”] =

        {

            publisherId = “com.onesignal”,

        },

        

        – used by OneSignal, googles push infrastructure

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

        {

            publisherId = “com.coronalabs”,

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

        },

        

    },

  

    iphone = 

    {

            plist = 

            {

                UIBackgroundModes = {“remote-notification”},

                UIStatusBarHidden = false,

                UIPrerenderedIcon = true, – set to false for “shine” overlay

                – this setting must be false, because various plugins

                – put suspend the app while they do their business

                – then resume the app

                --UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend

                --facebookAppId =“165360666152xxxx”, – TEST

                FacebookAppID = “163291933359xxxx”,

                – iOS app URL schemes:

                – basically these are ways of invoking an app using a url

                – and can therefore be used to pass control between apps

                CFBundleURLTypes =

                {

                    {

                        CFBundleURLSchemes =

                        {

                            --facebookAppId =“fb165360666152xxxx”, – TEST

                            “fb163291933359xxxx”, – example scheme for facebook

                            --“coronasdkapp”, – example second scheme

                        }

                    }

                },

                

                

                – Whitelist Facebook Servers for Network Requests

                NSAppTransportSecurity = 

                {

                    NSExceptionDomains = 

                    {

                        [“fbcdn.net”] = 

                        {

                            NSIncludesSubdomains = true,

                            NSExceptionRequiresForwardSecrecy = false,

                        },

                        [“facebook.com”] = 

                        {

                            NSIncludesSubdomains = true,

                            NSExceptionRequiresForwardSecrecy = false,

                        },

                        [“akamaihd.net”] = 

                        {

                            NSIncludesSubdomains = true,

                            NSExceptionRequiresForwardSecrecy = false,

                        },

                    },

                },

                – Whitelist Facebook Apps

                LSApplicationQueriesSchemes = 

                {

                    “fb”,

                    “fbapi20130xxx”,

                    “fbapi20130xxx”,

                    “fbapi20140xxx”,

                    “fbapi20140xxx”,

                    “fbapi20150xxx”,

                    “fbapi20150xxx”,

                    “fbauth”,

                    “fbauth2”,

                    “fb-messenger-api20140xxx”,

                },

            }

    },

    android =

    {

        facebookAppId = “163291933359xxxx”,  

        --facebookAppId =“165360666152xxxx”, – TEST

            

        permissions =

        {

          { name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },

        },

        

        usesPermissions =

        {

          “android.permission.INTERNET”,

          “android.permission.GET_ACCOUNTS”,

          “android.permission.RECEIVE_BOOT_COMPLETED”,

          “com.google.android.c2dm.permission.RECEIVE”,

          “.permission.C2D_MESSAGE”,

        },

    },

   

}

I do not know if I was part of the beta, about 3 month a ago I emailed them and they set it up for me - so probably yes.

if there are instructions for the beta, send me the link and i will double check everything is still setup my side as it should be.

everything works great when i build for iOS on my Mac… the problem comes when i build on W7 for Android.

What happens if you try and build for Android from your Mac?

Rob

that works.

I’ve asked Engineering about this. But you can build for Android from OS-X, so do that for now.

One of the things that may be a problem is your network connection from your PC. If its going through a proxy (which Windows likes to do), it sometimes can’t reach the server to download the plugin.

Rob

thanks, I am using my Mac for both as you suggest.