Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

module 'plugin_bit' not found:resource (plugin_bit.lu) does not exist in archive
Started by a.gajewski6 Jul 26 2018 01:37 AM

3 replies to this topic
bulid windows android error
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

a.gajewski6

[GLOBAL: userInfoPane.html]
a.gajewski6
  • Observer

  • 2 posts
  • Corona SDK

My app works perfectly in the corona emulator, but the build on android nad PC have errors:

 

module 'plugin_bit' not found:resource (plugin_bit.lu) does not exist in archive
11:19:18.273  no field package.preload['plugin_bit']
11:19:18.273  no file '.\plugin_bit.lua'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\lua\plugin_bit.lua'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\lua\plugin_bit\init.lua'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\plugin_bit.lua'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\plugin_bit\init.lua'
11:19:18.273  no file '.\plugin_bit.dll'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\plugin_bit.dll'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\loadall.dll'
11:19:18.273  no file '.\plugin_bit.dll'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\plugin_bit.dll'
11:19:18.273  no file 'C:\Users\Aspire\Documents\Corona Built Apps\Memo Master.Win32\loadall.dll'
11:19:18.273  stack traceback:
11:19:18.273  [C]: in function 'require'
11:19:18.273  ?: in function 'require'
11:19:18.273  ?: in main chunk
11:19:18.273  [C]: in function 'require'
11:19:18.273  ?: in function 'require'
11:19:18.273  ?: in main chunk
11:19:18.273  [C]: in function 'require'
11:19:18.273  ?: in function 'require'
11:19:18.273  ?: in function 'loadScene'
11:19:18.273  ?: in function '?'
11:19:18.273  ?: in function 'dispatchEvent'
11:19:18.273  ?: in function '_nextTransition'
11:19:18.273  ?: in function <?:1494>
11:19:18.273  ?: in function 'gotoScene'
11:19:18.273  ?: in function '_onRelease'
11:19:18.273  ?: in function '?'
11:19:18.273  ?: in function '?'
11:19:18.273  ?: in function <?:190>
11:23:21.260  Application closed with exit code: 0
 
The game works fine on the menu and level select scenes, but when I chose the level those errors show up.
I'm using the Corona Simulator 2017.3184(2017.12.8).


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,743 posts
  • Corona Staff

Can you share your build.settings?



[TOPIC: post.html]
#3

a.gajewski6

[GLOBAL: userInfoPane.html]
a.gajewski6
  • Observer

  • 2 posts
  • Corona SDK

--
-- For more information on build.settings, see the Project Build Settings guide at:
-- https://docs.coronalabs.com/guide/distribution/buildSettings
--

settings =
{
	orientation =
	{
		-- Supported values for orientation:
		-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
		default = "portrait",
		supported = { "portrait", },
	},

	--
	-- Android section
	--
	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
		},
	},

	--
	-- iOS section
	--
	iphone =
	{
		xcassets = "Images.xcassets",
		plist =
		{
			UIStatusBarHidden = false,
			UILaunchStoryboardName = "LaunchScreen",
		},
	},

	--
	-- Plugins section
	--
	plugins =
	{

	},

	--
	-- Project section
	--
	excludeFiles =
	{
		-- Exclude unnecessary files for each platform
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,743 posts
  • Corona Staff

It appears you're trying to use the bit plugin, or some library you're using is trying to use the big plugin, but you never include it in build.settings. Please follow the documentation:

 

http://docs.coronalabs.com/plugin/bit/index.html

 

and that should solve your issue.

 

Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: bulid, windows, android, error