Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Fuse Plugin - error on android device
Started by prographodeveloper Dec 11 2015 05:15 AM

9 replies to this topic
[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

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

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.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,300 posts
  • Enterprise

Can you post your build.settings?

 

Are you part of the Fuse beta?



[TOPIC: post.html]
#3

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

-- 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",
        },
    },
   
}


[TOPIC: post.html]
#4

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

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.



[TOPIC: post.html]
#5

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

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.



[TOPIC: post.html]
#6

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

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



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,300 posts
  • Enterprise

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

 

Rob



[TOPIC: post.html]
#8

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

that works.



[TOPIC: post.html]
#9

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,300 posts
  • Enterprise

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



[TOPIC: post.html]
#10

prographodeveloper

[GLOBAL: userInfoPane.html]
prographodeveloper
  • Contributor

  • 312 posts
  • Corona SDK

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




[topic_controls]
[/topic_controls]